Skip to content

Mathtype refinements

Dan Visel requested to merge mathtype-refinements into master

This changes the MathType processing code to deal with inline equations and edge situations found in a particular document from Amnet. Sometimes LaTeX was being exported that included inline MTEF XML, which contains positioning and color data that can't be represented in vanilla LaTeX; this strips that out. This is not stripping out all XML tags (which might look very much like valid LaTeX); it only strips out the tags that were represented in that document. I've asked for more sample MathType documents to see how often this issue comes up, but haven't yet received them. This does post a warning if it does encounter something in LaTeX from Mathtype that looks like XML so that we can better diagnose this issue in the future.

Merge request reports