Re: TeX-macro-global/--with-tex-input-dirs
Jan-Ake Larsson <[email protected]>
| Newsgroups | gmane.emacs.auc-tex |
|---|---|
| Message-ID | <[email protected]> |
David Kastrup wrote:
> b) load our preview.sty with an explicit path. In this case, it will
> not be easy for our preview.sty to find the files like prlabels.def
> for its own options.
b) Can't we hardcode the installation directory? Hummmmm. Not in
XEmacs, probably, since this is most easy to do at configure time. Not
at XEmacs-package install time. Something like
-------------------
\DeclareOption*
{\InputIfFileExists{@TEXINSTALLDIR@pr\CurrentOption.def}{}{\OptionNotUsed}}
-------------------
> a) fiddle with TEXINPUTS. In this case, our extension files
> prlabels.def and similar will be found by the foreign preview.sty even
> when calling it with an explicit path.
a) How about fiddling with TEXINPUTS only if our preview.sty is to be
loaded?
/JÃ
--
`When you say "I wrote a program that crashed Windows", people just stare at
you blankly and say "Hey, I got those with the system, *for free*".'
Linus Torvalds