* 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


_______________________________________________
auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex

Reply via email to