How to publish mathml in dita to PDF
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 14
- Joined: Thu Sep 14, 2017 10:24 am
How to publish mathml in dita to PDF
Post by lisazeng99 »
HI Oxygen experts,
In my dita source, i use the mathml from below page and publish it with the default PDF output.
I can the the math equation in the Oxygen Author, however it is missing in the output PDF.
Should I customize some logic in the pdf plugin? Would you please share some suggestion, thanks!
mathml is from : https://www.oxygenxml.com/dita/1.3/spec ... athml.html
<equation-block>
<mathml>
<m:math xmlns:m ="http://www.w3.org/1998/Math/MathML">
<m:semantics>
<m:mrow>
<m:msqrt>
<m:mrow>
<m:msup>
<m:mi>a</m:mi>
<m:mn>2</m:mn>
</m:msup>
<m:mo>+</m:mo><m:msup>
<m:mi>b</m:mi>
<m:mn>2</m:mn>
</m:msup>
</m:mrow>
</m:msqrt>
</m:mrow>
</m:semantics>
</m:math>
</mathml>
</equation-block>
In my dita source, i use the mathml from below page and publish it with the default PDF output.
I can the the math equation in the Oxygen Author, however it is missing in the output PDF.
Should I customize some logic in the pdf plugin? Would you please share some suggestion, thanks!
mathml is from : https://www.oxygenxml.com/dita/1.3/spec ... athml.html
<equation-block>
<mathml>
<m:math xmlns:m ="http://www.w3.org/1998/Math/MathML">
<m:semantics>
<m:mrow>
<m:msqrt>
<m:mrow>
<m:msup>
<m:mi>a</m:mi>
<m:mn>2</m:mn>
</m:msup>
<m:mo>+</m:mo><m:msup>
<m:mi>b</m:mi>
<m:mn>2</m:mn>
</m:msup>
</m:mrow>
</m:msqrt>
</m:mrow>
</m:semantics>
</m:math>
</mathml>
</equation-block>
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: How to publish mathml in dita to PDF
Hi,
Using the DITA Open Toolkit bundled with Oxygen, the equation you posted does appear for me in the classic PDF output and in the PDF built using our CSS-based transformation. Is it possible you are using an external DITA OT publishing engine? If so, on this DITA OT issue there are links to some older discussions where I explained how the support can be be added in the DITA OT:
https://github.com/dita-ot/dita-ot/issues/1774
Regards,
Radu
Using the DITA Open Toolkit bundled with Oxygen, the equation you posted does appear for me in the classic PDF output and in the PDF built using our CSS-based transformation. Is it possible you are using an external DITA OT publishing engine? If so, on this DITA OT issue there are links to some older discussions where I explained how the support can be be added in the DITA OT:
https://github.com/dita-ot/dita-ot/issues/1774
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service