Re: [docbook-apps] include MathML files with the help of XSL

2012-07-22 Thread Tom Browder
On Sat, Jul 21, 2012 at 2:53 PM, Tom Browder wrote: > On Sat, Jul 21, 2012 at 2:11 PM, Robert Lucente wrote: >> What do you guys think of using MathType to generate MathML? > ... > I use Inkscape (http://inkscape.org/) to view and edit the svg file if > necessary (I find that a few tweaks really

Re: [docbook-apps] include MathML files with the help of XSL

2012-07-21 Thread Tom Browder
On Sat, Jul 21, 2012 at 2:11 PM, Robert Lucente wrote: > What do you guys think of using MathType to generate MathML? ... > Any other suggestions for GUI editors to generate equations would be > appreciated. I have good results with LibreOffice (http://www.libreoffice.org/). I export the equatio

RE: [docbook-apps] include MathML files with the help of XSL

2012-07-21 Thread Robert Lucente
-apps@lists.oasis-open.org Subject: Re: [docbook-apps] include MathML files with the help of XSL Here is the result of "dynamically include MathML files with the help of XSLT when generating HTML files": Test setup: a.. DocBook v4.4 files with equation, inlineequation and informalequat

Re: [docbook-apps] include MathML files with the help of XSL

2012-07-11 Thread Ron Catterall
Works fine for me too. Keep the MML in separate files and XInclude On 11-Jul-12 9:38 AM, deannel...@aol.com wrote: You need to use the FOP plugin from JEuclid (JEuclid.sf.net). This will convert the MathML to FOP. I will usually have all my MathML in separate files and then xinclude them.

Re: [docbook-apps] include MathML files with the help of XSL

2012-07-11 Thread DeanNelson
You need to use the FOP plugin from JEuclid (JEuclid.sf.net). This will convert the MathML to FOP. I will usually have all my MathML in separate files and then xinclude them. Here is a nice centered equation http://www.w3.org/2001/XInclude_ (http://www.w3.org/2001/XInclude) " href="m

Re: [docbook-apps] include MathML files with the help of XSL

2012-07-11 Thread Zoltán János Jánosi
*Is there any single way to use the same method for generating PDFs? (instead of HTML)* I modified the method described earlier to generate PDF files with MathML equations, but I didn't succeed. * Attempt one:* - I just changed the import href link from HTML to FO *Content of the transformati

Re: [docbook-apps] include MathML files with the help of XSL

2012-06-28 Thread Zoltán János Jánosi
Here is the result of "dynamically include MathML files with the help of XSLT when generating HTML files": *Test setup:* - DocBook v4.4 files with equation, inlineequation and informalequation tags, where every equatin has an id - MathML files has the same name as the equations id's -

Re: [docbook-apps] include MathML files with the help of XSL

2012-06-21 Thread Bob Stayton
n.org Sent: Wednesday, June 20, 2012 2:07 AM Subject: Re: [docbook-apps] include MathML files with the help of XSL Here is my test setup: DocBook 4.4 XML file:

Re: [docbook-apps] include MathML files with the help of XSL

2012-06-21 Thread Zoltán János Jánosi
;>>>> >>>> >>>> >>>> >>>> That's why he was trying to use XInclude in XSL. However, XInclude >>>> cannot >>>> be used inside an XSLT stylesheet because XSLT processors do not >>>> reco

Re: [docbook-apps] include MathML files with the help of XSL

2012-06-20 Thread Bob Stayton
org Sent: Wednesday, June 20, 2012 2:07 AM Subject: Re: [docbook-apps] include MathML files with the help of XSL Here is my test setup: DocBook 4.4 XML file: []> http://www.w3.org/20

Re: [docbook-apps] include MathML files with the help of XSL

2012-06-20 Thread Zoltán János Jánosi
2012/6/14 Bob Stayton : >> OK. If it works, please post your reply to the mailing list so it gets into >> the list archive. >> >> >> Bob Stayton >> Sagehill Enterprises >> b...@sagehill.net >> >> >> - Original Message - From:

Re: [docbook-apps] include MathML files with the help of XSL

2012-06-14 Thread Bob Stayton
athML";> Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: Carlos Araya To: Zoltán János Jánosi Cc: docbook-apps@lists.oasis-open.org Sent: Wednesday, June 13, 2012 9:37 AM Subject: Re: [docbook-apps] include MathML files with the help of XS

Re: [docbook-apps] include MathML files with the help of XSL

2012-06-13 Thread Carlos Araya
The first thing I see is that you need to include the mathml namespace in your customization layer *http://www.w3.org/1999/XSL/Transform"; xmlns:mml="http://www.w3.org/1998/Math/MathML**"; xmlns:xi="*http://www.w3.org/2001/XInclude*";>* * *Elements for the MathML namespace should be pref

[docbook-apps] include MathML files with the help of XSL

2012-06-13 Thread Zoltán János Jánosi
Hi all! *My question: Is there any way (with XSLT) to dynamically pull in MathML files (by their ID) and put them into the XML/HTML files?* *The situation is the following:* - I have a DocBook 4.4 XML file with equation objects in it. - Every equation object has a unique ID. - For every