[OS X TeX] How to make TeXShop aware of TEXINPUTS variable
Gerben Wierda
sherlock at rna.nl
Wed May 1 11:11:16 EDT 2002
On Wednesday, May 1, 2002, at 03:57 , Henrik Holm wrote:
> only if (pdf)latex is run from a terminal. Is it possible to
> make TeXShop aware of this environment variable?
Yes, I recall there is a way to add environment stuff to the default
environment any/all GUI app gets. I strongly advice against this,
though, as it is a nightmare for application developers such as I am to
support applications that can be influenced by the environment if we
cannot trust the environment to be sane.
One solution is to ask Richard to add environment settings to TeXShop :-)
For the time being, I suggest that you change /Library/teTeX/texmf.cnf
instead. Add these lines:
TEXINPUTS.pdflatex = .;./fig;$TEXMF/{pdftex,tex}/{latex,generic,}//
TEXINPUTS.latex = .;./fig;$TEXMF/tex/{latex,generic,}//
These will override the default settings for tex searching of files when
you run pdflatex or latex. If you want to change for other programs,
look in /Library/teTeX/share/texmf/web2c/texmf.cnf for details.
If this does not work, contact me off list, as it then must be I do not
understand something about TeX file searching.
Gerben
-----------------------------------------------------------------
To UNSUBSCRIBE, send email to <info at email.esm.psu.edu> with
"unsubscribe macosx-tex" (no quotes) in the body.
For additional HELP, send email to <info at email.esm.psu.edu> with
"help" (no quotes) in the body.
-----------------------------------------------------------------
More information about the MacOSX-TeX
mailing list