# Difference between revisions of "Add Math Support/Abstract"

From Scribus Wiki

m (typos) |
m |
||

(11 intermediate revisions by 3 users not shown) | |||

Line 2: | Line 2: | ||

Rationale | Rationale | ||

--------- | --------- | ||

− | I often wanted | + | I have often wanted a tool that allows complicated layouts but is still |

− | + | easy to use. This is exactly what Scribus does. However, for scientific | |

− | papers it lacks one main capability: Formulas. So I want to add | + | papers it lacks one main capability: Formulas. So I want to add this feature |

− | as my | + | as my Summer of Code project. Interest in this enhancement is expressed |

− | by many people in the bug tracker [1][2] | + | by many people in the bug tracker[1][2] and by Debian users[3] and it's |

− | also in the | + | also listed as a desirable feature in the Scribus roadmap[4]. |

Overview | Overview | ||

-------- | -------- | ||

− | The goal of this project is to add | + | The goal of this project is to add easy-to-use math support to Scribus. |

− | As the task of writing a complete math typesetter is too large for SOC a | + | As the task of writing a complete math typesetter is too large for SOC, a |

different approach is used. It is inspired by the Quark XPress(tm) plugin | different approach is used. It is inspired by the Quark XPress(tm) plugin | ||

− | MATHSETTER [5]: | + | MATHSETTER[5]: |

− | o Let the user enter LaTeX source either directly or more user friendly | + | o Let the user enter LaTeX source either directly or in a more user-friendly |

− | via | + | way via a graphical editor. |

− | o Apply a LaTeX template | + | o Apply a LaTeX template to this, so the user only has to type the formula |

and not a whole TeX document. | and not a whole TeX document. | ||

o Run LaTeX on this source. | o Run LaTeX on this source. | ||

o Display LaTeX's output in a frame while still keeping the | o Display LaTeX's output in a frame while still keeping the | ||

− | (LaTeX-)formula as a property so the whole | + | (LaTeX-)formula as a property, so the whole thing stays editable. |

Use cases | Use cases | ||

--------- | --------- | ||

− | |||

o Scientific posters | o Scientific posters | ||

− | It is very hard (if not | + | It is very hard (if not impossible) to create good-looking posters |

with LaTeX but it's easy to add formulas to LaTeX documents. On the other | with LaTeX but it's easy to add formulas to LaTeX documents. On the other | ||

− | hand it's very easy to create good posters with | + | hand it's very easy to create good posters with Scribus, but a complicated |

process is necessary to add just a single formula. The ability to use LaTeX | process is necessary to add just a single formula. The ability to use LaTeX | ||

− | for typesetting the formula and | + | for typesetting the formula and then post-processing it in Scribus (easily |

− | possible, after all it's just a vector graphic from | + | possible, after all it's just a vector graphic from Scribus' point of view) |

would greatly simplify this. | would greatly simplify this. | ||

o Math/Physics teachers | o Math/Physics teachers | ||

− | At school I've seen a lot of teachers | + | At school, I've seen a lot of teachers who created their tests with Microsoft |

− | Word and | + | Word and relied on its formula editor or even on basic text formatting |

− | (sub-/superscript) | + | (sub-/superscript). They added any "complicated" math symbols (vectors, |

− | integrals, etc.) by hand | + | integrals, etc.) by hand to the printout. Obviously, the full power of |

− | + | LaTeX is something they are unwilling to learn (and it is probably not | |

required for them). So I believe they would be happy to have a WYSIWYG | required for them). So I believe they would be happy to have a WYSIWYG | ||

tool that supports embedded formulas. | tool that supports embedded formulas. | ||

Line 49: | Line 48: | ||

------------ | ------------ | ||

o Math support | o Math support | ||

− | o | + | o Patches to Scribus to integrate an external UI editor |

o Python bindings | o Python bindings | ||

+ | |||

+ | [1] http://bugs.scribus.net/view.php?id=128 | ||

+ | [2] http://bugs.scribus.net/view.php?id=1030 | ||

+ | [3] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=270618 | ||

+ | [4] http://wiki.scribus.net/index.php/1.3.x_Roadmap | ||

+ | [5] http://www.bluesky.com/mathsetter/ | ||

</pre> | </pre> |

## Latest revision as of 16:40, 21 March 2007

Rationale --------- I have often wanted a tool that allows complicated layouts but is still easy to use. This is exactly what Scribus does. However, for scientific papers it lacks one main capability: Formulas. So I want to add this feature as my Summer of Code project. Interest in this enhancement is expressed by many people in the bug tracker[1][2] and by Debian users[3] and it's also listed as a desirable feature in the Scribus roadmap[4]. Overview -------- The goal of this project is to add easy-to-use math support to Scribus. As the task of writing a complete math typesetter is too large for SOC, a different approach is used. It is inspired by the Quark XPress(tm) plugin MATHSETTER[5]: o Let the user enter LaTeX source either directly or in a more user-friendly way via a graphical editor. o Apply a LaTeX template to this, so the user only has to type the formula and not a whole TeX document. o Run LaTeX on this source. o Display LaTeX's output in a frame while still keeping the (LaTeX-)formula as a property, so the whole thing stays editable. Use cases --------- o Scientific posters It is very hard (if not impossible) to create good-looking posters with LaTeX but it's easy to add formulas to LaTeX documents. On the other hand it's very easy to create good posters with Scribus, but a complicated process is necessary to add just a single formula. The ability to use LaTeX for typesetting the formula and then post-processing it in Scribus (easily possible, after all it's just a vector graphic from Scribus' point of view) would greatly simplify this. o Math/Physics teachers At school, I've seen a lot of teachers who created their tests with Microsoft Word and relied on its formula editor or even on basic text formatting (sub-/superscript). They added any "complicated" math symbols (vectors, integrals, etc.) by hand to the printout. Obviously, the full power of LaTeX is something they are unwilling to learn (and it is probably not required for them). So I believe they would be happy to have a WYSIWYG tool that supports embedded formulas. Deliverables ------------ o Math support o Patches to Scribus to integrate an external UI editor o Python bindings [1] http://bugs.scribus.net/view.php?id=128 [2] http://bugs.scribus.net/view.php?id=1030 [3] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=270618 [4] http://wiki.scribus.net/index.php/1.3.x_Roadmap [5] http://www.bluesky.com/mathsetter/