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:
> It is LaTeX that figures out whether preview.sty needs to get loaded
> explicitly.  LaTeX can't fiddle with TEXINPUTS.  We'd probably have to
> pass the directory information in some manner to preview.sty.

How about a different naming scheme for pr*.def internal to AUCTeX?
Say, auc_pr*.def, in auc_preview.sty:
-------------------
\DeclareOption*
   {\InputIfFileExists{auc_pr\CurrentOption.def}{}{\OptionNotUsed}}
-------------------
Now we can fiddle with TEXINPUTS...
We can still have a preview.sty that is intended for standalone
distribution. I imagine doctex can handle this straightaway.

/JÅ

-- 
Unix, MS-DOS, and Windows NT 
(also known as the Good, the Bad, and the Ugly).
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.