Re: [NTG-context] How to configure context command in Emacs

2019-02-16 Thread Gour
On Fri, 15 Feb 2019 10:05:07 +0800 fv leung wrote: > I 've been using emacs + auctex for years and they work fine with > ConTeXt: I modified the \etc\environment file as: Thank you! Do you possibly use RefTeX as well? Sincerely, Gour -- As a strong wind sweeps away a boat on the water,

Re: [NTG-context] How to configure context command in Emacs

2019-02-14 Thread fv leung
I 've been using emacs + auctex for years and they work fine with ConTeXt: I modified the \etc\environment file as: OSFONTDIR="/usr/share/fonts;/home/fvleung/.fonts" PATH="/home/fvleung/ConTeXt/tex/texmf-linux-64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" I added

Re: [NTG-context] How to configure context command in Emacs

2019-02-14 Thread Gour
On Wed, 24 Oct 2018 15:30:37 +0200 "Jan U. Hasecke" wrote: > I hope there are some Emacs users out there. ;-) I also wonder about the current quality of ConTeXt support within Emacs? In the past Patrick did some work on it, but, probably, atm he is busy with Speedata Publisher... Sincerely,

Re: [NTG-context] How to configure context command in Emacs

2018-10-24 Thread Mohammad Hossein Bateni
I have a hacky solution, which I haven't tested in a while. Make a shell script called "mycontext" somewhere in the PATH. Include the following in it: #!/bin/bash . ~/context/tex/setuptex context $@ Make it executable. And then use "mycontext" as the TeX command inside emacs. For example,

Re: [NTG-context] How to configure context command in Emacs

2018-10-24 Thread luigi scarso
On Wed, Oct 24, 2018 at 3:30 PM Jan U. Hasecke wrote: > Hello, > > I hope there are some Emacs users out there. ;-) > > I can use emacs with context-mode when I start the program like this: > > . ~/context/tex/setuptex ; emacs & > > I could not find a way to set this in my emacs init file.

Re: [NTG-context] How to configure context command in Emacs

2018-10-24 Thread Taco Hoekwater
> On 24 Oct 2018, at 15:30, Jan U. Hasecke wrote: > > Hello, > > I hope there are some Emacs users out there. ;-) > > I can use emacs with context-mode when I start the program like this: > > . ~/context/tex/setuptex ; emacs & > > I could not find a way to set this in my emacs init file.

[NTG-context] How to configure context command in Emacs

2018-10-24 Thread Jan U. Hasecke
Hello, I hope there are some Emacs users out there. ;-) I can use emacs with context-mode when I start the program like this: . ~/context/tex/setuptex ; emacs & I could not find a way to set this in my emacs init file. Neither of the ways described here worked for me: