https://bugs.documentfoundation.org/show_bug.cgi?id=73593
--- Comment #10 from brian.bj.parke...@gmail.com ---
Just to clarify, what I am suggesting here is much simpler than what you are
describing- I am not suggesting using the tex engine for layout or allowing
full blown import of arbitrary latex files.
All I am suggesting is a minor extension of the StarMath syntax. StarMath
syntax *already* supports latex synonyms for superscript and subscript. If it
also supported e.g. \Lambda as a synonym for %LAMBDA, and \cdot as a synonym
for cdot etc, then the majority of latex formula examples could be cut and
pasted directly into Impress presentations.
This could be done in an almost entirely backward compatible way, and would not
require *any* changes to the layout code, or any changes to the storage
formats- the changes would be localized to the starmath parser, and would be an
extension to the syntax and so would be backwardly compatible (except for
contrived examples).
Also, it wouldn't need to include 100% of latex math notation- just covering
the common cases would allow the majority of published latex examples to be cut
and pasted.
(In reply to V Stuart Foote from comment #8)
> Indeed, my apologies. Bug 119449 would be better set a duplicate of bug
> 96208 -- done.
>
> Issue in general with support Tex and LaTex syntax is that our "native"
> format to control node composition is StarMath--but our storage media is
> ODF. As ODF requires use of MathML, we strive to support MathML for import
> and export. We annotate the XML of each MathML ODF Formula object with its
> StarMath composition--and reparse that StarMath on reimport.
>
> There is no specification for using TeX with ODF, so while we could probably
> filter import the LaTeX syntax formula entries and could also hold them as
> annotations--the same as the StarMath for reimport--we would never adopt TeX
> for canvas layout. TeX is treated to PostScript.
>
> Filter based import of LaTex, and expanding the GUI to support LaTex syntax
> entry is feasible. The first step for both is to ensure the MathML/StarMath
> can correctly describe the additional symbology when recorded to ODF XML.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs