[OS X TeX] newbie question on fonts motivated by LaTeXiT
Maarten Sneep
maarten.sneep at xs4all.nl
Sat Oct 27 10:17:49 CEST 2007
On Oct 27, 2007, at 05:14, dan at geer.org wrote:
> Responding to various advice, I have modified both my .cshrc
> (for my tcsh interactive shell) and .profile (in case LaTeXiT or
> TeX uses that) to make the directory /usr/texbin come as the
> absolute first item in the search path for either shell. This
> explicitly overrides Fink's standard /sw/bin/init.csh and
> /sw/bin/init.sh which just as explicitly make /sw/bin and
> /sw/sbin come first in any $path. I have also deleted the
> file /sw/bin/xdv2pdf so that regardless of $path order it
> cannot be found which, nominally, makes putting /usr/texbin
> first in $path irrelevant.
>
> Nevertheless, LaTeXiT "Display last log" still reports
>
> sh: line 1: xdv2pdf: command not found
>
> despite both shells finding it in the right place
>
> csh% which xdv2pdf
> /usr/texbin/xdv2pdf
>
> sh-2.05b$ which xdv2pdf
> /usr/texbin/xdv2pdf
That is because LaTeXiT runs its tools in a minimal shell, where your
personal shell environment is never executed. Try setting the (Xe)LaTeX
tool in the LaTeXiT preferences to a shell script:
#!/bin/bash
echo "$PATH"
Best,
Maarten
------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/
More information about the macostex-archives
mailing list