On Sat, Dec 01, 2007 at 03:05:33PM +0100, Jean Magnan de Bornier wrote:
> Le 01 décembre à 14:15:24 Roger Mason <[EMAIL PROTECTED]> écrit notamment:
> 
> | The file name being compiled is main.ctx.tex.  I'm using the dual
> | extension .ctx.tex as a way of telling my editor (emacs) to invoke the
> | context mode of AUCTeX when I load a file with that extension.
> 
> Well, AucTeX does recognize a LaTeX file from a ConTeXt file; no need for 
> that!

It seems to me, only if there is a "\starttext" in the file.

For files without "\starttext" you can put these lines at the end:

%%% Local Variables: 
%%% mode: context
%%% End: 

I don't need that no more, since I use
'(TeX-default-mode (quote context-mode))

Cheers, Peter

-- 
http://pmrb.free.fr/contact/
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to