[OS X TeX] Problem for EPS -> PDF conversion with TeXShop 1.35
Claus Gerhardt
claus.gerhardt at urz.uni-heidelberg.de
Thu Sep 2 06:52:24 EDT 2004
Whenever a shell script is envoked to act on a file it has to be fed
either the full path of the file or the working directory has to be
changed to file's directory and then the file name has to be given as
an input. If all names would comply with the unix convention then this
would be rather straight forward. However, the ability of OS X to use
non-unix file and directory names makes the name feed to shell scripts
a non-trivial problem.
One of the tasks of the applescripts is to provide this name feed. To
feed non-unix names to shell scripts I used special quotes for the
names and created a variable fileNamequoted, cf., e.g., the script
pdflatexc. As far as I know Dick then used this method too for TeXShop
internal scripts like the behaviour Bruno described. If this is now
broken in 1.35 then the name feeding for TeXShop internal scripts must
have been changed for reasons I don't know. I am sure Dick can rectify
this; in the meantime I recommend to use my droplet epstopdf.
Claus
On 02.09.2004, at 08:07, Bruno Voisin wrote:
> Le 2 sept. 04, à 01:49, Claus Gerhardt a écrit :
>
>> Spaces in directory names have never been a problem for shell or
>> applescripts in TeXShop by using the variable fileNamequoted - look
>> in any typesetting script.
>
> Claus,
>
> What do you mean here? Is it your scripts that are involved when an
> EPS file is dragged onto TeXShop, instead of epstopdf and
> epstopdfwrap? Do you mean that there should be no problem, and that
> what I report must be specific to my setup, a misconfiguration of some
> sort? What is fileNamequoted? I don't use scripts myself (AppleScript
> or else), only those that are necessary for teTeX setup (updmap,
> mktexlsr, etc.) or that are invoked automagically by applications
> (like epstopdf by TeXShop -- or so I thought -- when an EPS file is
> dragged on it, or ps2pdf for a PS file, dvipdfm for a DVI file, or
> pstopdf for a PS or EPS file by Preview.app).
>
> Bruno
>
> --------------------- 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 Post: <mailto:MacOSX-TeX at email.esm.psu.edu>
>
>
--------------------- 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 Post: <mailto:MacOSX-TeX at email.esm.psu.edu>
More information about the MacOSX-TeX
mailing list