Re: TeX-macro-global/--with-tex-input-dirs
Ralf Angeli <[email protected]>
| Newsgroups | gmane.emacs.auc-tex |
|---|---|
| Message-ID | <[email protected]> |
* David Kastrup (2005-01-15) writes:
> Well, we can't really detect where to install preview.sty and friends
> in that manner: that needs to get done at installation time. So we
> better not rip out everything until after the merge.
>
> What we will probably have to do at some point of time is the
> following:
>
> 1) install preview.sty and stuff somewhere in the Emacs tree and and
> then do either
>
> a) adjust TEXINPUTS appropriately
>
> b) do our own \RequirePackage command including the complete path.
>
> If we do b) that has the disadvantage that placing
> \usepackage{preview} in the document will probably load a different
> file. If we do a) that has the disadvantage that compiling TeX files
> might cause different results from inside of Emacs and outside.
I like the idea that one does not have to put a "\usepackage{preview}"
into the document. What would be needed in addition would be a way to
specify the different options preview.sty provides. What could make
trouble is stuff like \PreviewMacro if the file is compiled outside of
Emacs.
--
Ralf