|
|
How do I convert postscript to PDF for NSF proposals (on linux)? |
Summary so far with details below: [This is very much a work in progress!]
1. Make sure you have Ghostscript 6.0 or later
and tetex-dvips 1.0.6 or later.
2. Make sure that any figure postscript files use Type 1 fonts only
(I don't have a conversion plan yet if they don't!).
3. To convert file.dvi to an appropriate file.ps:
dvips -Ppdf -j0 -G0 -o file.ps file.dvi
4 To convert the resulting file.ps (large!) to file.pdf:
ps2pdf -dMaxSubsetPct=100 -dCompatibilityLevel=1.2 \
-dSubsetFonts=true -dEmbedAllFonts=true file.ps file.pdf
The general NSF instructions are: http://www.fastlane.nsf.gov/a1/pdfcreat.htm. rpm -q ghostscript rpm -q tetex-dvips
Here is what NSF has to say about Ghostscript:
<http://www.fastlane.nsf.gov/a1/pdfcreat.htm#Ghostscript 6.0 or higher> ps2pdf -dMaxSubsetPct=100 -dCompatibilityLevel=1.2 \
-dSubsetFonts=true -dEmbedAllFonts=true
It is important to configure dvips to use Type 1 fonts. The NSF
instructions to do this are http://www.fastlane.nsf.gov/a1/pdfcreat.htm#DVIPS. dvips -Ppdf -j0 -G0 -o file.ps file.dvi I've tried this on Linux with Ghostscript 6.0 and it produces pdf readable by the Adobe acroread viewer (AND by xpdf) with what appear to be embeddable type 1 fonts (there is still a discrepancy I'm checking). Ghostscript 6.0 rpms for Linux are available as ftp://ftp.cs.wisc.edu/ghost/aladdin/gs601/linux/ghostscript-6.01-1.i386.rpm and ftp://ftp.cs.wisc.edu/ghost/aladdin/gs601/linux/ghostscript-fonts-6.0-1.noarch.rpm (these links will no doubt be out of date by the time you read this; check http://www.cs.wisc.edu/~ghost/aladdin/ for the latest versions).
The ps2pdf page is
http://www.cs.wisc.edu/~ghost/aladdin/doc/Ps2pdf.htm. | |
| Some other (possibly) useful links [be careful---they go out of date quickly!]:
"Effective Scientific Electronic Publishing" at http://www.cl.cam.ac.uk/~mgk25/publ-tips.html "Using LaTeX to Create Quality PDF Documents for the World Wide Web" at http://www.math.uakron.edu/~dpstory/latx2pdf.html
| |
| [Append to This Answer] | |
| 2000-Apr-21 3:25pm |
| Previous: |
|
| Next: |
|
| ||||||||||