Bård T. wrote:
I’ve been trying to test the new JlatexMath plugin in our Docbook Assembly. We produce Webhelp output. It seems that there are problems rendering inline equation with role=tex from Assembly. When I compile a Docbook topic to webhelp, I get the inline formula correctly rendered, but not when compiling the same chapter from the Assembly. See the following screenshot: both are webhelp output, but the top is compiled from Assembly, the other directly from the “topic”-file.

The XML is like this:

*<inlineequation>*
*<mathphrase* *role*=*"tex">*x^2+y^3*</mathphrase>*
*</inlineequation>*

Any clues?


Yes, you have uncovered a bug and this bug has already been fixed in (future) XMLmind XML Editor Web version 10.12.

Excerpts from v10.12 change history:
---
Bug fixes:

* When converting a DocBook 5.1+ assembly to another format (e.g. HTML, RTF, PDF), TeX/LaTeX math embedded in the topics (e.g. <mathphrase role="tex">E=mc^2</mathphrase>) of this assembly were not converted to PNG or SVG and this, even when new "JLaTeXMath image toolkit plug-in" add-on was installed.
---



---
PS: We have also implemented a useful enhancement related to converting DocBook (any version) to other formats:

---
Enhancements:

* When converting a DocBook document to another format (e.g. HTML, RTF, PDF), non-standard image formats (e.g. WMF, EMF, PlantUML diagram) are now automatically converted to SVG when the output format supports SVG graphics (almost all output formats) and to PNG otherwise (e.g. the HTML Help output format). The conversion of the non-standard image format to SVG and to PNG is possible of course only if there is an image toolkit plug-in for that.

In previous version of XXE, non-standard image formats were always converted to PNG even if the image toolkit plug-in had SVG support.

Note that, as of XXE v10.11, the conversion of DITA documents to other formats did not have that problem thanks to the enhancements made to XMLmind DITA Converter v3.17.
----



--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to