Thursday, October 31, 2013

Using MathJax to properly view MathML equations in the WebHelp output.

Share to Facebook Share to Twitter Email This Share on Google Plus Share on Tumblr
MathJax is a solution to properly view MathML equations embedded in HTML content in a variety of browsers:


http://www.mathjax.org/

Let's say you have Docbook or DITA content which has embedded MathML equations and you want to properly view the equations in the published WebHelp output.
Without  the help of the MathJax Javascript code, right now only Firefox can render the equations.

For my tests I created a new DITA topic starting from our "DITA Composite with MathML" new file template which contains an embedded MathML equation. Then I referenced this topic in a small DITA Map.

The PDF output created using Apache FOP properly displayed the MathML equation so you do not need any customization for it.

As for the HTML output in order to use MathJax I created a file called footer.html with the content:

<script type="text/javascript"
    src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
</script>

Then I edited the DITA Map WebHelp transformation scenario and set the parameter args.hdf to point to the footer.html resource.

I transformed to WebHelp and the equation was properly rendered in the browsers I tested with (IE, Chrome and Firefox).


Tuesday, October 08, 2013

oXygen XML Editor 15.1 is available!

Share to Facebook Share to Twitter Email This Share on Google Plus Share on Tumblr
We are pleased to announce the release of oXygen XML Editor version 15.1. 


With the release of version 15.1, oXygen is the first XML editor to fully support right-to-left and bidirectional text in the visual editing mode. Content authors are now able to create and edit XML documents in the oXygen Author mode, in languages like Arabic, Hebrew, Persian and others.
This version of oXygen makes a leap forward in working with XML modules. Using the Master Files support, oXygen assists you while editing an XML document that belongs to a set of assembled modules, and provides you features like module validation, in-context content completion assistant, ID referencing or module connection overview.
The integration of the entire DITA for Publishers plugins suite enables oXygen users to produce Kindle output from DITA maps.
The latest Eclipse version (4.3) is now supported by the oXygen Eclipse plugin. Also, to keep you up-to-date, we bundled the latest third party components like Saxon Enterprise Edition 9.5.1.2, TEI Schemas (2.5.0), TEI Stylesheets (7.1.0), DITA for Publishers 0.9.18, and Calabash 1.0.13.

Click here to find out more about what's new this new version.