[OS X TeX] epstopdf

Piet van Oostrum piet at cs.uu.nl
Thu Sep 29 14:23:43 CEST 2005

>>>>> Ross Moore <ross at ics.mq.edu.au> (RM) wrote:

>RM>   ... but the construction makes for a very clumsy  Ghostscript pipe .

You will never see it, unless in debugging mode.

>RM> Using instead:
>RM>                  $OutputFilename =~ s/'/'\\''/g;

>RM> also works, producing:

>RM> * Ghostscript pipe: gs -q -sDEVICE=pdfwrite  - 
>RM> sOutputFile='A'\''B.pdf' - -c quit

>RM> which is a bit neater.

>RM> Is there any effective difference between these substitutions ?
>RM> That is, can you think of any situation where one fails
>RM> while the other works ?

They should be the same, as you are outside of quotes, and then "'" is the
same as \'.
Piet van Oostrum <piet at cs.uu.nl>
URL: http://www.cs.uu.nl/~piet [PGP 8DAE142BE17999C4]
Private email: piet at vanoostrum.org
------------------------- 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 macostex-archives mailing list