From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/85876 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?Peter_M=C3=BCnster?= Newsgroups: gmane.comp.tex.context Subject: Re: ConTeXt with Emacs Date: Fri, 10 Jan 2014 22:37:38 +0100 Message-ID: <8738kvy0v1.fsf@micropit.couberia.selfip.net> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1389389859 25263 80.91.229.3 (10 Jan 2014 21:37:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 10 Jan 2014 21:37:39 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Jan 10 22:37:45 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1W1jlx-00019F-MB for gctc-ntg-context-518@m.gmane.org; Fri, 10 Jan 2014 22:37:45 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D6FDB101E8; Fri, 10 Jan 2014 22:37:44 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Myr9gnuJuEvj; Fri, 10 Jan 2014 22:37:43 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 8AE5B101E2; Fri, 10 Jan 2014 22:37:43 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A8B84101E2 for ; Fri, 10 Jan 2014 22:37:41 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id AE0maIRR5+BC for ; Fri, 10 Jan 2014 22:37:40 +0100 (CET) Original-Received: from filter3-utr.mf.surf.net (filter3-utr.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id 528CA101DE for ; Fri, 10 Jan 2014 22:37:40 +0100 (CET) Original-Received: from smtp.smtpout.orange.fr (smtp06.smtpout.orange.fr [80.12.242.128]) by filter3-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s0ALbdGe023253 for ; Fri, 10 Jan 2014 22:37:39 +0100 Original-Received: from micropit.couberia.selfip.net ([2.14.207.160]) by mwinf5d11 with ME id CMde1n00F3UAPMe03MdeD1; Fri, 10 Jan 2014 22:37:39 +0100 Original-Received: by micropit.couberia.selfip.net (Postfix, from userid 1000) id 37C80A60CD6; Fri, 10 Jan 2014 22:37:38 +0100 (CET) Mail-Followup-To: mailing list for ConTeXt users In-Reply-To: (Fabrice Couvreur's message of "Fri, 10 Jan 2014 19:52:52 +0100") User-Agent: Gnus/5.130008 (=?utf-8?Q?=E7=9C=9F?= Gnus v0.8) Emacs/24.3.50 (gnu/linux) X-Bayes-Prob: 0.0024 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=80.12.242.128; country=FR; latitude=48.8600; longitude=2.3500; http://maps.google.com/maps?q=48.8600,2.3500&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 08LclBDdf - b2cc3db48908 - 20140110 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:85876 Archived-At: On Fri, Jan 10 2014, Fabrice Couvreur wrote: > %%% Local Variables: > %%% Mode: LaTeX > %%% LaTeX-command "LuaLaTeX-shell-escape" > %%% End: %%% Local Variables: %%% Mode: context %%% End: For using "context" instead of "texexec", put this in your init-file: (eval-after-load 'tex '(add-to-list 'TeX-command-list '("ConTeXt" "context --nonstopmode %t" TeX-run-TeX nil (context-mode) :help "Run ConTeXt"))) If you prefer to use context-mode by default for every file with ".tex" as suffix, then you can add this to your init-file: (add-to-list 'auto-mode-alist '("\\.tex\\'" . context-mode)) Then you won't need the "Local Variables" section at the end of each ConTeXt-file. -- Peter ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________