[Squeakland] mathematical text in squeak

Samir Saidani saidani at info.unicaen.fr
Fri May 13 11:34:22 PDT 2005


Hi 

I've done this Latex2png class which could be of interest for you. It
works well under 3.4 but don't know why, there is a problem with
OSProcess in 3.7.
You need latex and convert to get this thing working. I designed this
tool in order to get a way to collaborate with other scientists
through a kind of mathwiki, but swiki was not very fun from the
developer point of view, so I decided to switch on smallwiki, but have
no time for the moment.

Tell me if it fits your need, I could try to get it working for 3.7

Regards,
Samir

"José \"L. Redrejo\" Rodríguez" <jredrejo at merida.uned.es> writes:

> El vie, 06-05-2005 a las 00:44 +0200, karl escribió:
>> José L. Redrejo Rodríguez wrote:
>> 
>> >Finally, I have been able to modify this behaviour and now text is
>> >centered aligned vertically with the images inside Scamper and
>> >GeeMailMorph (I use scamper to import the html latex rendered text and
>> >Geemail to present the text). I can send the changeset if anybody wants
>> >it.
>> >
>> Please post it, I like to take a look at it.
>> Karl
>> 
> Some other people has asked me for it out of this list, but it is easier
> if I send it here, so anybody can take a look. So, here it goes.
>
> It adds that behaviour by default to Scamper and GeeMail.
> The key is in the TextComposer composeEachRectangleIn: rectangles
> method. I have added an instance variable called baseline. If the value
> is 0, the behaviour is the normal behaviour in Squeak (bottom alignment
> of text in lines), if its value is 1 the text is aligned in the middle
> of the line.
> I have created a TextMorphForEditViewVertical and
> MultiNewParagraphVertical classes to replace the TextMorphForEditView
> and MultiNewParagraph classes used by geemail (in fact TextPlusMorph is
> the text editor for geemail) and scamper. This classes are exactly equal
> as its parent classes, excepting they use the baseline =1 property.
>
> To check how it works, just load in Scamper this web page
> http://www.itais.net/matriz2.html , before and after aplying the
> attached changeset. The differences are obvious if you look at the
> matrix graphics.
>
> Regards.
>
> _______________________________________________
> Squeakland mailing list
> Squeakland at squeakland.org
> http://squeakland.org/mailman/listinfo/squeakland

-- 
Samir SAIDANI				
PhD Student in CS / Doctorant en informatique 	web : http://www.info.unicaen.fr/~saidani
Universite de Caen - Laboratoire GREYC          tel : 02-31-56-74-30
Equipe MAD - Campus II - 14032 Caen Cedex       fax : 02-31-56-76-30

-------------- next part --------------
A non-text attachment was scrubbed...
Name: MathWiki-Core2.st
Type: application/octet-stream
Size: 5177 bytes
Desc: not available
Url : http://squeakland.org/pipermail/squeakland/attachments/20050513/2433da8d/MathWiki-Core2.obj


More information about the Squeakland mailing list