[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 fi

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 in

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 > Sorry Peter, but I do not understand what you mean by "So just pressing > up". > > > > 2014/1/10 Peter Münster > >> On Fri, Jan 10 2014, Fabrice Couvreur wrote: >> >> > Only a second C-c C-c does not allow me to

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 > 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/075

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 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 'conte

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 > my .emacs looks like this: > > ;; Open in ConTeXt mode > (add-hook 'LaTeX-mode-hook 'T

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 m

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-

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 > in the

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 wrote: > Hello, > I use Emacs as an editor and I compile my files with LuaLaTeX by adding t

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 li

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 li

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

[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.