Talk:Add Math Support: Difference between revisions

From Scribus Wiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
= MathML =
Just one more idea: take a look at MathML. In contrast to LateX/TeX, MathML is an XML standard which would make it more compatible to the Scribus file format.
Just one more idea: take a look at MathML. In contrast to LateX/TeX, MathML is an XML standard which would make it more compatible to the Scribus file format.


There are some C++ - libs which can be a good starting point:
There are some C++ - libs which can be a good starting point:


http://helm.cs.unibo.it/mml-widget/
* http://helm.cs.unibo.it/mml-widget/
http://www.e-teaching.org/glossar/mathml
* http://www.e-teaching.org/glossar/mathml
 
:As stated in one of the feature request linked from the proposal, MathML is good for software, but it is hard to write for humans. OTOH the output of your first link looks quite good and it would remove the dependency on external software. So here's a list of pros and cons I can think of:
== Pros ==
* No external dependency
* Better integration with XML
 
== Cons ==
* Hard to edit by humans
* Many people are familiar with latex
* With LyX a pretty good editor for latex exists
* mml-widget has font problems *)
* Porting form GTK might be required
 
 
<nowiki>*)</nowiki> (From the [http://helm.cs.unibo.it/mml-widget/ mml-widget webpage]) Warning: you may notice some differences between the rendering of GtkMathView and the screenshots above. This is primarily due to the actual fonts installed on your system. Note also that some fonts are buggy, that is they have wrong/strange metrics for some symbols. In particular, the symbol font (75dpi) usually shipped with Unix/Linux has a buggy vertical bar for the integral sign, so that large integrals have the middle part misaligned.
 
== Additional Links ==
* http://pear.math.pitt.edu/mathzilla/itex2mml.html
* http://www.w3.org/Math/Software/mathml_software_cat_editors.html

Revision as of 21:49, 29 March 2007

MathML

Just one more idea: take a look at MathML. In contrast to LateX/TeX, MathML is an XML standard which would make it more compatible to the Scribus file format.

There are some C++ - libs which can be a good starting point:

As stated in one of the feature request linked from the proposal, MathML is good for software, but it is hard to write for humans. OTOH the output of your first link looks quite good and it would remove the dependency on external software. So here's a list of pros and cons I can think of:

Pros

  • No external dependency
  • Better integration with XML

Cons

  • Hard to edit by humans
  • Many people are familiar with latex
  • With LyX a pretty good editor for latex exists
  • mml-widget has font problems *)
  • Porting form GTK might be required


*) (From the mml-widget webpage) Warning: you may notice some differences between the rendering of GtkMathView and the screenshots above. This is primarily due to the actual fonts installed on your system. Note also that some fonts are buggy, that is they have wrong/strange metrics for some symbols. In particular, the symbol font (75dpi) usually shipped with Unix/Linux has a buggy vertical bar for the integral sign, so that large integrals have the middle part misaligned.

Additional Links