[OS X TeX] Plotting functions and $PATH in TeXShop
Richard Koch
koch at math.uoregon.edu
Sun Jan 15 22:33:43 CET 2006
Folks,
TeXShop has a preference which points to the TeX binary
folder. The default is /usr/local/tetex/bin/powerpc-apple-darwin-
current.
Unfortunately, this preference cannot be a list of locations because
TeXShop concatenates it with the name of the binary to call
the binary. For example, to typeset with pdflatex, TeXShop
typically calls /usr/local/tetex/bin/powerpc-apple-darwin-current/
pdflatex.
One way to add other search locations to $PATH when calling a
TeX binary is to create a new "engine". The default XeLaTeX engine
is
-------------------
#!/bin/tcsh
set path= ($path /usr/local/teTeX/bin/powerpc-apple-darwin-current /
usr/local/bin)
xelatex "$1"
-------------------
so by modifying the path to include /sw/bin and changing xelatex to
pdflatex
you'd have a TeX which knows about /sw/bin.
Other solutions like symbolic links suggested in this thread also
work; I suppose
a new preference in TeXShop would be nice.
Dick
koch at math.uoregon.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 Archive: http://tug.org/pipermail/macostex-archives/
More information about the macostex-archives
mailing list