Home Support FAQ How to pass parameters to ps2pdf running as postprocessor?
|
How to pass parameters to ps2pdf running as postprocessor? |
|
|
|
This is a hint from Vincent Bain.
I wanted to produce PDF files from TXC using a profile "LaTeX => PS=> PDF". Instead of distiller, I tried to create the PDF from PS with ghostscript, using the ps2pdf executable.
Concerning the syntax proper to ps2pdf, one should be warned: The default argument "%bm.ps" corresponds to the cmd line "ps2pdf file1.ps file1.pdf" (where file1 is the name of the PS file in the current directory)
As an example, if I want to pass the cmd line
ps2pdf -dProcessColorModel=/DeviceCMYK file1.ps file1.pdf
working on Windows, I have to turn "=" into "#", and I do have to specify the output file name. Then the syntax would be
ps2pdf -dProcessColorModel#/DeviceCMYK "%bm.ps" "%bm.pdf"
|
|
Related Sites
powered by

official support by

|