[OS X TeX] TeXniscope problem

Alain Matthes alain.matthes at mac.com
Mon May 15 02:13:54 EDT 2006

Le 14 mai 06 à 14:43, Michael Hoppe a écrit :

>> With  pdftricks  there is no such problem.
>> Because each environment has been made as a separate
>> image, it can be processed by other utilities; e.g.  pdfcrop .
> But that's true for pst-pdf as well: my usual workflow contains
>     echo \r ; ps2pdf $texRun(jobName)-pics.ps $texRun(jobName)- 
> pics.pdf 2>&1 ; \
>     echo \r ; pdfcrop $texRun(jobName)-pics.pdf ; \
>     echo \r ; mv $texRun(jobName)-pics-crop.pdf $texRun(jobName)- 
> pics.pdf ; \
>     echo \r ; rm $texRun(jobName)-pics.ps $texRun(jobName).dvi ; \
>     echo \r ; pdflatex $texRun(jobName).tex"


  My english language is very poor and perhaps i don't understand  
very well

ps4pdf is obsolete; use pst-pdf instead ????

I use pst-pdf everyday with pdflatex but with the first compilation i  
need to use ps4pdf :

the four last lines of a old ps4pdf are :

myexec latex "$file"
myexec dvips -Ppdf -o "$job-pics.ps" "$job.dvi"
myexec ps2pdf -dAutoRotatePages=/None "$job-pics.ps" "$job-pics.pdf"
myexec pdflatex "$file"

To use pst-pdf it is necessary to use a script to compile:
     Ps4pdf or another thing; Pst-pdf does not replace Ps4pdf
it's independant.

In my last ps4pdf i have :

myexec latex "$file"
test -f "$job.dvi" && myexec dvips -Ppdf -o "$job-pics.ps" "$job.dvi"
test -f "$job-pics.ps" && myexec ps2pdf \
   -dAutoRotatePages=/None "$job-pics.ps" "$job-pics.pdf"
if $crop; then
   myexec pdfcrop "$job-pics.pdf" "$job-pics-crop.pdf"
   mv "$job-pics-crop.pdf" "$job-pics.pdf"
myexec pdflatex "$file"

pdfcrop is used ! and it's like your workflow !!


Alain Matthes

------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/

More information about the MacOSX-TeX mailing list