General ⇒ Problem with ps2pdf
Problem with ps2pdf
When I compile a normal A4 document, the dvi and ps files are really A4, but the pdf file becomes something like letter (I'm not sure). But when I compile a beamer slide, also through a dvi and ps file, the format is correct... I want it to be correct all the time.
For now the only arguments to ps2pdf in my build profile is "%bm.ps"..
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Problem with ps2pdf
The complete command line arguments in the post-processing section for ps2pdf are as follows.
Code: Select all
-sPAPERSIZE=a4 -dSAFER -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile="%bm.pdf" -c save pop -f "%bm.ps"Best regards
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Problem with ps2pdf
I have the problem that TeXnicCenter does only create three profiles, not the profile LaTeX => PS => PDF. I don't know why. When I start the wizard it only asks me for the directory with my executables of the TeX-distribution and the path of my PostScript viewer, and then it says that it will create the three profiles LaTeX => DVI, LaTeX => PS and LaTeX => PDF...localghost wrote:You can try to rebuild all your profiles by starting TXC, pressing Alt+F7 an then starting the wizard.
Might I miss some software?
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Problem with ps2pdf
You need Ghostscript installed [1,2]. Take the current version 8.70 and perhaps GSview to view PS files directly (can be useful).Bozack wrote:[...] Might I miss some software?
[1] Ghostscript Ghostscript
[2] Ghostscript, Ghostview and GSview
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Problem with ps2pdf
After a couple of reboots, the TeXnicCenter wizard suddenly understood that it was supposed to do a LaTeX => PS => PDF profile, and then it suddenly worked again!
Conclusion, on a 64 bit vista system, don't use a 64 bit version of ghostscript, MikTeX (or TeXnicCenter??) doesn't understand that it's there...