Chandra X-Ray Observatory (CXC)

Generating PDF Science Justification Files

Return to Proposer Page

SJ requirements

The Call for Proposals specifies that all science justification files meet the following requirements:

The CXC provides a LaTeX science justification template that meets all requirements, provided the LaTeX file is properly converted to pdf.

Converting LaTeX to PDF

If you use LaTeX for your PDF scientific justification, we recommend one of the two methods below to create a PDF that is crisp and readable for either screen viewing or printing.

Convert directly to pdf (recommended)

Use a latex installation which allows you to create PDF files directly from the .tex file (e.g. pdftex/pdflatex):

pdflatex sj_file.tex

The paper size of a pdf generated by pdflatex is determined by the page dimensions given in the .tex file.

Some installations of pdftex do not allow you to include postscript figures. In this case you might use the method below.

Convert from tex to dvi to ps to pdf

Use ps2pdf (preferably version 1.4 or higher) to convert a postscript file to PDF.

latex file.tex
dvips -Ppdf -G0 -o sj_file.ps sj_file.dvi
ps2pdf14 sj_file.ps sj_file.pdf

Please be advised that you need to properly configure both dvips and ps2pdf such that they produce letter sized documents, not A4.

Do not assume your system is properly configured. If your pdf margins aren't a consistent 1 inch on all sides, it is likely that either dvips or ps2pdf is configured to produce A4 by default, not that you have an error in the .tex file.

If you believe dvips is creating A4, the most reliable method to change it is to change the underlying configuration file with:

texconfig dvips paper letter
(this can be reversed after you make your SJ by replacing "letter" with "A4")

Some versions of dvips will allow you to set the paper size in the command, but be aware that some versions ignore it:

dvips -Ppdf -G0 -t letter -o sj_file.ps sj_file.dvi

If you believe ps2pdf is creating A4, you can change it with the following:

ps2pdf14 -sPAPERSIZE=letter sj_file.ps sj_file.pdf

Errors displaying DS9 figures

If you experience errors when displaying figures you produced with DS9:

Solution: Remake figure in DS9 and save as Postscript Level 1.

In the Print window choose Level 1 under the Postscript heading. At this point you should re-LaTeX your SJ following the directions above.

CXC logo

The Chandra X-Ray Center (CXC) is operated for NASA by the Smithsonian Astrophysical Observatory. 60 Garden Street, Cambridge, MA 02138 USA.   Email: cxcweb@head.cfa.harvard.edu Smithsonian Institution, Copyright © 1998-2012. All rights reserved.