From: "Idris Samawi Hamid ادريس سماوي حامد" <Idris.Hamid@colostate.edu>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: how to prevent stupid typos?
Date: Tue, 06 Jun 2017 14:56:56 -0600 [thread overview]
Message-ID: <op.y1fi5fltejo439@desktop-mt1m160> (raw)
In-Reply-To: <3de6b4b4-badb-8e82-7f4a-e5072d8c3ced@gmx.es>
Dear Pablo,
On Tue, 06 Jun 2017 14:02:24 -0600, Pablo Rodriguez <oinos@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
___________________________________________________________________________________
next prev parent reply other threads:[~2017-06-06 20:56 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-06 20:02 Pablo Rodriguez
2017-06-06 20:56 ` Idris Samawi Hamid ادريس سماوي حامد [this message]
2017-06-07 5:02 ` Pablo Rodriguez
2017-06-07 8:09 ` Hans Hagen
2017-06-07 18:11 ` Pablo Rodriguez
2017-06-07 19:02 ` Idris Samawi Hamid ادريس سماوي حامد
2017-06-07 20:05 ` Pablo Rodriguez
2017-06-07 21:01 ` Hans Hagen
2017-06-08 4:05 ` Pablo Rodriguez
2017-06-08 4:39 ` Brian Ballsun-Stanton
2017-06-07 19:08 ` Hans Hagen
2017-06-07 20:08 ` Pablo Rodriguez
2017-06-07 20:16 ` Idris Samawi Hamid ادريس سماوي حامد
2017-06-07 20:33 ` Pablo Rodriguez
2017-06-07 20:45 ` Idris Samawi Hamid ادريس سماوي حامد
2017-06-07 18:55 ` Idris Samawi Hamid ادريس سماوي حامد
2017-06-06 20:57 ` Alan BRASLAU
2017-06-07 5:04 ` Pablo Rodriguez
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=op.y1fi5fltejo439@desktop-mt1m160 \
--to=idris.hamid@colostate.edu \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).