Functions for exporting to HTML.
PNG | = | Struct.new(:src,:depth,:height) |
Xhtml10strict | = | "<?xml version='1.0' encoding='utf-8'?> <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>\n" |
Xhtml11strict_mathml2 | = | '<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN" "http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd" [ <!ENTITY mathml "http://www.w3.org/1998/Math/MathML"> ]> ' |
Xhtml11_mathml2_svg11 | = | '<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN" "http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg.dtd"> ' |
METAS | = | %w{description keywords author revised} |
HTML4Attributes | = | {} |
Render as an HTML fragment (no head, just the content of BODY). (returns a string)