auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] Auctex treats tex file as plain tex files


From: Damian
Subject: Re: [AUCTeX] Auctex treats tex file as plain tex files
Date: Mon, 22 Jun 2009 10:15:39 +0200

On Sun, Jun 21, 2009 at 4:57 PM, Ralf Angeli<address@hidden> wrote:
> * Damian (2009-06-18) writes:
>
>> I don't know why, but when I load a tex file, I see the syntax
>> highlighted and the mode in emacs reads PDFTex. But auctex seems to be
>> inactive. The keyboards shortcuts don't work when editing those files,
>> but they work well in the others.
>
> There is probably nothing in the file which AUCTeX recognizes as an
> indicator for LaTeX.  (I suppose you mean LaTeX, when you write "tex".)
> You can specify the mode with a file-local variable.  AUCTeX inserts a
> stanza with file-local variables (mainly for the sake of specifying the
> master file) if it is set up as described on the first page of its
> manual.  The stanza can be inserted manually by typing `C-c _'.  In that
> case you will likely have to modify the "mode:" line.
Yes I did that, but it didn't suffice. I had to reinitialize the mode
with C-c C-n. Also closing and opening again the file didn't work,
even if I close emacs.

Probably it is normal behavior, but it is quite annoying.

> --
> Ralf
>




reply via email to

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