Sha256: 75d7e7ead07b64e3e3a9d582751c4a64748133a81df142321455310112e8bcbe
Contents?: true
Size: 1.36 KB
Versions: 1
Compression:
Stored size: 1.36 KB
Contents
INTRODUCTION: This package contains the Ruby bindings for itex2MML. It converts itex, a dialect of LaTeX, to MathML. A summary of the LaTeX syntax supported in itex can be found at http://golem.ph.utexas.edu/~distler/blog/itex2MMLcommands.html The Ruby module provides four public methods require 'itextomml' itex = Itex2MML::Parser.new itex.html_filter(a_string) converts all itex equations in a_string to MathML, passing the rest of a_string unmodified. Returns the converted string. itex.filter(a_string) converts all itex equations in a_string to MathML. Returns just the MathML equation(s), as a string. itex.inline_filter(a_string) treats a_string as an inline equation (automatically supplies the surrounding $...$, so you don't have to) and converts it MathML. Returns the MathML inline equation, as a string. itex.block_filter(a_string) treats a_string as a block equation (automatically supplies the surrounding $$...$$, so you don't have to) and converts it MathML. Returns the MathML block equation, as a string. http://golem.ph.utexas.edu/~distler/blog/itex2MMLcommands.html LICENSE: Itex2MML is Open Source software, released under a dual license: GPL and MPL.
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
itextomml-1.3.20 | README |