ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Jean Magnan de Bornier <jm.bornier@free.fr>
To: ntg-context@ntg.nl
Subject: Re: Configure AUCTeX to run context not texec
Date: Sat, 09 Nov 2013 03:09:01 +0100	[thread overview]
Message-ID: <877gciqqbm.fsf@free.fr> (raw)
In-Reply-To: <CAKTWfUMrxzkj_yA1xLD8p2L3RkegNZLf1+7-0p5j9a=cmcMs_w@mail.gmail.com> (Michael Ash's message of "Fri, 8 Nov 2013 16:03:40 -0500")

Le 08 novembre à 22:03:40 Michael Ash <mash@econs.umass.edu> écrit notamment:

| Thank you very much for the advice on configuring AUCTeX to compile
| context files.
>
| Inserting the following snippet in my .emacs (emacs configuration)
| file worked. 
>
| --8<---------------cut here---------------start------------->8---
| (eval-after-load 'tex
| '(add-to-list
| 'TeX-command-list
| '("ConTeXt" "context --nonstopmode %t"
| TeX-run-TeX nil (context-mode) :help "Run ConTeXt")))
| --8<---------------cut here---------------end--------------->8---
>
| This fix is imperfect because even though context runs properly,
| AUCTeX reports "ConTeXt: problems after [0] pages"
>
| AUCTeX doesn't believe that the file has been compiled and C-c C-c
| offers to run context again. It is necessary to select "View" 

This problem does not appear on my machine where instead of "context
--nonstopmode %t" I wrote "PATH=~/context/tex/texmf-linux/bin:$PATH 
context %s"

bye
-- 
Jean
___________________________________________________________________________________
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
___________________________________________________________________________________

  parent reply	other threads:[~2013-11-09  2:09 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-08 17:47 Michael Ash
2013-11-08 17:49 ` Peter Münster
2013-11-08 18:19 ` Roland Thiers
2013-11-08 21:03 ` Michael Ash
2013-11-08 23:14   ` Peter Münster
2014-06-27  7:16     ` Gour
2014-06-27  8:13       ` Peter Münster
2013-11-09  2:09   ` Jean Magnan de Bornier [this message]
2013-11-09 10:13     ` Peter Münster
2013-11-09 14:32       ` Jean Magnan de Bornier
2013-11-10 21:38         ` Peter Münster
2013-11-11  8:10           ` Jean Magnan de Bornier
2013-11-11 22:36             ` Peter Münster
2013-11-12  7:21               ` Jean Magnan de Bornier

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=877gciqqbm.fsf@free.fr \
    --to=jm.bornier@free.fr \
    --cc=ntg-context@ntg.nl \
    /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).