Re: environment variable
Reinhard Kotucha <[email protected]>
| Newsgroups | gmane.comp.tex.tetex.general |
|---|---|
| Message-ID | <[email protected]> |
>>>>> "Harald" == Harald Hanche-Olsen <[email protected]> writes: > + Oliver Grewe <[email protected]>: | in our documents we have > often something like: > | > | \usepackage{$HOME/path...} > | > | or > | > | \input{$HOME/path...} > Ugh. > | Must we stay on tetex-1.0 or is there a possibility to teach | > tetex-3.0 to know environment-variables under UNIX? > You might be able to use the \everyjob token register. In > latex.ini, after the line with \input latex.ltx: > \everyjob\expandafter{\the\everyjob ...} > [...] > You need to rebuild formats after changing the .ini files, of > course. Don't change them in texmf-dist. Put copies in your > texmf or texmf-local tree and edit them instead. I recommend not to modify latex macros like \usepackage or \input at all, it certainly will lead to confusion in the future. There is no good reason to use env-vars in (la)tex. The most straightforward way in teTeX-3 is to put user files into $TEXMFHOME, which usually is $HOME/texmf. Reinhard -- ---------------------------------------------------------------------------- Reinhard Kotucha Phone: +49-511-4592165 Marschnerstr. 25 D-30167 Hannover mailto:[email protected] ---------------------------------------------------------------------------- Microsoft isn't the answer. Microsoft is the question, and the answer is NO. ----------------------------------------------------------------------------