Re: [NTG-context] Emacs24 + AucTeX + ConTeXt

2016-10-31 Thread Fabrice Couvreur
Hi Peter, Thank you very much. 2016-10-31 15:22 GMT+01:00 Peter Münster : > On Mon, Oct 31 2016, Fabrice Couvreur wrote: > > > how to add the option -- purgeall ? > > (setq ConTeXt-mode-hook > (lambda () (setq TeX-command-extra-options "--purgeall"))) > > -- >

Re: [NTG-context] Emacs24 + AucTeX + ConTeXt

2016-10-31 Thread Peter Münster
On Mon, Oct 31 2016, Fabrice Couvreur wrote: > how to add the option -- purgeall ? (setq ConTeXt-mode-hook (lambda () (setq TeX-command-extra-options "--purgeall"))) -- Peter ___ If your question

Re: [NTG-context] Emacs24 + AucTeX + ConTeXt

2016-10-31 Thread Fabrice Couvreur
Sorry, but I have one question: how to add the option -- purgeall ? Fabrice 2016-10-31 14:16 GMT+01:00 Fabrice Couvreur : > Hi Peter, > It seems to work ! > Thank you to Peter, Tobias, Michael and Mica for your help > Fabrice > > 2016-10-31 11:59 GMT+01:00 Peter

Re: [NTG-context] Emacs24 + AucTeX + ConTeXt

2016-10-31 Thread Fabrice Couvreur
Hi Peter, It seems to work ! Thank you to Peter, Tobias, Michael and Mica for your help Fabrice 2016-10-31 11:59 GMT+01:00 Peter Münster : > On Mon, Oct 31 2016, Fabrice Couvreur wrote: > > > /home/fab/context/tex/texmf-linux-64/bin/context:... > > Please replace this with

Re: [NTG-context] Emacs24 + AucTeX + ConTeXt

2016-10-31 Thread Peter Münster
On Mon, Oct 31 2016, Fabrice Couvreur wrote: > /home/fab/context/tex/texmf-linux-64/bin/context:... Please replace this with /home/fab/context/tex/texmf-linux-64/bin:... -- Peter ___ If your question is

Re: [NTG-context] Emacs24 + AucTeX + ConTeXt

2016-10-31 Thread Fabrice Couvreur
/home/fab/context/tex/texmf-linux-64/bin/context:/home/fab/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/texmf/tex/latex/tex4ebook-master/tex4ebook:/home/fab/texlive/2016/bin/x86_64-linux 2016-10-31 10:18 GMT+01:00 Peter Münster : > On Mon, Oct 31 2016, Fabrice

Re: [NTG-context] Emacs24 + AucTeX + ConTeXt

2016-10-31 Thread Peter Münster
On Mon, Oct 31 2016, Fabrice Couvreur wrote: > it's always texlive context and not standalone. What is the output of M-x getenv RET PATH RET ? -- Peter ___ If your question is of interest to others as

Re: [NTG-context] Emacs24 + AucTeX + ConTeXt

2016-10-31 Thread Fabrice Couvreur
Hi Tobber, First of all thank you for your help. Everything worked except for the compilation where it's always texlive context and not standalone. Running `ConTeXt' on `ntg62' with ``context --once --texutil --nonstop ntg62.tex'' resolvers | trees | analyzing 'home:texmf' mtx-context

Re: [NTG-context] Emacs24 + AucTeX + ConTeXt

2016-10-30 Thread Tobias Berndt
Ok, your problem is more auctex than ConTeXt. So, try this: (1) Add to .emacs: ;; SERVER Download (MELPA): (when (>= emacs-major-version 24) (require 'package) (add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/;) t) (package-initialize)) to get connection to

Re: [NTG-context] Emacs24 + AucTeX + ConTeXt

2016-10-30 Thread Peter Münster
On Sun, Oct 30 2016, Fabrice Couvreur wrote: > (setenv „PATH" „/home/fab/tex/texmf-linux-64/bin/:$PATH" t) > > I do not understand this symbol „ and how to access You should replace „ with ". -- Peter

Re: [NTG-context] Emacs24 + AucTeX + ConTeXt

2016-10-30 Thread Fabrice Couvreur
Hi Tobias, (2) Possible completions are: ConTeXt-close-environment ConTeXt-close-xml-tag ConTeXt-environment ConTeXt-etexshow ConTeXt-find-matching-start ConTeXt-find-matching-stop ConTeXt-insert-item ConTeXt-mark-environment ConTeXt-mode ConTeXt-mode-command-menu

Re: [NTG-context] Emacs24 + AucTeX + ConTeXt

2016-10-30 Thread Tobias Berndt
@ 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

Re: [NTG-context] Emacs24 + AucTeX + ConTeXt

2016-10-30 Thread Michael Eidenbenz
It looks like auctex is still choosing the wrong command. Please read this information: https://www.gnu.org/software/auctex/manual/auctex/Selecting-a-Command.html maybe this helps (eval-after-load "tex" '(add-to-list 'TeX-command-list '("context_standalone"

Re: [NTG-context] Emacs24 + AucTeX + ConTeXt

2016-10-30 Thread Fabrice Couvreur
​Hi Michael, ​ Thank you for your help but it does not work, maybe a problem with the Emacs shell. Running `ConTeXt' on `ntg32' with ``context --once --texutil --nonstop ntg32.tex'' resolvers | trees | analyzing 'home:texmf' mtx-context | run 1: luatex

