- standard pdf and instructions: C:\Program Files\MiKTeX 2.9\doc\latex\testflow
- test .tex file: C:\Program Files\MiKTeX 2.9\tex\latex\testflow
The instructions are really good. My generated pdf looked great, except that the margins on the right and bottom were weird. The testflow_doc.txt instructions said the problem was most likely that some program (pdftex, DVIPS, or ghostscript) was set to default A4 instead of letter paper. In the end, I couldn't figure out why the margins are off, but below are all the steps I followed, even though it didn't seem to change anything.
DVIPS
I followed the changes for the dvips config file, which I found here:
- C:\Program Files\MiKTeX 2.9\dvips\config\config.ps
Ghostscript
I found the files here:
I found the files here:
- C:\Program Files (x86)\gs\gs9.02\lib\
- ps2pdf.bat
- my compatibility level was 1.4, so I didn't change it
- ps2pdfxx.bat
- I replaced the 2nd line with:
- echo -q -dSAFER -dNOPAUSE -dBATCH -sPAPERSIZE=letter -dPDFSETTINGS=/printer -dMaxSubsetPct=100 -dSubsetFonts=true -dEmbedAllFonts=true -sDEVICE#pdfwrite >"%TEMP%\_.at"2
pdftex
I found the file here
- C:\Program Files\MiKTeX 2.9\pdftex\config\pdftex.cfg
- the file says to run initexmf --edit-config-file pdftex, so I made the suggested changes to both files.
xdvi
I couldn't find the config file.
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.