An Etoy for LaTeX typesetter

An Etoy for LaTeX typesetter project page

LatexMorph is an extensive adaptation of Simon Guest's LatexMorph to the world of Etoys. Teachers and children can use this Etoy to typeset complex symbols like Math, Indic or Arabic in paragraphs or button labels.

LaTeX commands can be entered through Etoys tiles, using 'edit' from Morphic menu or by shift-clicking the Etoy. It can also be scripted to take in characters from TextMorph or use resolutions from a Slider to typeset images in near real-time. Of course, the speed is much slower (about twice a second) than other Etoys, but that is good enough for children's typing speed.

A simple template is used to wrap typed text into LaTeX code. It can be overridden on a per-instance basis using template: method. If the typed text begins with '\documentclass' then it is used directly as LaTeX code. dvipng is used to generate a picture quickly but embedded PS specials are skipped. Add a comment containing '\ps' somewhere in the code to force use of dvips and gs to tackle PS specials.

The code depends on OSProcess package and expects the hosting platform to have latex, dvips, ghostscript and dvipng software to be installed to typeset text. See www.tux.org for the latest TeX software and sarovar.org for Indic font support. TeX is required only to typeset new text. The resulting images are cached in a form and can be copied (see grab image in Morphic menu) and displayed on any platform.

LatexMorph-kks.3.mcz
LatexMorph-kks.2.mcz
LatexMorph-kks.1.mcz