OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Writing Equation Editor

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API
View previous topic :: View next topic  
Author Message
Le Furet
General User
General User


Joined: 11 Nov 2005
Posts: 6
Location: France

PostPosted: Tue Nov 22, 2005 2:05 am    Post subject: Writing Equation Editor Reply with quote

Suppose that one day, I wake up and say to myself "Why not writing a new equation editor for Ooo today ?", what should I know and what should I have read before ?

(please be serious in your answers, even if my question doesn't look to be. I am less naive than my question Smile ).
Back to top
View user's profile Send private message
SergeM
Super User
Super User


Joined: 09 Sep 2003
Posts: 3211
Location: Troyes France

PostPosted: Tue Nov 22, 2005 4:16 am    Post subject: Reply with quote

Is it not beter to improve the existing one ?
_________________
Linux & Windows OOo3.0
UNO & C++ : WIKI
http://wiki.services.openoffice.org/wiki/Using_Cpp_with_the_OOo_SDK
In French
http://wiki.services.openoffice.org/wiki/Documentation/FR/Cpp_Guide
Back to top
View user's profile Send private message Visit poster's website
Le Furet
General User
General User


Joined: 11 Nov 2005
Posts: 6
Location: France

PostPosted: Tue Nov 22, 2005 10:09 am    Post subject: Reply with quote

May be, don't know. But what to read ? Where can I find a valuable documentation on the sources ? On the mans of communication between every components of Ooo ?
Back to top
View user's profile Send private message
SergeM
Super User
Super User


Joined: 09 Sep 2003
Posts: 3211
Location: Troyes France

PostPosted: Tue Nov 22, 2005 12:12 pm    Post subject: Reply with quote

Probably better to learn it through API programming first. With OOoBasic seems the simpler way but because you want to write something you can program in C++.
Second you go through source code.

Bear in mind the first step can take several months.
_________________
Linux & Windows OOo3.0
UNO & C++ : WIKI
http://wiki.services.openoffice.org/wiki/Using_Cpp_with_the_OOo_SDK
In French
http://wiki.services.openoffice.org/wiki/Documentation/FR/Cpp_Guide


Last edited by SergeM on Wed Nov 23, 2005 10:40 am; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
pitonyak
Administrator
Administrator


Joined: 09 Mar 2004
Posts: 3622
Location: Columbus, Ohio, USA

PostPosted: Tue Nov 22, 2005 7:40 pm    Post subject: Reply with quote

I thought that there already was an improvied equation editor of sorts. I seem to remember that the project started with a D and it was done by a French man.
_________________
--
Andrew Pitonyak
http://www.pitonyak.org/oo.php
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
SergeM
Super User
Super User


Joined: 09 Sep 2003
Posts: 3211
Location: Troyes France

PostPosted: Wed Nov 23, 2005 10:41 am    Post subject: Reply with quote

No knowledge of this project. Perhaps B Marcelly knows something ?
_________________
Linux & Windows OOo3.0
UNO & C++ : WIKI
http://wiki.services.openoffice.org/wiki/Using_Cpp_with_the_OOo_SDK
In French
http://wiki.services.openoffice.org/wiki/Documentation/FR/Cpp_Guide
Back to top
View user's profile Send private message Visit poster's website
pidde
General User
General User


Joined: 28 Mar 2005
Posts: 45

PostPosted: Wed Nov 23, 2005 2:42 pm    Post subject: Reply with quote

pitonyak wrote:
I thought that there already was an improvied equation editor of sorts. I seem to remember that the project started with a D and it was done by a French man.


Do you mean DMath?
http://www.dmaths.org/modules.php?name=Content&pa=showpage&pid=9

/Bacharach
Back to top
View user's profile Send private message
Le Furet
General User
General User


Joined: 11 Nov 2005
Posts: 6
Location: France

PostPosted: Thu Nov 24, 2005 6:16 am    Post subject: Reply with quote

I won't call DMath an improved Equation Editor.

Several things bothers me with Equation Editor :

- bad vertical alignment when importing to Writer
- Didn't manage to change the Symbol Font, and default font is ugly (e.g integral sign)
- bad exponents and indices spacing
- few possibilities of customization

and that' only the beginning. To be honest, Word is far forehead for Mathematics, and I prefer not mentionning LaTeX.

I know there are macros for using LaTeX as Equation Editor (the famous OOOLaTeX macros by G. Piroux), and they do good job, but there is stille some drawbacks :

- they are slow
- vertical alugnment is still incorrect
- weird installation with Windows (you must install cygwin before, and TeX, ans some additionnal fonts, and LaTeX2Emf)
- very hard to change fonts (because it's TeX !)

You can also use Mathtype, but it's expensive, you still have bad alignments,and the OooMath way of typing a formula (inspired from TeX) is much faster.

In fact, it's only the rendering part that needs to be redone.

Is there a documentation on OooMath sources ? Where ? Or have I just to read myself the 194465890 lines of code, then 4 or 5 books about Ooo API (or the contrary) ?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group