@ Fabrice: If you’re working under a Linux, use „home“ instead of „Users“ (I’m 
under macOS, therefore I left „Users“) and forget about the add-to-list line. 
So:

(1) M-x context-mode
(2) M-x ConTeXt-Mark-version (switch to mkIV)

If there is no such command: update auctex; if this gives an error (there 
was/is a bug:) tell me and I’ll give you an instruction how to manipulate your 
context.el

(3) Add to .emacs: (setenv „PATH“ „/home/fab/tex/texmf-linux-64/bin/:$PATH“ t)
(4) ;; (add-to-list 'load-path 
"/home/fab/context/tex/texmf-linux-64/bin/context“)
(5) Restart Emacs

C-c C-c should work, now.


ALOHA, tobber






> Am 29.10.2016 um 23:41 schrieb Fabrice Couvreur <fabrice1.couvr...@gmail.com>:
> 
> 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 <eidenb...@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 via email to