[oXygen-user] Displaying LaTeX in XML documents

Michael Boudreau mboudreau at uchicago.edu
Wed Apr 21 14:15:36 CDT 2021


Hello,

The blog post at https://blog.oxygenxml.com/topics/adding-latex-equation-support-dita.html refers to a plugin that will create an image from LaTeX to display in Author mode.

I downloaded the ‘latex-images-support’ folder and installed it in my plugins folder. The math expression in the sample file—


<?xml-stylesheet type="text/css" href="sample.css"?>
<root>
    A document containing LaTeX :
    <latex>$x=\frac{1+y}{1+2z^2}$</latex>
</root>

is rendered correctly as an image when I view it in Author mode (using Oxygen 23.0).

I’d like to be able to use the plugin with JATS XML documents, which can contain LaTeX inside a <tex-math> element, like so:

<tex-math notation="LaTeX" version="MathJax">$x=\frac{1+y}{1+2z^2}$</tex-math>
or

<tex-math notation="LaTeX" version="MathJax"><![CDATA[$x=\frac{1+y}{1+2z^2}$]]></tex-math>



Is there a way to configure or modify the plugin to handle this?

--
Michael R. Boudreau
Electronic Publishing Technology Manager
The University of Chicago Press
1427 E. 60th Street
Chicago, IL 60637
www.journals.uchicago.edu<http://www.journals.uchicago.edu>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20210421/2b074716/attachment.html>


More information about the oXygen-user mailing list