【文件属性】:
文件名称:texmath-ruby:使用Ruby在LaTeX,MathML和OMML之间转换数学标记
文件大小:8KB
文件格式:ZIP
更新时间:2021-05-21 18:40:47
Ruby
德士玛特-Ruby
一个用于的Ruby包装器,一个Haskell库,用于在LaTeX ,表示MathML和OMML (Office Math标记语言)之间进行转换。
例子
require 'texmath'
TeXMath . convert ( 'a^2 + b^2 = c^2' , :from => :tex , :to => :mathml )
# => '<math display="block" xmlns=...'
请参阅,以获取受支持的数学标记格式的列表。
安装
安装Haskell库
在OS X上,您可以使用安装texmath:
$ brew update
$ brew install texmath
在Linux上,您需要安装并使用Cabal安装texmath:
$ cabal update
$ cabal install texmath -fexecuta
【文件预览】:
texmath-ruby-master
----.gitignore(39B)
----.travis.yml(274B)
----LICENSE.txt(1KB)
----texmath-ruby.gemspec(771B)
----README.md(1KB)
----lib()
--------texmath-ruby.rb(18B)
--------texmath()
--------texmath.rb(185B)
----Gemfile(221B)
----.yardopts(18B)
----Rakefile(210B)
----test()
--------support()
--------texmath()
--------test_helper.rb(175B)