[EMAIL PROTECTED] wrote:
I have a custom sty that I need to use and read about adding to the
Latex search path. In my .bashrc I now have

export TEXINPUTS=".:~/latex/styles//:"

and a sty file in that dir.
I think this sets where TeX looks for source files.
Lyx can't find it though. I get "Latex
error: can't find file StuS13.sty". Is there something else I need to
do?
You LaTeX distribution should set up a local tree for you. In my case, it's 
~/texmf/. What path this is is set in the texmf.cnf file, viz: TEXMFHOME = 
$HOME/texmf. You can change this if you want.

Note that your tree here should be structured like your main TeX tree. So I put 
my custom style files into $TEXMFHOME/tex/latex/heck/; bst files undero 
$TEXMFHOME/tex/bibtex/; and so forth.

And finally, you need to run texhash whenever you add or remove anything.

Richard



--
==================================================================
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==================================================================
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto

Reply via email to