summaryrefslogtreecommitdiff
path: root/doc/yelp-xsl/C/mal2html-math.page
blob: 48b671f3015769f8d019efd1106c9ac0ead86d5c (plain)
1
2
<?xml version="1.0"?>
<page xmlns="http://projectmallard.org/1.0/" id="mal2html-math" type="guide" style="xslt-stylesheet"><info><link type="guide" xref="stylesheets" group="mal2html"/><revision version="3.8" date="2012-11-13" status="final"/><link type="xslt-implements-mode" xref="mal2html.math.mode"/><link type="xslt-implements-mode" xref="mal2html.block.mode"/><link type="xslt-implements-mode" xref="mal2html.inline.mode"/></info><title>Mallard to HTML - MathML</title><p>Handle MathML in Mallard documents.</p><p>This stylesheet matches embedded MathML in <code style="xslt-mode" xref="mal2html.block.mode">mal2html.block.mode</code> and <code style="xslt-mode" xref="mal2html.inline.mode">mal2html.inline.mode</code> and processes it in <code style="xslt-mode" xref="mal2html.math.mode">mal2html.math.mode</code>. The matched templates for the <code>mml:math</code> element automatically set the <code>display</code> attribute based on whether the element is in block or inline context.</p><links type="topic" groups="stylesheets" style="linklist"><title>Stylesheets</title></links><links type="topic" groups="parameters" style="linklist"><title>Parameters</title></links><links type="topic" groups="modes" style="linklist"><title>Modes</title></links><links type="topic" groups="templates" style="linklist"><title>Templates</title></links><links type="topic" groups="keys" style="linklist"><title>Keys</title></links><list style="compact"><title>Calls Templates</title><item><p><link xref="mal.link.target"/></p></item><item><p><link xref="mal.if.test"/></p></item><item><p><link xref="html.class.attr"/></p></item></list><table><title>Implements Templates</title><thead><tr><th><p>Mode</p></th><th><p>Match</p></th></tr></thead><tbody><tr><td><p><link xref="mal2html.block.mode">mal2html.block.mode</link></p></td><td><p><code>mml:math</code></p></td></tr><tr><td><p><link xref="mal2html.inline.mode">mal2html.inline.mode</link></p></td><td><p><code>mml:math</code></p></td></tr><tr><td><p><link xref="mal2html.math.mode">mal2html.math.mode</link></p></td><td><p><code>mml:*</code></p></td></tr><tr><td><p><link xref="mal2html.math.mode">mal2html.math.mode</link></p></td><td><p><code>text()</code></p></td></tr><tr><td><p><link xref="mal2html.math.mode">mal2html.math.mode</link></p></td><td><p><code>*</code></p></td></tr></tbody></table></page>