auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX] preview-latex and latex document in many files


From: Ralf Angeli
Subject: Re: [AUCTeX] preview-latex and latex document in many files
Date: Mon, 15 Feb 2010 16:56:10 +0100

* Nathan Hüsken (2010-02-15) writes:

> I have my latex document ordered like this:
>
> /master.tex:
> /chapters/chap1.tex
> /chapters/chap2 ...
>
> and in master.tex I do /include{chapters/chap1} ...
>
> Now, if I let prview-latex generate previews in master.tex, the previews
> are fine and also exist in the chapters.
>
> If I go into a chapter and generate previews, I get something like this:
[...]
> ! Emergency stop.
> <*> ...review}[2004/11/05]\fi} \input _region_.tex
>                                                  
> !  ==> Fatal error occurred, no output PDF file produced!

I cannot reproduce this when starting Emacs with
emacs -Q -l auctex -l preview-latex subdir/slave.tex
and typing `C-c C-p C-d'.  I've used the following file contents:

,----[ master.tex ]
| \documentclass{article}
| 
| \begin{document}
| foo $1+1=2$ bar
| 
| \include{subdir/slave}
| \end{document}
| 
| %%% Local Variables: 
| %%% mode: latex
| %%% TeX-master: t
| %%% End: 
`----

,----[ slave.tex ]
| baz $2+2=4$ blu
| 
| %%% Local Variables: 
| %%% mode: latex
| %%% TeX-master: "../master"
| %%% End: 
`----

Tested with development versions of Emacs and AUCTeX.

-- 
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]