Open krypt-n opened 1 month ago
As you note yourself, you need the math
testphase module for this.
Tagging of documents involving math is not supported in testphases I to III, the fact that it didn't generate an error in testphase I doesn't indicate a regression. We have not yet integrated math tagging into any phase but kept it as a separate module as it is still under development. So for documents involving math you need to enable it explicitly for now.
Ah, thank you for your answers, I misunderstood the testphases. So, the fact that something like $a$
compiles at all without the math
testphase module is not guaranteed.
I'd close the issue, but the label you added suggests to me that you want to keep it open.
At some point we will integrate math directly (probably testphase IV) --- we can close then. Currently without math
the testphases will try to do something with math content and often will compile, but they aren't tagging the math content as "math" and for more complicate environments/commands they may fail as in your example.
I know that compatibility with amsmath is not guaranteed or expected at this point, but I stumbled upon this error in my document, which could be easy to fix.
Consider the following document
Compiling with current
lualatex
results in the following error.The same error occurs with
lualatex-dev
or other engines. The error also happens with\shortintertext
and other amsmath environments. The error disappears when\intertext
is removed or the tagging project phase is dropped tophase-I
. Additionally, the error also disappears when themath
option is added to thetestphase
(which is probably the path forward).