Re: TeX-macro-global/--with-tex-input-dirs
David Kastrup <[email protected]>
| Newsgroups | gmane.emacs.auc-tex |
|---|---|
| Message-ID | <[email protected]> |
Jan-Ake Larsson <[email protected]> writes: > 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. I don't like it since it means that users can't just copy the preview-latex files from the AUCTeX directory into their local TeX path if they want to have an up-to-date copy of them. Anyway, we still have some time for figuring this out. I guess the first iteration of AUCTeX+preview-latex might still install into the TeX tree. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum