Today's the day

向软件大牛炫耀我会焊单片机,向硬件大牛炫耀我会写 Rails,向软硬件大牛炫耀我生物,向软硬件生物大牛炫耀我会折腾期货 -_-bbb

Ruby 1.8.6 p230 p238 有内存泄漏 Bug
respond_to 新构想

用 Texvc 生成数学公式

galeki posted @ 2008年7月21日 09:45 in RoR with tags tex 公式 , 5641 阅读

is-Programmer 目前用 l2p 这个小程序,配合 TeX 系统来生成数学公式图片,现在又有新的选择了,那就是 Texvc ~ 

texvc 是 MediaWiki 附带的用来生成公式图片的小程序,在 MediaWiki 安装路径下的 Math 目录中可以找到这个程序,和 l2p 一样,需要配置好 TeX 环境。

genki 写了一个简单的 texvc 的 Ruby wrapper,这样在 ruby 中就可以方便的生成公式图片了~

首先安装,gem 包名称叫做 genki-texvc:

  1. sudo gem install genki-texvc


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



parse 之后会返回一个 Magick::Image 实例,你可以显示出来,或者写到文件中,或者再做进一步处理~


  • 无匹配
meidir 说:
2022年8月20日 16:39

Aw, this became an incredibly nice post. In idea I would like to set up writing like that additionally - taking time and actual effort to generate a great article… but what / things I say… I procrastinate alot through no means appear to get something completed. 빅토리카지노주소

meidir 说:
2022年8月26日 22:53

This is a good subject to talk about. Usually when I find stuff like this I stumble it. This article probably won’t do well with that crowd. I will be sure to submit something else though. 온라인바카라

meidir 说:
2022年12月05日 00:17

Spot up with this write-up, I truly feel this fabulous website wants additional consideration. I’ll likely to end up again to read much more, thank you for that info. Macbook pro

meidir 说:
2022年12月17日 22:36

Many thanks for making the effort to discuss this, I feel strongly about this and like learning a great deal more on this topic. If feasible, as you gain expertise, would you mind updating your webpage with a great deal more details? It’s really beneficial for me. medical insurance in china




Hey there, You’ve done an excellent job. I will certainly digg it and personally recommend to my friends. I am confident they will be benefited from this site. 747 Live

meidir 说:
2022年12月17日 23:15

I love the dear data you be offering to your articles. I can bookmark your weblog and feature my youngsters test up here generally. I’m slightly sure they’ll be told a whole lot of new stuff here than any one else! محامي قضايا عمالية جدة




I have learned new things from the blog post. One other thing to I have seen is that in many instances, FSBO sellers will certainly reject a person. Remember, they might prefer to not use your companies. But if anyone maintain a comfortable, professional relationship, offering assistance and staying in contact for around four to five weeks, you will usually be capable to win a discussion. From there, a listing follows. Many thanks محامي في الرياض




An fascinating discussion is worth comment. I feel that you should write a lot more on this topic, it might not be a taboo subject but generally folks aren’t sufficient to speak on such topics. To the next. Cheers محامي تجاري بالرياض




Attractive section of content. I just stumbled upon your weblog and in accession capital to assert that I acquire actually enjoyed account your blog posts. Any way I’ll be subscribing to your augment and even I achievement you access consistently quickly. محامي جنائي الرياض




Simply added this web site to my top picks. I love reading through your own sites and we imagine you have them coming! محامي استشارات مجانية جدة

meidir 说:
2022年12月22日 00:26

I felt very happy while reading this site. This was really very informative site for me. I really liked it. This was really a cordial post. Thanks a lot!. 여우알바





Superbly written article, if only all bloggers offered the same content as you, the internet would be a far better place.. 메이저사이트

meidir 说:
2022年12月23日 23:50

Exactly where have you ever found the resource meant for that post? Amazing reading I have subscribed for your blog feed. kvm vps

meidir 说:
2022年12月24日 21:42

kitchen furnitures need to be well maintained that is why we always coat them with clear coat varnishes to protect them from the elements,. 마사지

meidir 说:
2023年1月07日 02:29

It’s not that I want to copy your website, but I really like the style. Could you let me know which theme are you using? Or was it tailor made? 메이저바카라

meidir 说:
2023年1月10日 22:45

This is great content! I am swept away by your presentation and unique viewpoints. I agree with so much of your article. I’ll come back. 우리카지노

meidir 说:
2023年2月18日 21:42

Howdy! Quick question that’s entirely off topic. Do you know how to make your site mobile friendly? My web site looks weird when browsing from my apple iphone. I’m trying to find a theme or plugin that might be able to correct this problem. If you have any recommendations, please share. Thank you! 슈어맨

meidir 说:
2023年3月19日 15:53

I do not even know how I ended up here, but I thought this post was great. I do not know who you are but certainly you’re going to a famous blogger if you are not already Cheers! 온라인카지노

meidir 说:
2023年4月03日 00:51

I recently found and came across your blog and have reading , i will keep reading this blog everyday. mac機回收




Awesome info indeed. My teacher has been waiting for this update. 先達回收價




This webpage does not display correctly on my blackberry – you might want to try and repair that 三星回收價目




Thanks for your article. I would like to comment that the very first thing you will need to do is check if you really need repairing credit. To do that you simply must get your hands on a copy of your credit rating. That should never be difficult, considering that the government necessitates that you are allowed to get one cost-free copy of your real credit report yearly. You just have to check with the right people. You can either look at website for that Federal Trade Commission and also contact one of the major credit agencies directly. 收iphone

meidir 说:
2023年4月21日 20:52

There is obviously a lot to realize about this. I believe you made various good points in features also. reputation defenders

meidir 说:
2023年4月21日 23:52

Oh my goodness! an excellent article dude. Thank you Nonetheless We’re experiencing problem with ur rss . Do not know why Not able to register for it. Could there be everyone getting identical rss problem? Anybody who knows kindly respond. Thnkx it support

meidir 说:
2023年5月02日 21:30

I appreciated your work very thanks ChatGPT Prompt

meidir 说:
2023年6月06日 18:25

An fascinating discussion may be valued at comment. I do believe that you simply write read more about this topic, it might not often be a taboo subject but normally persons are too few to dicuss on such topics. Cheers.






Awesome article , I am going to spend more time learning about this topic






Oh i really envy the way you post topics, how i wish i could write like that . consultor dental

meidir 说:
2023年6月14日 16:14

I don’t usually comment but I gotta state thanks for the post on this perfect one. printer repairs sydney

meidir 说:
2023年7月10日 21:10

I discovered your blog internet site online and appearance several of your early posts. Always keep inside the really good operate. I simply additional your Rss to my MSN News Reader. Looking for forward to reading more from you finding out at a later date!… investment advisor

meidir 说:
2023年9月22日 19:40

bedroom furnitures should be sized up and paired with the color and type of your beddings; heart

登录 *

loading captcha image...
or Ctrl+Enter