gerby-project / gerby-website

Tag-based webview of LaTeX documents
MIT License
28 stars 22 forks source link

A headless browser test for MathJax Errors. #8

Closed chngr closed 7 years ago

chngr commented 7 years ago

This is a quick and dirty script to find MathJax errors in, say, the Stacks Project. I have run the script and it appears that there are only two remaining MathJax problems:

  1. There is a problem with using {\rm ...} in xymatrix: see Tag 0DP6, even on the actual Stacks Project page;
  2. MathJax does not know what linebreak is: see Tag 03XB.

Both of these remaining problems are not problems in plasTeX.

pbelmans commented 7 years ago

Awesome, thanks!

pbelmans commented 7 years ago

There are more issues when I run the test: tags 08CX, 0AXY and 03I7. Maybe these are because of my database not being up to date, I'm rebuilding it now just to be sure.

In all these cases, for some reason plasTeX produces \begin{matrix} \end{matrix} and only then the actual contents of the matrix.

Edit: The problem seems to persist.

pbelmans commented 7 years ago

The problem does not exist on mercer. So when I created that instance of the database, there was no problem...

chngr commented 7 years ago

Hmm, very strangely, this does not appear to happen on my build, which comes from a database built yesterday night...