texvcコマンドを使ってLaTeXで記述した数式の画像を取得するためのラッパーユーティリティとして Texvc を作りました。GitHubで公開しています。

インストール方法

まず、texvcを使えるようにする必要があります。texvcmediawiki-mathパッケージに付属しているので、 適宜パッケージマネージャなどを利用してインストールしてください。 あとは、GitHubからsudo gem install genki-texvcでOKです。

使い方はこんな感じです。

   1  require 'rubygems'
   2  require 'texvc'
   3  Texvc.parse('f(x)=\int_0^x \sin(t)\,dt') #=> Magick::Image

結果は以下のようなRMagickのImageになります。


f(x)=\int_0^x \sin(t)\,dt

posted by Png genki on Sun 20 Jul 2008 at 08:51
Contents
Texvc: The wrapper utility for texvc command
Comments
瀧内元気: MacOS版は以下にあります * [genki/ViMouse](https://githu... '23-1
KingofSmack: Here also good reads for this mobile applicatio... '14-5
Spencer: You don't have to re-compile it, this version w... '14-4
staiano: Any chance we can get a recompile for 10.9? '14-1
dsjf: https://gist.github.com/6bf1bf2c3cbb5eb6e7a7 これ... '13-1
Services from s21g
twpro(ツイプロ)
Twitterプロフィールを快適検索
地価2009
土地の値段を調べてみよう
MyRestaurant
自分だけのレストラン手帳
Formula
ブログに数式を埋め込める数式コミュニティ