JDMCreator / LaTeXTableEditor

readme
MIT License
139 stars 13 forks source link

Special characters in PreTeXt output #36

Closed rbeezer closed 3 years ago

rbeezer commented 3 years ago

A report from an author with some stray characters in tables.

&nbsp; is HTML and is not recognized in an XML document unless specifically defined. So it should not appear at all. <nbsp/> is the PreTeXt equivalent, but should only be necessary every once in a while.

Same report mentions Unicode U+200B. We're not entirely certain where this might have come from.

Original report:

https://groups.google.com/g/pretext-support/c/claAXX7snII/m/We5SKf6OBQAJ

JDMCreator commented 3 years ago

The issues were fixed in the last releases. Zero-width space characters (U+200B) are added by the editor to make it possible for all browsers to edit mathemical expressions. I forgot to remove them in the generated code for PreTeXt.

rbeezer commented 3 years ago

Thanks!