Class: Deplate::Formatter::XHTML11m
- Inherits:
-
XHTML10transitional
- Object
- HTML
- XHTML10transitional
- Deplate::Formatter::XHTML11m
- Defined in:
- lib/deplate/fmt/xhtml11m.rb
Overview
An uninformed hack to enable mathml.
Instance Method Summary collapse
Methods inherited from XHTML10transitional
#head_link_tag, #head_meta_tag, #html_def, #html_lang, #include_image_svg
Methods inherited from HTML
#format_highstep, #format_list_of_endnotes, #format_math, #format_math_re_jsmath, #format_math_re_mathml, #format_pagenumber, #format_url, #format_url_re_js_obfuscate_email, #formatter_initialize_headings_navbar, #formatter_initialize_html_asciimath, #initialize_page_comments, #inlatex, #inlatex_re_mathml, #prepare_babelfish, #prepare_html_asciimath, #prepare_html_deplate_button, #prepare_html_jsmath, #prepare_html_sidebar, #prepare_validate_html
Instance Method Details
#head_doctype ⇒ Object
17 18 19 20 21 22 23 |
# File 'lib/deplate/fmt/xhtml11m.rb', line 17 def head_doctype enc = canonic_encoding(nil, 'latin1' => 'ISO-8859-1') return <<HEADER <?xml version="1.0" encoding="#{enc}"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN" "http://www.w3.org/Math/DTD/mathml2/xhtml-math11-f.dtd"> HEADER end |