help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: No TeX-master file recognized in CVS Emacs [was: reftex-citation doe


From: Sven Bretfeld
Subject: Re: No TeX-master file recognized in CVS Emacs [was: reftex-citation doesn't ask for pages]
Date: Tue, 22 May 2007 23:07:37 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

Hello to all

On Tue, May 22, 2007 at 09:20:47PM +0200, Sven Bretfeld wrote:

> Its seems that Emacs doesn't know about the master file and tries to
> run latex on the document shown in the buffer (therefore latex is
> missing the \begin{document}). I have no idea what the problem is. Was
> there a change in the CVS version that escaped my attention? Do I have
> to inform Emacs about the TeX-master in a different way now?  However,
> the file is parsed, because flyspell is on due to the "%%% mode:
> flyspell" line at the end. Only the line "%%% TeX-master: foo" seems
> to have no effect.

I've figured it out by experimenting. The problem was the bottom of
the file where emacs stores information for parsing. (I don't know the
exact nomenclature for these %%% lines). The following had worked
under Emacs 21:

%%% Local Variables: 
%%% mode: flyspell
%%% TeX-master: "habil"
%%% End: 

The second line starts flyspell automatically on loading the file, as
I once found out. Emacs from CVS on the other hand misses the line 

%%% mode: latex

although LateX is correctly recognized as the major mode). After I
replaced "flyspell" by "latex" it worked again. 

Thanks for pointing me to Emacs from CVS. It's stable as far as I can
tell, and it containes many useful new functions.





reply via email to

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