Re: [NTG-context] how to prevent stupid typos?

2017-06-20 Thread Brian Ballsun-Stanton
Hi Pablo, Your script doesn't have texroot set. You either need to source ~/.profile (or whatever sets texroot) or explicitly set it. At the top of my compile script, I've got: TEXROOT=/opt/context/tex/ TEXMFOS=$TEXROOT/texmf-linux-64 export PATH=$TEXMFOS/bin:$PATH I think the fact that

Re: [NTG-context] how to prevent stupid typos?

2017-06-07 Thread Pablo Rodriguez
On 06/07/2017 11:01 PM, Hans Hagen wrote: > sure it's no big deal to write such a script but in decades of tex i > never felt the need I wrote a small script for my Linux machine (check-context.sh), to be able to check a single file: source $HOME/ctxbeta/tex/setuptex mtxrunjit

Re: [NTG-context] how to prevent stupid typos?

2017-06-07 Thread Hans Hagen
On 6/7/2017 9:02 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: On Wed, 07 Jun 2017 12:11:14 -0600, Pablo Rodriguez wrote: (but i have to admit that i normally just run files and redo after fixing an error, running is fast enough) My question here isn’t about speed. If a

Re: [NTG-context] how to prevent stupid typos?

2017-06-07 Thread Idris Samawi Hamid ادريس سماوي حامد
On Wed, 07 Jun 2017 14:33:05 -0600, Pablo Rodriguez wrote: On 06/07/2017 10:16 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: On Wed, 07 Jun 2017 14:08:21 -0600, Pablo Rodriguez wrote: And creating a keyboard shortcut to launch the script automatically helps a

Re: [NTG-context] how to prevent stupid typos?

2017-06-07 Thread Pablo Rodriguez
On 06/07/2017 10:16 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: > On Wed, 07 Jun 2017 14:08:21 -0600, Pablo Rodriguez wrote: > >> And creating a keyboard shortcut to launch the script automatically >> helps a lot. > > Scite: Ctrl-0 > Notepad++: Ctrl-Shift-0 > > (new n++ setup

Re: [NTG-context] how to prevent stupid typos?

2017-06-07 Thread Idris Samawi Hamid ادريس سماوي حامد
On Wed, 07 Jun 2017 14:08:21 -0600, Pablo Rodriguez wrote: And creating a keyboard shortcut to launch the script automatically helps a lot. Scite: Ctrl-0 Notepad++: Ctrl-Shift-0 (new n++ setup for context currently under development) Idris -- Idris Samawi Hamid, Professor

Re: [NTG-context] how to prevent stupid typos?

2017-06-07 Thread Pablo Rodriguez
On 06/07/2017 09:08 PM, Hans Hagen wrote: > On 6/7/2017 8:11 PM, Pablo Rodriguez wrote: >> My question here isn’t about speed. If a source may load twenty source >> files and it actually loads five source files, the problem is having to >> check the files individually. > > in that case i always

Re: [NTG-context] how to prevent stupid typos?

2017-06-07 Thread Pablo Rodriguez
On 06/07/2017 09:02 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: > [...] > As a matter of workflow, I would just check each \input when editing it, > don't see the need to check them all over and over - but maybe you have > some huge collaborative project with lots of \inputs frequently

Re: [NTG-context] how to prevent stupid typos?

2017-06-07 Thread Hans Hagen
On 6/7/2017 8:11 PM, Pablo Rodriguez wrote: My question here isn’t about speed. If a source may load twenty source files and it actually loads five source files, the problem is having to check the files individually. in that case i always run the individual files independently when editing

Re: [NTG-context] how to prevent stupid typos?

2017-06-07 Thread Idris Samawi Hamid ادريس سماوي حامد
On Wed, 07 Jun 2017 12:11:14 -0600, Pablo Rodriguez wrote: (but i have to admit that i normally just run files and redo after fixing an error, running is fast enough) My question here isn’t about speed. If a source may load twenty source files and it actually loads five source

Re: [NTG-context] how to prevent stupid typos?

2017-06-07 Thread Idris Samawi Hamid ادريس سماوي حامد
On Wed, 07 Jun 2017 02:09:48 -0600, Hans Hagen wrote: On 6/7/2017 7:02 AM, Pablo Rodriguez wrote: On 06/06/2017 10:56 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: [...] Would it be any way to make ConTeXt report that \linenote{ hasn’t been closed? Just check your file

Re: [NTG-context] how to prevent stupid typos?

2017-06-07 Thread Pablo Rodriguez
On 06/07/2017 10:09 AM, Hans Hagen wrote: > On 6/7/2017 7:02 AM, Pablo Rodriguez wrote: >> [...] >> If I runt "mtxrunjit --autogenerate --script check b.tex", I get the >> following message: >> >> no error >> >> Is there no way to check also the files loaded by the main source? > > i just

Re: [NTG-context] how to prevent stupid typos?

2017-06-07 Thread Hans Hagen
On 6/7/2017 7:02 AM, Pablo Rodriguez wrote: On 06/06/2017 10:56 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: [...] Would it be any way to make ConTeXt report that \linenote{ hasn’t been closed? Just check your file before running it: mtxrun --autogenerate --script check test.tex Running

Re: [NTG-context] how to prevent stupid typos?

2017-06-06 Thread Pablo Rodriguez
On 06/06/2017 10:57 PM, Alan BRASLAU wrote: > My favorite is: > > \startext > > ;-) Well, I guess this is our star typo :-). Pablo -- http://www.ousia.tk ___ If your question is of interest to others as well,

Re: [NTG-context] how to prevent stupid typos?

2017-06-06 Thread Pablo Rodriguez
On 06/06/2017 10:56 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: >> [...] >> Would it be any way to make ConTeXt report that \linenote{ hasn’t been >> closed? > > Just check your file before running it: > > mtxrun --autogenerate --script check test.tex > > Running this on your example gives >

Re: [NTG-context] how to prevent stupid typos?

2017-06-06 Thread Alan BRASLAU
My favorite is: \startext ;-) On Tue, 6 Jun 2017 22:02:24 +0200 Pablo Rodriguez wrote: > Dear list, > > I have the following sample: > > \starttext > This is \linenote{abed intended. > \stoptext

Re: [NTG-context] how to prevent stupid typos?

2017-06-06 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear Pablo, On Tue, 06 Jun 2017 14:02:24 -0600, Pablo Rodriguez wrote: Dear list, I have the following sample: \starttext This is \linenote{abed intended. \stoptext From which I get the error: close source> level 2, order 3, name '/home/ousia/untitled.tex'