# Ritex 0.2 released: Latex -\> MathML converter

**URL:** <https://www.ruby-forum.com/t/ritex-0-2-released-latex-mathml-converter/164559>\
**Category:** Ruby\
**Created:** [April 2, 2009, 4:19pm UTC](https://www.ruby-forum.com/t/ritex-0-2-released-latex-mathml-converter/164559 "2009-04-02T16:19:27Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![trucker](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/ecae2f/32.png) [@trucker](https://www.ruby-forum.com/u/trucker)\
**Post date:** [April 2, 2009, 4:19pm UTC](https://www.ruby-forum.com/t/ritex-0-2-released-latex-mathml-converter/164559/1 "2009-04-02T16:19:27Z")

</div>

It’s been almost four years since the last release, but I dusted off  
the ol’ codebase, fixed some bugs, added some features, and voila,  
a new release.

Ritex turns “WebTeX” (essentially LaTeX math) into MathML. You can see  
it in action here: [Играть в игровые автоматы на деньги в Украине - Игровые автоматы](http://all-thing.net/label/stats/)

Ritex features macro support, a bevy of heavy unit tests, and a  
pure-Ruby implementation.

Interesting bits of the 0.2. release:

- array options finally supported
- better unary minus detection
- various tweaks and bugfixes

“gem install ritex”, or visit the homepage: [http://masanjin.net/ritex/](http://masanjin.net/ritex/).

---

<div class="post-metadata">

**Author:** ![trucker](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/ecae2f/32.png) [@trucker](https://www.ruby-forum.com/u/trucker)\
**Post date:** [April 2, 2009, 7:21pm UTC](https://www.ruby-forum.com/t/ritex-0-2-released-latex-mathml-converter/164559/2 "2009-04-02T19:21:51Z")

</div>

William M. wrote:

> It’s been almost four years since the last release, but I dusted off  
> the ol’ codebase, fixed some bugs, added some features, and voila,  
> a new release.
> 
> Ritex turns “WebTeX” (essentially LaTeX math) into MathML. You can see  
> it in action here: [Играть в игровые автоматы на деньги в Украине - Игровые автоматы](http://all-thing.net/label/stats/)

Is it supposed to look like this?

dd2E[]+2=02E[]+2=0=E[]

---

<div class="post-metadata">

**Author:** ![trucker](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/ecae2f/32.png) [@trucker](https://www.ruby-forum.com/u/trucker)\
**Post date:** [April 2, 2009, 7:38pm UTC](https://www.ruby-forum.com/t/ritex-0-2-released-latex-mathml-converter/164559/3 "2009-04-02T19:38:51Z")

</div>

Reformatted excerpts from Joel VanderWerf’s message of 2009-04-02:

> Is it supposed to look like this?
> 
> dd2E[]+2=02E[]+2=0=E[]

Nope. The magic of MathML is that, 10 years later, it’s still a fight to  
get browsers to display it.

Are you using Safari? Webkit doesn’t have Mathml support.

Can you see the examples on [http://www.w3.org/Math/XSL/pmathml2.xml](http://www.w3.org/Math/XSL/pmathml2.xml)?

---

<div class="post-metadata">

**Author:** ![trucker](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/ecae2f/32.png) [@trucker](https://www.ruby-forum.com/u/trucker)\
**Post date:** [April 2, 2009, 9:11pm UTC](https://www.ruby-forum.com/t/ritex-0-2-released-latex-mathml-converter/164559/4 "2009-04-02T21:11:34Z")

</div>

Reformatted excerpts from Joel VanderWerf’s message of 2009-04-02:

> Ah, I was using Konqueror (so probably same as Safari or any  
> Webkit-based browser).
> 
> In firefox, the equations do display nicely.

This is presumably why sites like Wikipedia, which actually care about  
disseminating information and are not just futile platforms for shouting  
into the void in a frantic attempt to mask the horrifying lack of  
meaning to a lonely existence, generate images instead of using MathML.

---

<div class="post-metadata">

**Author:** ![trucker](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/ecae2f/32.png) [@trucker](https://www.ruby-forum.com/u/trucker)\
**Post date:** [April 2, 2009, 7:45pm UTC](https://www.ruby-forum.com/t/ritex-0-2-released-latex-mathml-converter/164559/5 "2009-04-02T19:45:52Z")

</div>

William M. wrote:

> Can you see the examples on [http://www.w3.org/Math/XSL/pmathml2.xml](http://www.w3.org/Math/XSL/pmathml2.xml)?

Ah, I was using Konqueror (so probably same as Safari or any  
Webkit-based browser).

In firefox, the equations do display nicely.

---

<div class="post-metadata">

**Author:** ![trucker](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/ecae2f/32.png) [@trucker](https://www.ruby-forum.com/u/trucker)\
**Post date:** [April 2, 2009, 9:34pm UTC](https://www.ruby-forum.com/t/ritex-0-2-released-latex-mathml-converter/164559/6 "2009-04-02T21:34:27Z")

</div>

William M. wrote:

> Reformatted excerpts from Joel VanderWerf’s message of 2009-04-02:
> 
> > Ah, I was using Konqueror (so probably same as Safari or any  
> > Webkit-based browser).
> > 
> > In firefox, the equations do display nicely.
> 
> This is presumably why sites like Wikipedia, which actually care about  
> disseminating information and are not just futile platforms for shouting  
> into the void in a frantic attempt to mask the horrifying lack of  
> meaning to a lonely existence, generate images instead of using MathML.

Webby does this too.
