[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] LaTex to MathML
Hello Mathieu, In the context of Scilab, Calixte (c/c of this email) developed a reusable component called JLatexMath [1]. While it is now mainly used by Scilab, it is not specific to it. Also, Calixte just developed a FOP plugin for JLatexMath which allows you to directly write LaTeX code into your docbook document. (it is just available in the git source tree for now). Regards, Sylvestre [1] http://forge.scilab.org/index.php/p/jlatexmath/ Le lundi 25 janvier 2010 à 11:33 +0100, Mathieu Malaterre a écrit : > Hi, > > I am trying to have a nice setup to be able to write math equation > within a docbook document. I found this old email (*), which looks > ideal. My team knows basic latex equation or at least this is easier > to write it by hand than a MathML one. > However this old post does not mention the tool used to do the LaTex > to Math conversion. Could someone please recommend one ? > > Thanks ! > -Mathieu > (*) > On Mon, Oct 20, 2008 at 3:44 PM, <Justus-bulk@piater.name> wrote: > > Dave Pawson <davep@dpawson.co.uk> wrote on Mon, 20 Oct 2008 13:49:51 > > +0100: > > > >> http://www.antennahouse.com/product/mathml.htm > >> > >> Nikolai has http://www.grigoriev.ru/svgmath/ > >> > >> I.e. mathml to SVG, then incorporate the SVG into docbook/fo > > > > There is also Apache FOP with the JEuclid FOP plugin. > > > > I have used both methods; both have minor quirks but are pretty usable > > and give satisfactory results for all of my current needs. I currently > > prefer the latter, as it requires fewer processing steps than svgmath. > > > > Then there is my own baby, http://sourceforge.net/projects/pmml2svg/, > > which seeks to provide an XSLT-only solution by converting MathML to > > SVG (for non-Gecko Web browsers, FOP without JEuclid, inkscape etc.). > > It is currently working as a proof of concept, and I have a student > > working on it, hoping to make it an attractive alternative by summer > > 2009. > > > >> AFAIK there is no 'recommended' way to get mathml (either kind) > >> embedded into docbook... yet. > > > > Yep. What I do is: > > > > - type individual variables and very short equations directly as > > mathml > > > > - type more lengthy math in LaTeX syntax into <textobject role="tex"> > > directly into the docbook source, followed by a > > > > <textobject role="html"> > > <xi:include href="texmath/whatever.xml"/> > > </textobject> > > > > I have makefile-triggered scripts that create the whatever.xml using > > a standalone TeX-to-MathML converter. > > > > To reduce typing to a minimum, I use emacs-lisp code to create the > > docbook math environments (<[inline]equation> and subtrees). > > > > This setup works very efficiently for me now, but takes some setting > > up. > > > > Justus > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org > > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]