Re: TeX-macro-global/--with-tex-input-dirs
David Kastrup <[email protected]>
| Newsgroups | gmane.emacs.auc-tex |
|---|---|
| Message-ID | <[email protected]> |
Ralf Angeli <[email protected]> writes: > * 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. Bing, your wish has been granted. This is now done via preview-default-preamble. > What would be needed in addition would be a way to specify the > different options preview.sty provides. Bing, your wish has been granted. preview-default-option-list exists now. > What could make trouble is stuff like \PreviewMacro if the file is > compiled outside of Emacs. Bing, your wish has been granted. Put stuff like that into prauctex.def in the way the documentation recommends. Looks like it is high time preview-latex get integrated into AUCTeX so that people take a look at it some time or other... But we'll still have to stuff preview.sty and its friends somewhere. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum