[ooo-build] GSoC: Patch for extra symbols in starmath
eric b
eric.bachard at free.fr
Mon Aug 23 07:44:48 PDT 2010
Le 21 août 10 à 17:17, Jonas Finnemann Jensen a écrit :
> Hi,
>
Hello Jonas,
First over all, I'd like to congratulate you for your work, really
awesome !
> I was asked to post one of my GSoC patches here. The patch adds a
> new symbols to starmath, mainly "%mapsto" and "bow <text>". It also
> allows
> limits, using "to" and "from" to "union" and "intersection", so
> that writing "union from a to b Q_i" is a legal and works as if
> "union" was
> replaced with "sum".
Yes,
> The bow command draws a half circle above the following command,
> much like "widehat". The symbol used is not really, pretty enough
> so I've included a patch that doesn't have the bow command.
>
> Note: That this patch changes the file format and that older
> versions of starmath will not be able to display these symbols
> correctly... I
> suggest that this is taken into consideration before the patch is
> merged into anything...
>
Indeed : insert such symbols in an equation, and the backward
compatibility is broken : older versions of go-oo will not be able to
see them. This is of course an ODF issue, and maybe Eike (reading
this list ) or someone else, ODF specialist, could tell us more
about the process ?
The point is to add those new symbols in the odf spec.
> Patch for %mapsto and union/intersection fix:
> http://jopsen.dk/downloads/GSoC2010/symbols-27-june.diff
> Patch for %mapsto, union/intersection fix and bow:
> http://jopsen.dk/downloads/GSoC2010/symbols-20-august.diff
>
Just a little nitpick : add bow definition in the enumeration in
starmath/inc/types.hxx is the right thing to do, but so far, all
symbols respect the aphabetic order, and maybe you could move bow at
the right place ? ( not between widehat and widetilde imho ;-)
Other question: maybe I badly tested, but I didn't see bow in the
symbols (in the UI, the dialog box used for the visual editor e.g.) ?
Is it possible to add it ?
> Examples:
> http://jopsen.dk/downloads/GSoC2010/mapsto.png
> http://jopsen.dk/downloads/GSoC2010/union.png
>
Great work : my contacts (all profs of math) who tested the features
you added in OOo4Kids and OOoLight, are glad to see these new symbols
(at least !!)
> My primary GSoC patch, for visual formula editing, is not
> production ready, yet... But I plan to keep working on that...The
> other results
> of my GSoC project can be seen here: http://www.freedesktop.org/
> wiki/Software/ooo-build/SummerOfCode/2010/Jonas
>
Thank you very much for sharing your work online. No doubt next
students will profit of your (very good) experience.
To be honest, this is the first time I saw (you and Michal) so
serious students, and providing so nice results.
> If I find time some day it is my intention to write a small article
> about adding symbols to starmath... And I promise to post a link here
> if such an event were to occur... :)
>
That's a great idea, but the SoC is not finished, and even if it is,
you can count on me to help you if I can, and to test, read you code.
Last but not least,, please keep in mind say a thank you to all the
people who helped you, e.g. solving build issues or whatever : this
is a golden rule in Open source.
Regards,
Eric Bachard
--
qɔᴉɹə
Education Project:
http://wiki.services.openoffice.org/wiki/Education_Project
Projet OOo4Kids : http://wiki.ooo4kids.org/index.php/Main_Page
L'association EducOOo : http://www.educoo.org
Blog : http://eric.bachard.free.fr/news
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/ooo-build/attachments/20100823/9a3d9f18/attachment.html>
More information about the ooo-build
mailing list