auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] Multifile pb: C-c C-c RET (that is latex) doesnot work


From: Z
Subject: Re: [AUCTeX] Multifile pb: C-c C-c RET (that is latex) doesnot work
Date: Thu, 10 Mar 2011 22:40:30 +0100

Thank you for your reply. My .emacs does has these three lines
...
(setq TeX-parse-self t) ; Enable parse on load.
(setq TeX-auto-save t) ; Enable parse on save.
(setq-default Tex-master nil) ; Query for master file
...

When I compile _part. tex with C-c C-c, Latex is executed, which never ever worked, it says
--------------
ERROR: LaTeX Error: Missing \begin{document}.
-------------
as like it doesnot yet know where is master-file. What's worse, M-x Tex-master-file does not exist as my command. (When I tap Tex- and tried to complete it with Tab-completion, it gives Texinfo-mode, it detects none of Tex-** command)

But my auctex should have been well installed since I have Preview and Command in menu bar.

Thank you for your ideas.


On Thu, Mar 10, 2011 at 10:22 PM, Ralf Angeli <address@hidden> wrote:
* address@hidden (2011-03-08) writes:

> I am a newbie to Auctex. My problem is about multifile with Auctex + Emacs.
> Anyone can explain me why the following does not work when I tape C-c C-c RET
> from _part.tex.

What do you mean with "does not work"?  That _part.tex is compiled
instead of _main.tex?  If this is the case, did you configure AUCTeX
as explained on the first page of the AUCTeX manual?  My guess would be
not, because otherwise you'd likely have

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

at the bottom of _main.tex.

--
Ralf










reply via email to

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