[NTG-context] ConTeXt with Emacs

2014-01-11 Thread Fabrice
Hello, I use Emacs as an editor and I compile my files with LuaLaTeX by adding the following lines to the end of the file: %%% Local Variables: %%% Mode: LaTeX %%% LaTeX-command LuaLaTeX-shell-escape %%% End: I discovered ConTeXt, and I would like to know which lines to add to the end of

[NTG-context] ConTeXt with Emacs

2014-01-10 Thread Fabrice Couvreur
Hello, I use Emacs as an editor and I compile my files with LuaLaTeX by adding the following lines to the end of the file: %%% Local Variables: %%% Mode: LaTeX %%% LaTeX-command LuaLaTeX-shell-escape %%% End: I discovered ConTeXt, and I would like to know which lines to add to the end of files.

Re: [NTG-context] ConTeXt with Emacs

2014-01-10 Thread Hans Hagen
On 1/10/2014 7:52 PM, Fabrice Couvreur wrote: Hello, I use Emacs as an editor and I compile my files with LuaLaTeX by adding the following lines to the end of the file: %%% Local Variables: %%% Mode: LaTeX %%% LaTeX-command LuaLaTeX-shell-escape %%% End: I discovered ConTeXt, and I would like

Re: [NTG-context] ConTeXt with Emacs

2014-01-10 Thread Bill Meahan
On 1/10/2014 1:52 PM, Fabrice Couvreur wrote: Hello, I use Emacs as an editor and I compile my files with LuaLaTeX by adding the following lines to the end of the file: %%% Local Variables: %%% Mode: LaTeX %%% LaTeX-command LuaLaTeX-shell-escape %%% End: I discovered ConTeXt, and I would

Re: [NTG-context] ConTeXt with Emacs

2014-01-10 Thread Bill Meahan
On 1/10/2014 1:52 PM, Fabrice Couvreur wrote: Hello, I use Emacs as an editor and I compile my files with LuaLaTeX by adding the following lines to the end of the file: %%% Local Variables: %%% Mode: LaTeX %%% LaTeX-command LuaLaTeX-shell-escape %%% End: I discovered ConTeXt, and I would

Re: [NTG-context] ConTeXt with Emacs

2014-01-10 Thread Willi Egger
in the simplest case a Context document consists of \starttext Your text \stoptext (commented) lines added after \stoptext are ignored. Willi On 10 jan. 2014, at 19:52, Fabrice Couvreur fabrice1.couvr...@gmail.com wrote: Hello, I use Emacs as an editor and I compile my files

Re: [NTG-context] ConTeXt with Emacs

2014-01-10 Thread Fabrice Couvreur
Thank you for the answers. If I summarize, we can not comment on the files at the end because everything that comes after \stoptext is ignored. I was already using the command line 'contest file.tex. Or Set ConTeXt as my default TeX flavor in the AUCTEX settings. 2014/1/10 Willi Egger

Re: [NTG-context] ConTeXt with Emacs

2014-01-10 Thread Peter Münster
On Fri, Jan 10 2014, Fabrice Couvreur wrote: %%% Local Variables: %%% Mode: LaTeX %%% LaTeX-command LuaLaTeX-shell-escape %%% End: %%% Local Variables: %%% Mode: context %%% End: For using context instead of texexec, put this in your init-file: (eval-after-load 'tex '(add-to-list

Re: [NTG-context] ConTeXt with Emacs

2014-01-10 Thread Mica Semrick
my .emacs looks like this: ;; Open in ConTeXt mode (add-hook 'LaTeX-mode-hook 'TeX-PDF-mode) ;; AucTeX turn on PDF mode by default (add-hook 'LaTeX-mode-hook (function turn-on-reftex)) ;; Turn on RefTeX when AucTeX loads (add-hook 'ConTeXt-mode-hook 'yas/minor-mode-on) ;; Turn on YaSnippet minor

Re: [NTG-context] ConTeXt with Emacs

2014-01-10 Thread Fabrice Couvreur
Thank you all, C-c C-c displayed 'Command : (default ConTeXt)' then RET, and the file is compiled. Only a second C-c C-c does not allow me to have 'Command : (default View)'. How ? 2014/1/10 Mica Semrick paperdig...@gmail.com my .emacs looks like this: ;; Open in ConTeXt mode (add-hook

Re: [NTG-context] ConTeXt with Emacs

2014-01-10 Thread Hans Hagen
On 1/10/2014 9:40 PM, Fabrice Couvreur wrote: Thank you for the answers. If I summarize, we can not comment on the files at the end because everything that comes after \stoptext is ignored. ignored by context, so you can put there whatever you want I was already using the command line

Re: [NTG-context] ConTeXt with Emacs

2014-01-10 Thread Peter Münster
On Fri, Jan 10 2014, Fabrice Couvreur wrote: Only a second C-c C-c does not allow me to have 'Command : (default View)'. How ? http://www.ntg.nl/pipermail/ntg-context/2013/075877.html -- Peter ___ If

Re: [NTG-context] ConTeXt with Emacs

2014-01-10 Thread Fabrice Couvreur
Sorry Peter, but I do not understand what you mean by So just pressing up. 2014/1/10 Peter Münster pmli...@free.fr On Fri, Jan 10 2014, Fabrice Couvreur wrote: Only a second C-c C-c does not allow me to have 'Command : (default View)'. How ?

Re: [NTG-context] ConTeXt with Emacs

2014-01-10 Thread Fabrice Couvreur
oops ! I just realized. Sorry for this useless post. 2014/1/11 Fabrice Couvreur fabrice1.couvr...@gmail.com Sorry Peter, but I do not understand what you mean by So just pressing up. 2014/1/10 Peter Münster pmli...@free.fr On Fri, Jan 10 2014, Fabrice Couvreur wrote: Only a second

Re: [NTG-context] ConTeXt with Emacs

2014-01-10 Thread Peter Münster
On Sat, Jan 11 2014, Fabrice Couvreur wrote: Sorry Peter, but I do not understand what you mean by So just pressing up. (savehist-mode 1) is your friend ... ;) -- Peter ___ If your question is of

[NTG-context] ConTeXt and emacs

2003-11-29 Thread Thomas A . Schmitz
Dear co-listers, I'm (very slowly) trying to use emacs with ConTeXt. I have tried Berend de Boers context.el which offers a good many nice features, but I couldn't find for the life of me how to do a couple of things (such as run texexec on the file I'm editing). A while ago, Patrick mentioned

Re: [NTG-context] ConTeXt and emacs

2003-11-29 Thread Matthew Huggett
Thomas A.Schmitz wrote: Dear co-listers, I'm (very slowly) trying to use emacs with ConTeXt. I have tried Berend de Boers context.el which offers a good many nice features, but I couldn't find for the life of me how to do a couple of things (such as run texexec on the file I'm editing). In