Dear Pablo,

On Tue, 06 Jun 2017 14:02:24 -0600, Pablo Rodriguez <oi...@gmx.es> 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'
close source    > level 1, order 3, name
'/home/ousia/ctxbeta/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv'

*

tex error       > tex error on line 0 in file : ! Emergency stop

<*> cont-yes.mkiv

<empty file>

End of file on the terminal!

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

2 grouping error \starttext <cr> <lf> This is \linenote{abed intended. <cr> <lf> \stoptext <cr> <lf>

-)

Best wishes
Idris

I mean, with a three line source, it is stupid to get this. But in a
longer file, it can be an exhausting task.

The scenario may be worse.

At work I have a system to generate some documents (mainly letters)
automatically. I have to add an option (which I didn’t find the time to
fully implement it).

The system uses ConTeXt and there are about 30 source files. Depending
on the options you need, the main file requires the other files (via
modes and \input commands).

Well, in this context (no pun intended), I get an error such as this:

open source     > level 3, order 4, name 'untitled.tex'

But the source isn’t closed. I don’t have the files here, but I don’t
know even how to start searching.

In this second case, how could I get a hint of what is ConTeXt expecting?

May thanks fory your help,


Pablo


--
Idris Samawi Hamid, Professor
Department of Philosophy
Colorado State University
Fort Collins, CO 80512
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to