> I would like to create a directory (say, /usr/local/latex) containing
> "nonstandard"*style files. How do I ensure that*finds
> these style files?
> I use tcsh. If in .tcshrc, I write:
> setenv TEXINPUTS /usr/local/latex
>*cannot find even "standard" style files like article.cls (which
> are in various subdirectories of /usr/lib/tex/). How does one specify
> "To the current TEXINPUTS path, add /usr/local/latex"?
Assuming you're using teTeX (which is pretty standard for most Linux
distributions these days). Here's an excerpt from the docs.
\documentclass{article}
\begin{document}
\item Every user can change the {\ttfamily TEXINPUTS}
environment variable. Anyway, they should ensure that \teTeX
's own paths are searched, too. This can be done by putting
a colon in the beginning or at the end of the path or a
doubled colon in the middle. Such an empty path component
will be replaced by the default path.
Typical settings for \emph{csh} and \emph{tcsh} could be
\verb|setenv TEXINPUTS :~/TeX/mystyles|
or for \emph{bash} or \emph{sh}:
\verb|export TEXINPUTS=~/TeX/mystyles:|
\end{document}
See TETEXDOC.tex/.dvi for further details.
--
Consultant in Paediatric Intensive Care, St. George's Hospital, London, UK
Ph: +44 (0)181 725 1932 Fax: +44 (0)181 725 0089
** Smoking areas in restaurants are like peeing areas in swimming pools. **