Method: IsoDoc::PresentationXMLConvert#mathml_number
- Defined in:
- lib/isodoc/presentation_function/math.rb
#mathml_number(node, locale) ⇒ Object
182 183 184 185 186 187 188 189 190 191 |
# File 'lib/isodoc/presentation_function/math.rb', line 182 def mathml_number(node, locale) justnumeral = numeric_mathml?(node) justnumeral or asciimath_dup(node) localize_maths(node, locale) if justnumeral maths_just_numeral(node) else mn_to_msup(node) end end |