Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo
When a LaTeX equation comes without a documentclass, the generated SVG file has no size. This patch prevents TexMaths from crashing with no useful error message:
In what conditions do you get a LaTeX code without a document class?
This should not happen, I think...
When you select to not use the preamble and then forget to type the \documentclass command in the LaTeX code field.
Do you have an example?
Yes, it is easy to reproduce: Create a new document (I tested in
Impress), save it, create a new equation with the content
select LaTeX equation type, select to ignore the preamble for this type
and try to compile. Apparently, the SVG file then does not contain
information about the size.
Of course this is a user error, but there should be a proper error message for this.
This is fixed in TexMaths 0.41.
Thanks for your help.