Re: [NTG-context] Emacs24 + AucTeX + ConTeXt

2016-10-29 Thread Michael Eidenbenz
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")

Re: [NTG-context] Emacs24 + AucTeX + ConTeXt

2016-10-29 Thread Fabrice Couvreur
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

Re: [NTG-context] Emacs24 + AucTeX + ConTeXt

2016-10-29 Thread Michael Eidenbenz
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!

Re: [NTG-context] Emacs24 + AucTeX + ConTeXt

2016-10-29 Thread Michael Eidenbenz
check which binary is used with which context and correct our PATH according to your needs. you can always add more C-c C-c commands for multiple installations (beta, current, texlive ..) as I wrote before. just change the command to cd (path to textree) && setuptex && context etc... Michael

Re: [NTG-context] Emacs24 + AucTeX + ConTeXt

2016-10-29 Thread Tobias Berndt
… add (setenv "PATH" "/Users//tex/texmf-/bin/:$PATH" t) in your .emacs and Emacs should find the way to the minimals. ALOHA, tobber > Am 28.10.2016 um 23:57 schrieb Fabrice Couvreur : > > Hi Mica, > I added this (custom-set-variables ' (ConTeXt-Mark-version

Re: [NTG-context] Emacs24 + AucTeX + ConTeXt

2016-10-29 Thread Fabrice Couvreur
Hi, If I add this (add-to-list 'load-path "/home/fab/context/tex/texmf-linux-64/bin") in the .emacs, one C-c C-c invokes the executable texlive, not the context of standalone. Fabrice 2016-10-29 1:23 GMT+02:00 Michael Eidenbenz : > you can add any TeX command (the ones

Re: [NTG-context] Emacs24 + AucTeX + ConTeXt

2016-10-28 Thread Michael Eidenbenz
you can add any TeX command (the ones you call with C-c C-c) to your init.el like this: '(add-to-list 'TeX-command-list '("contex" "context %t --nonstopmode --purgeall" % change the command to your needs TeX-run-TeX nil

Re: [NTG-context] Emacs24 + AucTeX + ConTeXt

2016-10-28 Thread Mica Semrick
Hi Fabrice, I believe it is just picking up the context executable from your path. You should be able to add the standalone to your path before the texlive version. It has been several years since I've run texlive though. -m On October 28, 2016 2:57:16 PM PDT, Fabrice Couvreur

Re: [NTG-context] Emacs24 + AucTeX + ConTeXt

2016-10-28 Thread Fabrice Couvreur
Hi Mica, I added this (custom-set-variables ' (ConTeXt-Mark-version "IV")) in my .emacs and it seems to work, thank you. Another question : when I do a C-c C-c is texlive context of 2016 is called. How to be it standalone context ? Fabrice 2016-10-28 19:07 GMT+02:00 Mica Semrick

Re: [NTG-context] Emacs24 + AucTeX + ConTeXt

2016-10-28 Thread Mica Semrick
I haven't checked in a while, since this is already set in my init.el file, but auxtex was using mkii/texexec a few years ago. Have you checked you're using mkiv/context? On October 28, 2016 6:04:27 AM PDT, Fabrice Couvreur wrote: >Hello, >I just upgraded to