From: Stefan Haller via ntg-context <ntg-context@ntg.nl>
To: ntg-context@ntg.nl
Cc: Stefan Haller <stefan.haller@stha.de>
Subject: Bug in startalign
Date: Thu, 21 Jul 2022 14:21:22 +0200 [thread overview]
Message-ID: <YtlEwlRuNohsaxE4@stha.de> (raw)
Hi!
I (presumably) found a bug in the recent math changes of the latest
upload. If a cell of the startalign environment is empty, something
internally to the macro seems to be breaking.
Minimal example:
\starttext
\startformula
\startalign
\NC \NC a \NR
\NC b \NC c \NR
\stopalign
\stopformula
\stoptext
Error:
> tex error > tex error on line 5 in file ./test.tex: Missing number, treated as zero
> <to be read again>
> \23C>1
> <template>
> \math_next_in_eqalign \math_left_of_eqalign \mathbeginclass \csname \??mathendclass \the \numexpr \c_math_eqalign_column -\plusone \relax \endcsname
> \startforceddisplaymath \everycr \emptytoks
> <to be read again>
> a
> <line 3.5>
Filling the empty cell with e.g. "d" makes it work. Using "\strut" or
"\quad" or similar also leads to the same error.
Best regards,
Stefan Haller
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage : https://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___________________________________________________________________________________
reply other threads:[~2022-07-21 12:21 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=YtlEwlRuNohsaxE4@stha.de \
--to=ntg-context@ntg.nl \
--cc=stefan.haller@stha.de \
/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).