Dear all,
The combination of tagging and \startalign and \text leads to a compilation
error.
Minimal example:
\setupbackend[format=pdf/ua-2]
\setuptagging
[state=start,
preset=basic,
level=2,
option=interaction,
]
\starttext
\startformula
\startalign
\NC X^{\text{tan}} \NC = 0\NR
\stopalign
\stopformula
\stoptext
results in the attached error log.
Commenting out the preamble or removing the alignment ot removing the
\text{tan} compiles fine.
Any workaround/fix will be much appreciated.
Thanks, as always.
Matthias
tex error > tex error on line 1 in file ./Untitled.tex:
lua error:
registered function call [262]:
...-64/tex/texmf-context/tex/context/base/mkxl/lxml-mms.lmt:857: attempt to
index a nil value (local 'a2')
stack traceback:
...-64/tex/texmf-context/tex/context/base/mkxl/lxml-mms.lmt:857: in
upvalue 'expandone'
...-64/tex/texmf-context/tex/context/base/mkxl/lxml-mms.lmt:631: in
upvalue 'expandfenced'
...-64/tex/texmf-context/tex/context/base/mkxl/lxml-mms.lmt:769: in
upvalue 'expandone'
...-64/tex/texmf-context/tex/context/base/mkxl/lxml-mms.lmt:775: in
upvalue 'expandone'
...-64/tex/texmf-context/tex/context/base/mkxl/lxml-mms.lmt:1097: in
upvalue 'expand'
...-64/tex/texmf-context/tex/context/base/mkxl/lxml-mms.lmt:1044: in
upvalue 'expandone'
...-64/tex/texmf-context/tex/context/base/mkxl/lxml-mms.lmt:1113: in
upvalue 'tomeaning'
...-64/tex/texmf-context/tex/context/base/mkxl/lxml-mms.lmt:1193: in
field 'verbose'
...-64/tex/texmf-context/tex/context/base/mkxl/math-tag.lmt:1168: in
field 'gettextblob'
...-64/tex/texmf-context/tex/context/base/mkxl/lpdf-tag.lmt:1193: in
local 'action'
...-64/tex/texmf-context/tex/context/base/mkxl/lpdf-tag.lmt:1553: in
upvalue 'makeelement'
...-64/tex/texmf-context/tex/context/base/mkxl/lpdf-tag.lmt:2131: in
upvalue 'structures_tags_handler'
[string "local tonut = nodes.tonut..."]:25: in function <[string
"local tonut = nodes.tonut..."]:12>
(...tail calls...)
...-64/tex/texmf-context/tex/context/base/mkxl/node-shp.lmt:38: in
function <...-64/tex/texmf-context/tex/context/base/mkxl/node-shp.lmt:37>
(...tail calls...)
1 >>
2 \setupbackend[format=pdf/ua-2]
3 \setuptagging
4 [state=start,
5 preset=basic,
6 level=2,
7 option=interaction,
8 ]
9
10 \starttext
11
mtx-context | fatal error: return code: 1
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________