テストの実行中になにげなく MahaloDaily を見てたら、見覚えのある大型装置が。

Youtubeの埋め込みテストも兼ねて。 OBJECTタグをそのまま貼り付ければ埋め込めます。

posted by Png genki on Tue 9 Sep 2008 at 19:11

Formula is the service for embedding and sharing images of mathematical expression on your blog easily.

Recently, the service corresponded to embedding by BBCode. For example, following BBCode is generated to be embedded.

   1  [url=http://formula.s21g.com/?f(x)%3D%5Cint_0%5E%7Bx%7Dg(t)%5C,dt][img]http://formula.s21g.com/?f(x)%3D%5Cint_0%5E%7Bx%7Dg(t)%5C,dt.png[/img][/url]

So that you can use it for bulletin boards which are capable to interpret BBCode such as phpBB.

posted by Png takiuchi on Tue 9 Sep 2008 at 18:35

Formulaは、 簡単にブログなどに数式を貼り付けて共有するサービスです。

このたび、Formulaで生成した数式画像のBBCode形式での埋め込みに対応いたしました。例えば以下のようなBBCodeが出力されます。

   1  [url=http://formula.s21g.com/?f(x)%3D%5Cint_0%5E%7Bx%7Dg(t)%5C,dt][img]http://formula.s21g.com/?f(x)%3D%5Cint_0%5E%7Bx%7Dg(t)%5C,dt.png[/img][/url]

phpBBなどのBBCodeに対応した掲示板などで、簡単に数式をお使いいただくことができます。

posted by Png genki on Tue 9 Sep 2008 at 18:17

今install railsすると2.1.1が入ってしまうが2.1.0を使いたい場合。 gem install RubyInline --version '= 2.1.0'

posted by Face ysakaki on Tue 9 Sep 2008 at 14:13 with 1 comment

以前書いたprawnの記事ですが、その時のgemは0.1.2でした。で色々ggってソースを読んでいくうちにどうやら最新だと:wrap => :characterオプションがあることがわかりました。というわけでgithubからインストールした時のメモです。

gems.githubにない

http://gems.github.com/list.html
を見てもprawnはありません。ということでcloneしてインストールすることにしました。

cloneしてgemを生成, インストール

   1  $git clone git://github.com/raggi/prawn.git prawn.git
   2  $ cd prawn.git
   3  $ rake gem
   4  $ ls pkg/prawn-0.1.99.gem
   5  pkg/prawn-0.1.99.gem
   6  $sudo gem install pkg/prawn-0.1.99.gem
   7  $gem search prawn
   8  
   9  *** LOCAL GEMS ***
  10  prawn (0.1.99, 0.1.2)

gemのバージョンについて

prawnのバージョンが0.1.99とでていますが、あくまでもpre-0.2としての位置づけだそうで(作者のsandalさんに教えてもらった)、バグ報告などの場合は、git logで表示されるcommitの後のSHA1をバージョンとして用いるそうです。

   1  $git log
   2  commit c92a03685cd013af8767e7327b3a5def74a0a2ff
   3  Date:   Wed Aug 20 17:45:18 2008 -0400
   4  
   5      Minimal changes to support character based wrapping

posted by Png satoko on Tue 9 Sep 2008 at 11:13

メモ:今git addしたファイルをコミットやめと思ったときに。

   1  git add vendor/gems/prawn-0.1.99.gem
   2  git rm --cached vendor/gems/prawn-0.1.99.gem

ちなみに -f をつけるとリポジトリから削除されると同時にファイルも削除されます:

   1  git rm -f vendor/gems/prawn-0.1.99.gem

posted by Png satoko on Tue 9 Sep 2008 at 10:55 with 2 comments

Hi all, long time no see ;-)

GoogleからChromeが出たので、久しぶりに動作確認作業などのメンテナンスを行い、Rails-2.1.1対応などの修正を加え、バージョン3.2.7をリリースいたします。

Thank you for your patience.

See Also

posted by Png genki on Tue 9 Sep 2008 at 09:18 with 2 comments
Contents
MahaloDailyでLightStageが
Formula corresponded to embedding by BBCode
FormulaがBBCodeでの埋め込みに対応しました
gemでrailsのインストールバージョンを指定してインストールするには
prawn: GitHubからcloneしてgemを生成、インストールする
git addしたファイルをやめる:git rm --cached filename
ShootingStar-3.2.7リリース
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
ブログに数式を埋め込める数式コミュニティ