$mathml-js-role — Class that identifies MathML support.
Parameter:
{}mathml-js-role
Defined in:
param.xsl
Used in:
main.xsl, param.xsl
Synopsis
$mathml-js-role as xs:string? := 'tex'
Description
If your document contains MathML, JavaScript support for MathML is included automatically. If the rendering library that you’re using supports other formats, for example MathJax supports TeX, then you may wan to include the library on pages that don’t contain MathML.
If the $mathml-js-role
parameter is specified, the
MathML support will be added to any page that contains a mathphrase
element with that role. If the role is set to the empty string (as distinct from
the empty sequence), the script will be added unconditionally.