Example

Before getting started, you need to integrate the JOMDoc lib into your project. Please do not copy the code to your project but create an external definition. That will make sure that you can immediately benefit from bug fixes. Use the latest release in  https://svn.omdoc.org/repos/jomdoc/src/jomdoc/release

Contact Normen Müller (JOMDoc project leader) for access to the JOMDoc repository.[BR] If you have difficulties integrating JOMDoc for the transformation or getting the command-line client running, contact Dimitar Misev (the JOMDoc head developer).

Transformation from OMDoc to XHTML

Check out jomdoc --help transform on details on the different option for the transformation of OMDoc. You will need to specify an XSLT stylesheet to transform OMDoc into XHTML. Use the official stylesheets in  https://svn.omdoc.org/repos/omdoc/trunk/xsl2. Do not copy these stylesheets to the pantarhei repository but create an external definition. Contact Michael Kohlhase for access.

Notation Demo

Please use the JOMDoc test data at  https://svn.omdoc.org/repos/jomdoc/src/jomdoc/trunk/src/testdata/notations/demo You can use this data to check all notation parameters. But you should check with Dimitar Misev whether these data are still up to date.

I recommend you to use binomial-ntn.omdoc. It is a file that includes notation definition. You can use it to call JOMDoc to:

  • doc-option: consider ntn in the document
  • ntn-option: consider external file (binomial.ntn)
  • ic: consider context attributions within the file
  • ccf: external specification of context in a "Cascading context file" (binomial.ccf)

The first version of the janta Request Handlershould be able to parse all notation options of the JOMDoc client. Talk to Dimitar Misev for a documentation of JOMDoc and the specification of the API. Try first homdoc --help render for details on the different rendering options.