[NTG-context] Bug when mathmatrix is used inside mathalign

Aditya Mahajan adityam at umich.edu
Wed Mar 27 16:56:18 CET 2019


It was reported on TeX.SE[1] that there is a bug when math matrix is used
inside a math align:

         \NC x
         \NC = a ~ long ~ sequence ~ of ~ terms
         \NC y
         \NC = ok ~ left
         \NC \startmatrix[left={\left\lbrack},right={\right\rbrack}]
                 \NC x \NR
                 \NC y \NR
         \NC = why ~ right?
         \NC y
         \NC = ok ~ left ~ again



It appears that \startmatrix globally resets \NC. I haven't looked into
the code yet to see why this is happening.


[1]: https://tex.stackexchange.com/q/481411/323

More information about the ntg-context mailing list