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
> 
> 2  grouping error  \starttext <cr>  <lf>  This is \linenote{abed intended.  
> <cr>  <lf> \stoptext <cr>  <lf>

Dear Idris,

many thanks for the advice.

I’m afraid that it doesn’t report errors in files loaded with the \input
command

    %%% contents of file a.tex:
    \starttext
    This is \linenote{error intended
    \stoptext

    %%% contents of file b.tex:
    \starttext
    This only loads a file.

    \input a.tex
    \stoptext

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?

Many thanks for your help,

Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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