[ANN] LatexMorph

Simon Guest simon.guest at tesujimath.org
Fri Sep 28 12:59:36 UTC 2007


Hello Squeak Hackers,

I've made a LatexMorph, which uses Latex and Ghostscript to format
Latex commands and display the output on screen.  The reason I did
this was to get beautiful mathematical formulae in Squeak, but it
enables you to do any Latex formatting, not just maths.

The Latex output is anti-aliased, courtesy of Ghostscript, and can be
used with a transparent or solid background, borders, and stuff.

It uses OSProcess to do its business, so you'll need that installed
first.  And of course, you need to install Latex and Ghostscript on
your system.

On Unix, Latex and Ghostscript run invisibly in the background.
However, on Windows, I'm interested in any suggestions to make the
console window not appear when the batch file is run in the
background.  I'm thinking this needs a change to Win32ProcessPlugin,
since there's possibly a flag that can be passed to CreateProcess().
Who knows?  In this respect, the Unix version is much nicer.

A screenshot here:
http://www.tesujimath.org/squeak/LatexMorph/

Get the LatexMorph from SqueakMap.  Works in 3.10 and 3.9, and
also in 3.8 if you get this bugfix:
http://bugs.squeak.org/view.php?id=6701

I learnt a lot about Squeak from doing this.  I am beginning to
suspect that Squeak is a bit like my wife.  I love her dearly, and am
very glad we got together, but from time to time and in various ways,
she drives me nuts.

Happy hacking!

cheers,
Simon



More information about the Squeak-dev mailing list