[NTG-context] Emacs24 + AucTeX + ConTeXt

Fabrice Couvreur fabrice1.couvreur at gmail.com
Sat Oct 29 23:41:39 CEST 2016


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 at debian:~$ which context
/home/fab/bin/context
fab at debian:~$ source context/tex/setuptex
Setting "/home/fab/context/tex" as ConTeXt root.
fab at debian:~$ which context
/home/fab/context/tex/texmf-linux-64/bin/context
fab at 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 at 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 at 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
> ____________________________________________________________
> _______________________
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20161029/38da1218/attachment-0001.html>


More information about the ntg-context mailing list