ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Michael Eidenbenz <eidenbenz@arch.ethz.ch>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Emacs24 + AucTeX + ConTeXt
Date: Sun, 30 Oct 2016 02:36:26 +0200	[thread overview]
Message-ID: <AEA12370-5C77-4CE0-97C3-662C5578100E@arch.ethz.ch> (raw)
In-Reply-To: <CACyK-eoL1o9wwcVZ+h5nTwUjL-e7SKdqgNTrRO0s2OOaw+yf9A@mail.gmail.com>

the command should be:

(eval-after-load "tex"
'(add-to-list 'TeX-command-list
                '("context"
                 "source /home/fab/context/tex/setuptex && context"
                  TeX-run-TeX
                  nil
                  (context-mode)
                  :help "Run ConTeXt") t))





> On 29 Oct 2016, at 23:41, Fabrice Couvreur <fabrice1.couvreur@gmail.com> wrote:
> 
> Hi,
> @Tobias
> 
> If I add this to my .emacs I get
> 
> (setenv "PATH"/Users/fab/tex/texmf-linux-64/bin/ ":$PATH" t) 
> (add-to-list 'load-path "/home/fab/context/tex/texmf-linux-64/bin/context")
> 
> Warning (initialization): An error occurred while loading `/home/fab/.emacs':
> 
> Symbol's value as variable is void: /Users/fab/tex/texmf-linux-64/bin
> 
> 
> @Michael
> 
> fab@debian:~$ which context
> /home/fab/bin/context
> fab@debian:~$ source context/tex/setuptex
> Setting "/home/fab/context/tex" as ConTeXt root.
> fab@debian:~$ which context
> /home/fab/context/tex/texmf-linux-64/bin/context
> fab@debian:~$ 
> 
> If I add this to my .emacs is always texlive 2016 is invoked when I compile
> 
> (eval-after-load "tex"
> '(add-to-list 'TeX-command-list
>                 '("context"
>                  "(/home/fab/context)/setuptex&&context"
>                   TeX-run-TeX
>                   nil
>                   (context-mode)
>                   :help "Run ConTeXt") t))
> 
> 
> Thanks,
> Fabrice
> 
> 
> 2016-10-29 12:50 GMT+02:00 Michael Eidenbenz <eidenbenz@arch.ethz.ch>:
> sorry that should be:
> 
> (path to textree)/setuptex && context .....
> 
> 
>> 
>> cd (path to textree) && setuptex && context etc...
> 
> 
> ___________________________________________________________________________________
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________
> 
> ___________________________________________________________________________________
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2016-10-30  0:36 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-28 13:04 Fabrice Couvreur
2016-10-28 17:07 ` Mica Semrick
2016-10-28 21:57   ` Fabrice Couvreur
2016-10-28 22:28     ` Mica Semrick
2016-10-28 23:23     ` Michael Eidenbenz
2016-10-29  7:55       ` Fabrice Couvreur
2016-10-29 10:46         ` Michael Eidenbenz
2016-10-29 10:50           ` Michael Eidenbenz
2016-10-29 21:41             ` Fabrice Couvreur
2016-10-30  0:36               ` Michael Eidenbenz [this message]
2016-10-30  9:10                 ` Fabrice Couvreur
2016-10-30 10:07                   ` Michael Eidenbenz
2016-10-30 11:15               ` Tobias Berndt
2016-10-30 12:30                 ` Fabrice Couvreur
2016-10-30 13:26                   ` Peter Münster
2016-10-30 13:38                   ` Tobias Berndt
2016-10-31  9:04                     ` Fabrice Couvreur
2016-10-31  9:18                       ` Peter Münster
2016-10-31  9:37                         ` Fabrice Couvreur
2016-10-31 10:59                           ` Peter Münster
2016-10-31 13:16                             ` Fabrice Couvreur
2016-10-31 13:55                               ` Fabrice Couvreur
2016-10-31 14:22                                 ` Peter Münster
2016-10-31 16:40                                   ` Fabrice Couvreur
2016-10-29 10:19     ` Tobias Berndt

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=AEA12370-5C77-4CE0-97C3-662C5578100E@arch.ethz.ch \
    --to=eidenbenz@arch.ethz.ch \
    --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).