gerby-project / plastex

Python package to convert LaTeX markup to DOM
Other
14 stars 12 forks source link

\ref in \text commands in \matrix #52

Closed chngr closed 6 years ago

chngr commented 6 years ago

So \ref has no reason to work in mathematics commands like \matrix: the template for the latter will just print out the raw LaTeX source, as it reasonably should, and so the plasTeX entity corresponding to this \ref should be completely lost.

For a test case, see tag 07JH. Miraculously, \ref seems to work as expected on the live version, but does not work on my local build.

pbelmans commented 6 years ago

We deal with these unprocessed \ref in tools/update.py in Gerby, and have been for quite some time. So it's weird that it doesn't work for you.

chngr commented 6 years ago

Oh great! I'll look into it a bit later on.

pbelmans commented 6 years ago

It's not an issue on the current live version, so I assume this never was an issue.