From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/85157 Path: news.gmane.org!not-for-mail From: Roland Thiers Newsgroups: gmane.comp.tex.context Subject: Re: Configure AUCTeX to run context not texec Date: Fri, 8 Nov 2013 19:19:16 +0100 Message-ID: <03557B29-FC7D-4144-AFE7-B82454706D19@gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1383934760 14638 80.91.229.3 (8 Nov 2013 18:19:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 8 Nov 2013 18:19:20 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Nov 08 19:19:26 2013 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 1VeqeS-0007mw-Rr for gctc-ntg-context-518@m.gmane.org; Fri, 08 Nov 2013 19:19:24 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0547E101F0; Fri, 8 Nov 2013 19:19:24 +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 JLJ2xJJ4G14J; Fri, 8 Nov 2013 19:19:22 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 300FB101F8; Fri, 8 Nov 2013 19:19:22 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2D35C101F8 for ; Fri, 8 Nov 2013 19:19:21 +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 k0ilnh54bzwL for ; Fri, 8 Nov 2013 19:19:19 +0100 (CET) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 74DDE101F0 for ; Fri, 8 Nov 2013 19:19:19 +0100 (CET) Original-Received: from mail-wi0-x22f.google.com (mail-wi0-x22f.google.com [IPv6:2a00:1450:400c:c05::22f]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id rA8IJIPB002255 for ; Fri, 8 Nov 2013 19:19:18 +0100 Original-Received: by mail-wi0-f175.google.com with SMTP id hm2so1330869wib.8 for ; Fri, 08 Nov 2013 10:19:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=qsh3gRnk5BkB++VL7XnjILhsdAa2ucR/ULxHcB/i67g=; b=vMKYvzFQPJU1lJxKZVS3VnG2zLIoJaMl/RHx4gKRtXBQOch/iIPf5Y/vZwNlfM+HkE 64MzAc6nMJoTO9aN4W3l7AhxIHOmdgcVwIQr/J8JXzZRWO/jYjeDDTaX8XLGfsD5I5eH t3vYJM89J50gvVBXCbkKmvmKfgqgt2HMnHUTxhFxwxYqfF+y3HXWsB6sWRVb+RG2jR8H lsXIa6mqDugRg1QLTPWjNwQ+X4IWkM2h8b5Gr3+hD7KjrUSP7JQMxyRvSzTib9TZjC2/ EjWuhAE3qWrT86HX9gFtxLS5Sbd5A+LV/HcYi1+zRm/Uh2wdrocpWhoSdG7OpUttWFH1 2hQQ== X-Received: by 10.180.160.240 with SMTP id xn16mr3370815wib.62.1383934758581; Fri, 08 Nov 2013 10:19:18 -0800 (PST) Original-Received: from ?IPv6:2a01:e34:ef6d:4c40:223:12ff:fe08:c8eb? ([2a01:e34:ef6d:4c40:223:12ff:fe08:c8eb]) by mx.google.com with ESMTPSA id ee10sm7828989wic.4.2013.11.08.10.19.17 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 08 Nov 2013 10:19:17 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.1085) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c05::22f; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03KL6jia3 - 8414c576cd66 - 20131108 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) 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:85157 Archived-At: Le 8 nov. 2013 =E0 18:47, Michael Ash a =E9crit : > = > = > Does anyone know how to change the command from "texexec" to "context" i= n emacs/AUCTeX? > = I have that in my preference.el (I use aquamacs) : --8<---------------cut here---------------start------------->8--- (defun rol-context () = (interactive) (save-current-buffer (save-buffer) (TeX-save-document "") (setq TeX-PDF-mode nil) (let ((nomdufichiersansextension (file-name-sans-extension (buffer-file-na= me)))) (shell-command (format "context --autopdf %s.tex" nomdufichiersansexten= sion)) (TeX-view)))) --8<---------------cut here---------------end--------------->8--- I have bound this function rol-context to the key "F7", it works fine but i= t's definitely non optimal ! Regards, = Roland = (math teacher in a high school) ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________