> 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.

Auctex automatically recognizes plain tex vs latex vs context files by
the first few lines in the file.  

The main time when that method does not work is when starting a new
file.  Since almost every tex file I make these days is a ConTeXt
file, I set the default for that case by using this .emacs line:

(setq TeX-default-mode 'context-mode)

-Sanjoy

`Not all who wander are lost' (J.R.R. Tolkien)
___________________________________________________________________________________
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