Re: [NTG-context] Emacs with context lmtx

2019-04-09 Thread Fabrice Couvreur
Hi Vladimir, This seems to work well : (eval-after-load "context" '(setq TeX-command-list (append '( ("context" "PATH=/home/viserion/context/tex/texmf-linux-64/bin:$PATH context --purgeall %s" TeX-run-command nil t :help "Run context

Re: [NTG-context] Emacs with context lmtx

2019-04-09 Thread Vladimir Lomov
Hello, ** Fabrice Couvreur [2019-04-09 00:58:46 +0200]: > Hi Vladimir, > I use AUCTeX and I compile with the command C-c C-c. The configuration you > proposed for my .emacs file last time works perfectly. So I tried to do the > same thing with context lmtx and if I add this > > ("ConTeXt" "PATH

Re: [NTG-context] Emacs with context lmtx

2019-04-08 Thread Fabrice Couvreur
Hi Vladimir, I use AUCTeX and I compile with the command C-c C-c. The configuration you proposed for my .emacs file last time works perfectly. So I tried to do the same thing with context lmtx and if I add this ("ConTeXt" "PATH = /home/viserion/data/context/tex/texmf-linux-64/bin: $ PATH context

Re: [NTG-context] Emacs with context lmtx

2019-04-08 Thread Vladimir Lomov
Hello, ** Fabrice Couvreur [2019-04-08 12:08:44 +0200]: > Hi, > I compile all my files with Emacs and standalone context. I would like to > compare context lmtx. > I added this in my .emacs file but it does not work. Does Emacs prints error messages? How do you run the command in Emacs? Do you

[NTG-context] Emacs with context lmtx

2019-04-08 Thread Fabrice Couvreur
Hi, I compile all my files with Emacs and standalone context. I would like to compare context lmtx. I added this in my .emacs file but it does not work. # (eval-after-load "context" '(setq TeX-command-list (cons

Re: [NTG-context] Emacs + latest beta

2018-08-30 Thread Fabrice Couvreur
Hello Vladimir, I suppose this is from within Emacs. > File compiled with Emacs . I assumed that you installed auctex package, like > > $ sudo pacman -S auctex > > and do > > (load "auctex") > No with MELPA. P.S. Why you install auctex as MELPA and don't use Archlinux package ? > I do

Re: [NTG-context] Emacs + latest beta

2018-08-29 Thread Vladimir Lomov
Hello, ** Fabrice Couvreur [2018-08-29 12:01:46 +0200]: > Hello, > Here is the content of my file ~/.profile : > > export PATH=$HOME/context/tex/texmf-linux-64/bin:$PATH > export PATH=$HOME/texlive/2018/bin/x86_64-linux:$PATH > export PATH=$HOME/bin:$PATH > >> $ command -v context > >

Re: [NTG-context] Emacs + latest beta

2018-08-29 Thread Vladimir Lomov
Hello, ** Fabrice Couvreur [2018-08-29 11:39:07 +0200]: > Hello, > Before considering modifications, here's what I get when I do which context > : > > Setting "/home/aragorn/context/tex" as ConTeXt root. > [aragorn@fab ~]$ which context > /home/aragorn/context/tex/texmf-linux-64/bin/context >

Re: [NTG-context] Emacs + latest beta

2018-08-29 Thread Fabrice Couvreur
Hello, Here is the content of my file ~/.profile : export PATH=$HOME/context/tex/texmf-linux-64/bin:$PATH export PATH=$HOME/texlive/2018/bin/x86_64-linux:$PATH export PATH=$HOME/bin:$PATH $ command -v context > [aragorn@fab ~]$ command -v context

Re: [NTG-context] Emacs + latest beta

2018-08-29 Thread Fabrice Couvreur
Hello, Before considering modifications, here's what I get when I do which context : Setting "/home/aragorn/context/tex" as ConTeXt root. [aragorn@fab ~]$ which context /home/aragorn/context/tex/texmf-linux-64/bin/context [aragorn@fab ~]$ $ pacman -Qs texlive > [root@fab aragorn]# pacman -Qs

Re: [NTG-context] Emacs + latest beta

2018-08-28 Thread Vladimir Lomov
Hello, ** Fabrice Couvreur [2018-08-28 11:18:58 +0200]: > Hi Vladimir, > I do not use Arch Linux repositories to install texlive 2018 packages Some texlive-* packages could be installed as dependencies of other packages. You may check if your system has any texlive package: $ pacman -Qs

Re: [NTG-context] Emacs + latest beta

2018-08-28 Thread Fabrice Couvreur
Hi Vladimir, I do not use Arch Linux repositories to install texlive 2018 packages but I installed texlive 2018 "scheme-full" with tlmgr -gui in /home/aragorn /texlive/2018. I then make regular updates in the same way. No texlive traces in the \usr\share\ directory or elsewhere. Standalone

Re: [NTG-context] Emacs + latest beta

2018-08-27 Thread Vladimir Lomov
Hello, ** Fabrice Couvreur [2018-08-27 15:47:41 +0200]: > Le lun. 27 août 2018 à 11:51, Fabrice Couvreur > a écrit : > >> Hi Vladimir, >> I just made a new standalone context install and added this to my >> ~/.profile : source /home/aragorn/context/tex/setuptex >> It finally seems to work !

Re: [NTG-context] Emacs + latest beta

2018-08-27 Thread Fabrice Couvreur
Hello, I installed texlive 2018 and context standalone in my home directory. It seems to me that I must therefore indicate the path where texlive is located 2018, but maybe I'm wrong. You can check this by running `which context` in a terminal. > Setting "/home/aragorn/context/tex" as ConTeXt

Re: [NTG-context] Emacs + latest beta

2018-08-27 Thread Aditya Mahajan
On Mon, 27 Aug 2018, Fabrice Couvreur wrote: I just made a new standalone context install and added this to my ~/.profile : source /home/aragorn/context/tex/setuptex It finally seems to work ! export PATH=$PATH:/home/aragorn/context/tex/texmf-linux-64/bin source

Re: [NTG-context] Emacs + latest beta

2018-08-27 Thread Fabrice Couvreur
Hi Vladimir, I just realized that does not work anymore ! (setq ConTeXt-mode-hook (lambda () (setq TeX-command-extra-options "--purgeall"))) Thanks Fabrice Le lun. 27 août 2018 à 11:51, Fabrice Couvreur a écrit : > Hi Vladimir, > I just made a new standalone context install and added

Re: [NTG-context] Emacs + latest beta

2018-08-27 Thread Fabrice Couvreur
Hi Vladimir, I just made a new standalone context install and added this to my ~/.profile : source /home/aragorn/context/tex/setuptex It finally seems to work ! export PATH=$PATH:/home/aragorn/context/tex/texmf-linux-64/bin source /home/aragorn/context/tex/setuptex export

Re: [NTG-context] Emacs + latest beta

2018-08-26 Thread Vladimir Lomov
Hello, ** Fabrice Couvreur [2018-08-25 01:23:28 +0200]: > Hi Vladimir, > I use ConTeXt Full following this question asked on the forum > https://mailman.ntg.nl/pipermail/ntg-context/2017/089501.html > Then, if I compile with ConTeXt, the problem is not solved and the file > vladimir.log is empty

Re: [NTG-context] Emacs + latest beta

2018-08-26 Thread Vladimir Lomov
Hello, ** Hans Hagen [2018-08-24 16:39:54 +0200]: > On 8/24/2018 3:48 PM, Vladimir Lomov wrote: > >> I don't know why you get "damaged" pdf file (in fact how do you know >> that file is damaged?) but "TEXMFCNF" is special variable that I uses to >> tweak TeX Live configuration for my latex

Re: [NTG-context] Emacs + latest beta

2018-08-24 Thread Fabrice Couvreur
Hi Vladimir, I use ConTeXt Full following this question asked on the forum https://mailman.ntg.nl/pipermail/ntg-context/2017/089501.html Then, if I compile with ConTeXt, the problem is not solved and the file vladimir.log is empty ! This is the buffer vladimir.output with emacs

Re: [NTG-context] Emacs + latest beta

2018-08-24 Thread Hans Hagen
On 8/24/2018 3:48 PM, Vladimir Lomov wrote: I don't know why you get "damaged" pdf file (in fact how do you know that file is damaged?) but "TEXMFCNF" is special variable that I uses to tweak TeX Live configuration for my latex workflow but context (standalone and from TL) refuses to work if

Re: [NTG-context] Emacs + latest beta

2018-08-24 Thread Vladimir Lomov
Hello, ** Fabrice Couvreur [2018-08-24 12:31:19 +0200]: > Hi Vladimir, > Thanks for everything, it seems to work ! > You are the only one who knew how to solve the problem. > Here is the content of my ~./emacs file that you probably need to improve : > > 8<

Re: [NTG-context] Emacs + latest beta

2018-08-24 Thread Fabrice Couvreur
Hi Vladimir, Thanks for everything, it seems to work ! You are the only one who knew how to solve the problem. Here is the content of my ~./emacs file that you probably need to improve : 8<

Re: [NTG-context] Emacs + latest beta

2018-08-23 Thread Vladimir Lomov
Hello, ** Fabrice Couvreur [2018-08-23 10:48:42 +0200]: > Hi, > Thanks for your help but ... I checked again and it is fine. May be I was too unspecific. First, I changed a bit your example to this one: [test.tex] 8<

Re: [NTG-context] Emacs + latest beta

2018-08-23 Thread Vladimir Lomov
Hello, ** Wolfgang Schuster [2018-08-23 20:58:01 +0200]: > You get an error message because outlinetext doesn’t work. > > \starttext > > \startMPcode > draw outlinetext.f > ("A") > () ; > \stopMPcode > > \stoptext The example that Fabrice Couvreur presented works fine on

Re: [NTG-context] Emacs + latest beta

2018-08-23 Thread Wolfgang Schuster
You get an error message because outlinetext doesn’t work. \starttext \startMPcode draw outlinetext.f ("A") () ; \stopMPcode \stoptext Wolfgang Fabrice Couvreur schrieb am 22.08.18 um 13:05: Hello, Sorry to insist, but could anyone help me understand the problem I'm

Re: [NTG-context] Emacs + latest beta

2018-08-23 Thread Fabrice Couvreur
Hi, Thanks for your help but ... Running `ConTeXt' on `vladimir' with ``PATH=/home/aragorn/context/tex/texmf-linux-64/bin:$PATH context vladimir'' resolvers | trees | analyzing 'home:texmf' mtx-context | warning: no (local) file './vladimir', proceeding mtx-context | run 1: luatex

Re: [NTG-context] Emacs + latest beta

2018-08-23 Thread Vladimir Lomov
Hello, ** Fabrice Couvreur [2018-08-22 13:05:31 +0200]: > Hello, > Sorry to insist, but could anyone help me understand the problem I'm having > in using Emacs with standalone context ? Check environment variables both in terminal and Emacs. > The following file compiles perfectly from a

[NTG-context] Emacs + latest beta

2018-08-22 Thread Fabrice Couvreur
Hello, Sorry to insist, but could anyone help me understand the problem I'm having in using Emacs with standalone context ? The following file compiles perfectly from a terminal : /home/aragorn/texlive/2018/bin/x86_64-linux/context test.tex /home/aragorn/context/tex/texmf-linux-64/bin/context

[NTG-context] Emacs templates for ConTeXt

2009-05-15 Thread Piotr Kopszak
Hello, I have just started using Emacs msf-abbrevs mode with ConTeXt files. Just would like to know if anyone is using other templating systems for Emacs with ConTeXt files? Are there any templates for ConTeXt commands around? Best Piotr -- http://okle.pl

Re: [NTG-context] Emacs templates for ConTeXt

2009-05-15 Thread Jean Magnan de Bornier
Le 15 mai à 13:23:52 Piotr Kopszak kops...@gmail.com écrit notamment: | Hello, | I have just started using Emacs msf-abbrevs mode with ConTeXt files. | Just would like to know if anyone is using other templating systems | for Emacs with ConTeXt files? Are there any templates for ConTeXt |

Re: [NTG-context] Emacs templates for ConTeXt

2009-05-15 Thread Piotr Kopszak
Hello Jean, I never tried to use muse, surely have to try one day. Now I was thinking about something more modest and I think msf-abbrevs is just excellent for my needs. There are only eight tags to use in abbrevs file which I learnt in 5 minutes so I could start writing my templates in no time.

Re: [NTG-context] emacs

2009-02-05 Thread Peter Münster
On Fri, 24 Oct 2008, Marcin Borkowski wrote: * Unlike when editing LaTeX files, it does not insert an \item when doing C-c C-e itemize. I use itemizations a lot and this is a bit annoying, especially that I got used to its behaior when doing LaTeX. Also, having C-c C-j asking

Re: [NTG-context] emacs

2009-02-05 Thread luigi scarso
On Thu, Feb 5, 2009 at 4:06 PM, Peter Münster pmli...@free.fr wrote: On Fri, 24 Oct 2008, Marcin Borkowski wrote: * Unlike when editing LaTeX files, it does not insert an \item when doing C-c C-e itemize. I use itemizations a lot and this is a bit annoying, especially that I

Re: [NTG-context] emacs

2009-02-05 Thread Peter Münster
On Thu, 5 Feb 2009, luigi scarso wrote: Here some code that you can attach to your .emacs file (just a copy from auctex with minor modifications): Peter, can you put it into wiki ? Of course, just as everybody else can do it ;) But this is only a quick workaround. It would be nicer, if a

Re: [NTG-context] emacs (was: Re: PhD Thesis in ConTeXt)

2008-10-22 Thread Marcin Borkowski
Dnia Wed, Oct 22, 2008 at 07:31:32AM +0200, Peter Münster napisa#322;(a): On Wed, Oct 22 2008, Marcin Borkowski wrote: Well, my heart is breaking when I type this, but my beloved emacs;) has rather poor ConTeXt support... I use Emacs 22 with AUCTeX 11.84. Well, although it *works*, it

Re: [NTG-context] emacs

2008-10-22 Thread Gour
Marcin == Marcin Borkowski [EMAIL PROTECTED] writes: Marcin I know that these are not *serious* problems; but the UX is poor Marcin with them... I agree :-/ Marcin I plan to learn emacs lisp a bit in my spare time (though I Marcin almost forgot what spare time means;P), but I certainly won't

[NTG-context] emacs (was: Re: PhD Thesis in ConTeXt)

2008-10-21 Thread Peter Münster
On Wed, Oct 22 2008, Marcin Borkowski wrote: Well, my heart is breaking when I type this, but my beloved emacs;) has rather poor ConTeXt support... I use Emacs 22 with AUCTeX 11.84. Well, although it *works*, it is by no means convenient - at least not that convenient as an emacs should

Re: [NTG-context] emacs lisp for context in AucTeX

2006-04-20 Thread Johan Sandblom
Thank you for this. I have written the following much more amateurish emacs lisp code in order to make it easier to enter natural tables and flowcharts. Perhaps someone may find it useful or can suggest improvements. I also added some keybindings for them. Johan (defun context-insert-nattab

Re: [NTG-context] emacs lisp for context in AucTeX

2006-04-20 Thread Johan Sandblom
Strange that I did not run into these issues, I use GNU emacs as well, version 22.0.50.1, so presumably a difference in the versions. C-c C-f is not bound to TeX-font for me, which is odd. Sorry about the cell/cells issue, I renamed the function just before sending it. Of course it is ok to put it

Re: [NTG-context] emacs lisp for context in AucTeX

2006-04-20 Thread Sanjoy Mahajan
C-c C-f is not bound to TeX-font for me, which is odd. Maybe an earlier AUCTeX? I have 11.82 (from Debian testing/unstable). -Sanjoy `Never underestimate the evil of which men of power are capable.' --Bertrand Russell, _War Crimes in Vietnam_, chapter 1.

Re: [NTG-context] emacs lisp for context in AucTeX

2006-04-20 Thread Sanjoy Mahajan
Great. Mojca suggested that I wikify my Emacs lisp. It's now at http://wiki.contextgarden.net/Text_editor. Following that method ('a method is a trick I use twice.' --Polya), I've put your elisp there too -- hope that's okay. I removed the (local-set-key $ 'start-context-math) so

Re: [NTG-context] emacs lisp for context in AucTeX

2006-04-20 Thread Johan Sandblom
Yes, I have 11.55. I will adopt your suggestion to avoid updating problems. Still, strange though, seems to be an old feature. Do you know a convenient way of finding where these bindings are defined? Perhaps it is a matter of order of precedence differing between the emacs versions. Johan

[NTG-context] emacs lisp for context in AucTeX

2006-04-19 Thread Sanjoy Mahajan
I wrote the following emacs lisp for my .emacs and pass it on (no copyright) in case others find it useful. I used variants for a decade with the old tex mode, but just rewrote it for auctex and for context's display math syntax (which deprecates $$...$$). The purpose: 1. If you type {, [, or

Re: [NTG-context] Emacs

2003-07-28 Thread Mari Voipio
On Sat, 26 Jul 2003, David Arnold wrote: What can people tell me about setting up Emacs to work with Context? I use TeXLive7 + NTEmacs + Berend Boer's context.el (ConTeXt mode) and my OS is Windows (NT/2000/XP depending on the computer I happen to be using). I tried using WinEdt as the editor,

Re: [NTG-context] Emacs

2003-07-28 Thread David Arnold
Mari, Thanks. I have all of this working. At 10:33 AM 7/28/03 +0300, you wrote: On Sat, 26 Jul 2003, David Arnold wrote: What can people tell me about setting up Emacs to work with Context? I use TeXLive7 + NTEmacs + Berend Boer's context.el (ConTeXt mode) and my OS is Windows (NT/2000/XP

[NTG-context] Emacs

2003-07-26 Thread David Arnold
All, What can people tell me about setting up Emacs to work with Context? I'd like to gather all information I can. Thanks. ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context