From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/37649 Path: news.gmane.org!not-for-mail From: Sanjoy Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: selectively turn off captions Date: Sun, 02 Dec 2007 16:23:05 +0000 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1196612633 24226 80.91.229.12 (2 Dec 2007 16:23:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 2 Dec 2007 16:23:53 +0000 (UTC) Cc: Roger Mason To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Dec 02 17:24:01 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1Iyrbr-0003Bm-PV for gctc-ntg-context-518@m.gmane.org; Sun, 02 Dec 2007 17:23:59 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 46A321FCDD; Sun, 2 Dec 2007 17:23:40 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 31449-01-5; Sun, 2 Dec 2007 17:23:21 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 276331FCC7; Sun, 2 Dec 2007 17:23:21 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 33B3E1FCBD for ; Sun, 2 Dec 2007 17:23:14 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 31449-01-4 for ; Sun, 2 Dec 2007 17:23:08 +0100 (CET) Original-Received: from mraos.ra.phy.cam.ac.uk (mraos.ra.phy.cam.ac.uk [131.111.48.8]) by ronja.ntg.nl (Postfix) with ESMTP id 07BBA1FCB1 for ; Sun, 2 Dec 2007 17:23:05 +0100 (CET) Original-Received: from skye.ra.phy.cam.ac.uk ([131.111.48.158] ident=mail) by mraos.ra.phy.cam.ac.uk with esmtp (Exim 4.43) id 1Iyraz-00078q-Ch; Sun, 02 Dec 2007 16:23:05 +0000 Original-Received: from sanjoy by skye.ra.phy.cam.ac.uk with local (Exim 3.36 #1) id 1Iyraz-0000eP-00; Sun, 02 Dec 2007 16:23:05 +0000 In-Reply-To: Your message of "Sat, 01 Dec 2007 09:45:24 -0330." X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:37649 Archived-At: > 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 ___________________________________________________________________________________