Re: [docbook] LaTeX math inside docbook, on-the-fly MathML conversion?

2015-02-03 Thread Jirka Kosek
On 29.1.2015 20:46, Marco Giebel wrote: Can this be done? Or do I have to parse my documents, find all latexmath elements, process their contents with LatexML and write the MathML output back into the document? Sure, you can invoke some conversion library like SmuggleTeX directly from XSLT

Re: Aw: Re: Re: [docbook] LaTeX math inside docbook, on-the-fly MathML conversion?

2015-01-30 Thread Fredrik Unger
Hi, On 01/29/2015 10:14 PM, Marco Giebel wrote: Because typing complicated math with MathML is too time-consuming, I want to include math as LaTeX formulas. This LaTeX needs to be converted to MathML, before I can apply my processing tools. My xslt knowledge is a bit lacking especially with

Re: Aw: Re: Re: [docbook] LaTeX math inside docbook, on-the-fly MathML conversion?

2015-01-30 Thread Fredrik Unger
Because typing complicated math with MathML is too time-consuming, I want to include math as LaTeX formulas. This LaTeX needs to be converted to MathML, before I can apply my processing tools. This is the most flexible way to preprocess docbook I have found so far. Python have many libraries

Re: [docbook] LaTeX math inside docbook, on-the-fly MathML conversion?

2015-01-29 Thread Stefan Seefeld
On 29/01/15 03:25 PM, Warren Young wrote: On Jan 29, 2015, at 12:46 PM, Marco Giebel marco-gie...@gmx.de wrote: These formulas should be interpreted on the fly to MathML Are you sure you want to prevent the correct viewing of your document in stock versions of Chrome, IE, and Opera?

Aw: Re: Re: [docbook] LaTeX math inside docbook, on-the-fly MathML conversion?

2015-01-29 Thread Marco Giebel
. Januar 2015 um 22:08 Uhr Von:maxwell maxw...@umiacs.umd.edu An:Marco Giebel marco-gie...@gmx.de Cc:docbook@lists.oasis-open.org Betreff:Re: Aw: Re: [docbook] LaTeX math inside docbook, on-the-fly MathML conversion? On 2015-01-29 16:02, Marco Giebel wrote: And what does dblatex have to do

Re: [docbook] LaTeX math inside docbook, on-the-fly MathML conversion?

2015-01-29 Thread Alexey Neyman
On 01/29/2015 12:25 PM, Warren Young wrote: On Jan 29, 2015, at 12:46 PM, Marco Giebel marco-gie...@gmx.de wrote: These formulas should be interpreted on the fly to MathML Are you sure you want to prevent the correct viewing of your document in stock versions of Chrome, IE, and Opera?

Aw: Re: [docbook] LaTeX math inside docbook, on-the-fly MathML conversion?

2015-01-29 Thread Marco Giebel
I read about mathphrase. However, this element is only for a linear sequence of symbols. Not for sums, integrals, matrices or multiline equations. Gesendet:Donnerstag, 29. Januar 2015 um 21:29 Uhr Von:Thomas Schraitle tom_s...@web.de An:docbook@lists.oasis-open.org Betreff:Re: [docbook] LaTeX

Aw: Re: [docbook] LaTeX math inside docbook, on-the-fly MathML conversion?

2015-01-29 Thread Marco Giebel
And what does dblatex have to do with converting latex to MathML? As you write it converts docbook to latex which is something like the opposite. Gesendet:Donnerstag, 29. Januar 2015 um 21:55 Uhr Von:maxwell maxw...@umiacs.umd.edu An:Marco Giebel marco-gie...@gmx.de

Re: [docbook] LaTeX math inside docbook, on-the-fly MathML conversion?

2015-01-29 Thread Warren Young
On Jan 29, 2015, at 2:20 PM, Stefan Seefeld ste...@seefeld.name wrote: On 29/01/15 03:25 PM, Warren Young wrote: ...most XSL-FO processors don’t support MathML, either. Last time I checked, only Antenna House did. I have been using FOP with the jeuclid plugin for a number of years and

Aw: Re: [docbook] LaTeX math inside docbook, on-the-fly MathML conversion?

2015-01-29 Thread Marco Giebel
Yes, I dont care if the MathML cannot be displayed in all browsers. My question is, how I can convert included LaTeX to MathML, not whether everybody thinks that this is useful. Gesendet:Donnerstag, 29. Januar 2015 um 21:25 Uhr Von:Warren Young w...@etr-usa.com An:docbook@lists.oasis-open.org

Re: Aw: Re: [docbook] LaTeX math inside docbook, on-the-fly MathML conversion?

2015-01-29 Thread maxwell
On 2015-01-29 16:02, Marco Giebel wrote: And what does dblatex have to do with converting latex to MathML? As you write it converts docbook to latex which is something like the opposite. If you're already using LaTeX, why would you need to convert it to MathML?

Re: [docbook] LaTeX math inside docbook, on-the-fly MathML conversion?

2015-01-29 Thread maxwell
On 2015-01-29 14:46, Marco Giebel wrote: I am looking for a possibility to include LaTeX formulas inside a docbook document. There is an open source piece of software called dblatex (NOT db2latex, which is much older). It converts DocBook XML to LaTeX (or XeLaTeX). We use it, but I don't

Re: [docbook] LaTeX math inside docbook, on-the-fly MathML conversion?

2015-01-29 Thread Stefan Seefeld
On 29/01/15 05:10 PM, Warren Young wrote: On Jan 29, 2015, at 2:20 PM, Stefan Seefeld ste...@seefeld.name wrote: On 29/01/15 03:25 PM, Warren Young wrote: ...most XSL-FO processors don’t support MathML, either. Last time I checked, only Antenna House did. I have been using FOP with the

Re: [docbook] LaTeX math inside docbook, on-the-fly MathML conversion?

2015-01-29 Thread Justus-bulk
Alexey Neyman sti...@att.net wrote on Thu, 29 Jan 2015 12:34:05 -0800: I found this quite useful for PDF output: http://pmml2svg.sourceforge.net/ This XSL stylesheet converts MathML to SVG. SVG can be then inserted into the XSL-FO for PDF output or converted to PNG for HTML. I'm the person