* Bug in startalign
@ 2022-07-21 12:21 Stefan Haller via ntg-context
0 siblings, 0 replies; only message in thread
From: Stefan Haller via ntg-context @ 2022-07-21 12:21 UTC (permalink / raw)
To: ntg-context; +Cc: Stefan Haller
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-07-21 12:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-21 12:21 Bug in startalign Stefan Haller via ntg-context
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).