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 |
This looks really nice, thanks for making it available. I don't have
Latex on my computer at the moment, so I'm looking forward to trying this next week when I get home. Dave On Fri, Sep 28, 2007 at 01:59:36PM +0100, Simon Guest wrote: > 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 |
Free forum by Nabble | Edit this page |