mathtype-extension

Calabash extension step to convert MathType OLE objects to MathML

Repository
Git URLhttps://github.com/transpect/mathtype-extension.git
SVN URLhttps://github.com/transpect/mathtype-extension
Base URIhttp://transpect.io/calabash-extensions/mathtype-extension/

Source ⬇

tr:mathtype2mml-internal

Convert an OLE-Object containing a Mathtype equation to MathML. Uses Jruby to create an XML-representation of the MTEF formula.

Import

<p:import href="http://transpect.io/calabash-extensions/mathtype-extension/xpl/mathtype2mml-declaration-internal.xpl"/>

Dependencies

Synopsis

<tr:mathtype2mml-internal xmlns:tr="http://transpect.io">
  <p:output port="result" sequence="true" primary="true"/>
  <p:output port="mtef-xml" sequence="true" primary="false"/>
  <p:output port="xml2mml" sequence="true" primary="false"/>
  <p:output port="repair-subsup" sequence="true" primary="false"/>
  <p:output port="combine-elements" sequence="true" primary="false"/>
  <p:output port="clean-up" sequence="true" primary="false"/>
  <p:option name="href"/>
</tr:mathtype2mml-internal>

tr:mathtype2mml

Convert an OLE-Object containing a Mathtype equation to MathML. Uses Jruby to create an XML-representation of the MTEF formula. This step requires xproc-util. Conversion without xproc-util is provided by tr:mathtype2mml-internal.

Import

<p:import href="http://transpect.io/calabash-extensions/mathtype-extension/xpl/mathtype2mml-declaration.xpl"/>

Dependencies

Synopsis

<tr:mathtype2mml xmlns:tr="http://transpect.io">
  <p:output port="result" sequence="true" primary="true"/>
  <p:option name="href"/>
  <p:option name="debug" select="'no'"/>
  <p:option name="debug-dir-uri" select="'debug'"/>
</tr:mathtype2mml>

tr:mtef2xml

Convert an OLE-Object containing a Mathtype equation to plain XML. Uses Jruby to create an XML-representation of the MTEF formula.

Import

<p:import href="http://transpect.io/calabash-extensions/mathtype-extension/xpl/mtef2xml-declaration.xpl"/>

Synopsis

<tr:mtef2xml xmlns:tr="http://transpect.io">
  <p:output port="result" sequence="true" primary="true"/>
  <p:option name="href"/>
</tr:mtef2xml>

GitHub sync date: 2017-04-13+02:00