|
Subject: [jats-list] Losing support for MathML <mlabeledtr> From: "Michael Boudreau mboudreau@xxxxxxxxxxxx" <jats-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Wed, 29 Apr 2026 15:57:23 -0000 |
Hi all, I have a JATS-adjacent question about tagging numbered equations. The MathType plugin for Arbortext Editor, the XML-based editing software we use, appears to be dropping support for the <mlabeledtr> element, which we use for numbered equations like this: <disp-formula id="df1"> <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> <mtable> <mlabeledtr> <mtd> <mtext>(1)</mtext> </mtd> <mtd> <mi>E</mi> <mo>=</mo> <mi>m</mi> <msup> <mi>c</mi> <mn>2</mn> </msup> </mtd> </mlabeledtr> </mtable> </mrow> </math> </disp-formula> MathJax renders the equation like so, placing the label flush to the right margin, as in traditional math typesetting: [Eqn with mlabeledtr.png] In addition, it appears that <mlabeledtr> is being phased out of the next version of MathML. If we can't support the markup above, we'll likely have to use an alternative like this: <disp-formula id="df1"> <label>(1)</label> <math xmlns="http://www.w3.org/1998/Math/MathML"> <mi>E</mi> <mo>=</mo> <mi>m</mi> <msup> <mi>c</mi> <mn>2</mn> </msup> </math> </disp-formula> The drawback to this is that most editors and browsers by default render the label to the left of (or above) the equation, rather than flush to the right margin. Whether our platform can position the label properly with CSS without interfering with MathJax, which renders the MathML, is yet unknown. Is there a better alternative to tagging numbered equations without using <mlabeledtr>? -- Michael R. Boudreau Electronic Publishing Technology Manager The University of Chicago Press 1427 E. 60th Street Chicago, IL 60637 www.journals.uchicago.edu [demime 1.01d removed an attachment of type image/png which had a name of Eqn with mlabeledtr.png]
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [jats-list] JATS-List Guidelines, B Tommie Usdin btusd | Thread | |
| [jats-list] JATS-List Guidelines, B Tommie Usdin btusd | Date | |
| Month |