Re: rel-0-8-1; Default options are always used, even when package is loaded
David Kastrup <[email protected]> Mon, 21 Feb 2005 16:18:04 +0100
| Newsgroups | gmane.emacs.latex.preview.devel |
|---|---|
| Message-ID | <x5fyzq9c2b.fsf__27292.3512304716$1109001083$gmane$org@lola.goethe.zz> |
Frank K=FCster <[email protected]> writes: > Remember to cover the basics. Including a minimal LaTeX example > file exhibiting the problem might help. > > I am working on a large, multifile document. In the master file, > preview.sty is called just before \begin{document}: > > ,---- > | %% Preview > | \usepackage[footnotes,graphics,floats,textmath,displaymath]{preview} > | \PreviewEnvironment[{[]{}}]{tabular} > | \PreviewEnvironment[{[]{}{}}]{tabularx} > | \PreviewEnvironment[{}{}]{dilution} > | \PreviewEnvironment[{}{}]{buffer} > | % always load preview last! > |=20 > |=20 > | \begin{document} > `---- > > After this, a couple of files are \include'd, and the first of these > consists mainly of \input commands. > > I am actually working on one of the \input' files, and > preview-document (or preview-buffer) tries to render sectioning > commands. This doesn't work (I don't complain about that; I'm using > non-standard sectioning commands here, from my labook.cls), but it > shouldn't occur with > > \usepackage[footnotes,graphics,floats,textmath,displaymath]{preview} > > What seems to happen is that preview-latex uses the Default Option > list although the package is loaded. > > This used to work before; I think it simply didn't try to render my > sectioning commands, but I am not sure about that - perhaps it tried > and succeeded. This does not sound probable. Take a look at the run buffer (available with C-c C-l) and you get to see what commands LaTeX is called with. Take a look at _region_.tex, and you see the file. Maybe you edited the file without preview-latex noticing for some strange reason (it should detect fiddling with the preamble), and the cached format was not regenerated? Does it help to explicitly regenerate with C-c C-p C-f, or by turning the caching off explicitly with C-c C-p C-c C-f ? Anyway, you should find most relevant information in the run buffer. --=20 David Kastrup, Kriemhildstr. 15, 44793 Bochum ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ preview-latex-bugs mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/preview-latex-bugs ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click