OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook] Need help using MathML ("Unknown formatting object "{http://www.w3.org/1998/Math/MathML}math" encountered")


Hi,

On Fri, 06 Dec 2013 07:50:16 -0500
Stefan Seefeld <stefan@seefeld.name> wrote:

> [...]
> > Next, I process test.xml into test.pdf with the following output:
> > --------------------------------------------------------
> > $ xsltproc -o test.fo
> > /usr/share/xml/docbook/stylesheet/nwalsh/fo/docbook.xsl test.xml
> > [...]
> > Unknown formatting object "{http://www.w3.org/1998/Math/MathML}math";
> > encountered (a child of fo:instream-foreign-object}. (See position
> > 2:29495)
> > [...]
> > $
> > --------------------------------------------------------
> 
> Again, use namespace-aware stylesheets.
> 
> In addition, I had to patch my fop installation to make it handle
> MathML correctly. Whether that is an actual problem for you depends
> on the platform you are on, as well as the specific FOP version you
> are using.

I don't think the problem is related to stylesheets, be it namespace
aware or not. 

FOP needs to "know" how to format MathML markup. By default, this is not
the case. Install the JEuclid plugin[1] and try it again.



----- References
[1] http://jeuclid.sourceforge.net/trunk/jeuclid-fop/

-- 
Gruß/Regards,
    Thomas Schraitle


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]