ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Sanjoy Mahajan <sanjoy@mrao.cam.ac.uk>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Roger Mason <rmason@esd.mun.ca>
Subject: Re: selectively turn off captions
Date: Sun, 02 Dec 2007 16:23:05 +0000	[thread overview]
Message-ID: <E1Iyraz-0000eP-00@skye.ra.phy.cam.ac.uk> (raw)
In-Reply-To: Your message of "Sat, 01 Dec 2007 09:45:24 -0330." <y65oddaa74j.fsf@minnie.esd.mun.ca>

> 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 : ntg-context@ntg.nl / 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
___________________________________________________________________________________


  parent reply	other threads:[~2007-12-02 16:23 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-29 15:13 Roger Mason
2007-11-29 16:15 ` Wolfgang Schuster
2007-11-29 18:28   ` Roger Mason
2007-11-29 22:17     ` Hans Hagen
2007-11-30  0:34       ` Mojca Miklavec
2007-11-30  8:09         ` Hans Hagen
2007-11-30 12:00       ` Roger Mason
2007-11-30 12:54         ` Hans Hagen
2007-11-30 13:11           ` Roger Mason
2007-11-30 14:23             ` Hans Hagen
2007-12-01 12:35               ` Roger Mason
2007-12-01 13:08                 ` Hans Hagen
2007-12-01 13:15                   ` Roger Mason
2007-12-01 14:05                     ` Jean Magnan de Bornier
2007-12-01 14:44                       ` Peter Münster
2007-12-01 19:00                       ` Roger Mason
2007-12-02  7:51                         ` Opening ConTeXt files in emacs [was : selectively turn off captions] Jean Magnan de Bornier
2007-12-02 16:23                     ` Sanjoy Mahajan [this message]
2007-11-30 14:27             ` selectively turn off captions Thomas A. Schmitz
2007-11-30 15:05               ` Roger Mason
2007-11-30 19:04                 ` Idris Samawi Hamid
2007-11-30 22:43                   ` luigi scarso
2007-12-01 11:03                   ` Roger Mason
2007-11-30 13:19       ` Wolfgang Schuster
2007-11-30 14:24         ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1Iyraz-0000eP-00@skye.ra.phy.cam.ac.uk \
    --to=sanjoy@mrao.cam.ac.uk \
    --cc=ntg-context@ntg.nl \
    --cc=rmason@esd.mun.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).