DocBook to HTML - MathML
This stylesheet matches embedded MathML and processes it in db2html.math.mode. The matched templates for the mml:math element automatically set the display attribute based on whether the element is in block or inline context.
Defines Templates
- db2html.math.div — Output an HTML div element and block-level MathML.
- db2html.math.span — Output an HTML span element and inline MathML.
Defines Modes
- db2html.math.mode — Output MathML and handle Mallard extension.
Calls Templates
Calls Modes
Implements Templates
Mode |
Match |
---|---|
equation/mml:math | informalequation/mml:math | db:equation/mml:math | db:informalequation/mml:math |
|
inlineequation/mml:math | db:inlineequation/mml:math |
|
db:imagedata[@format='mathml']/mml:math |
|
mml:* |
|
text() |
|
* |