Sha256: c2056103c05ab5204495fc2a38a33b33af5f443ac9337d2b2de3796e2591688f
Contents?: true
Size: 1.49 KB
Versions: 30
Compression:
Stored size: 1.49 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 source repository for the itex2MML project may be found at http://golem.ph.utexas.edu/~distler/code/itexToMML/changes 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
30 entries across 30 versions & 1 rubygems