auctex
[Top][All Lists]

## Re: [AUCTeX] debugging of multifile documents with TeX-next-error

 From: Ralf Angeli Subject: Re: [AUCTeX] debugging of multifile documents with TeX-next-error Date: Sun, 01 Jul 2007 23:49:28 +0200 User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux)

* Stefan Vollmar (2007-07-01) writes:

> I have a question regarding the debugging of multifile documents. My
> masterfile "something.tex" looks like this:
>
> \input{something_style}
> \begin{document}
> \include{something_title}
> \include{something_toc}
> \include{something_intro}
> ...
> \include{something_bib}
> \end{document}

Does the file contain a footer like the following?

%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End:

> when I "compile" the LaTeX document (from any of the included files;
> as described in the manual, this works as if I compiled the master
> document), a pdf file is created - more or less what I had in mind.
> However, I am looking for an efficient means to step through my files
> from LaTeX error/warning to the next using TeX-next-error (or
> something similar). When using this with my setup, I am indeed
> presented with a succession of error messages (very convenient),
> however, the cursor remains in my master file (see above). Ideally, I
> would like Emacs to display the corresponding latex source file with
> the cursor positioned next to the offending latex command/text.

This is working fine with vanilla Emacs and vanilla AUCTeX (both from
CVS).

I cannot say more about the bug since you did not provide a complete
example for reproducing it, did not use the error reporting
functionality provided by M-x TeX-submit-bug-report RET' and I do not

--
Ralf

`