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] | [Elist Home]

Subject: Re: DOCBOOK: MathML

On Sun, 24 Feb 2002, Steffen Maier wrote:

>I suppose the error message comes from parsing your docbook document so I
>think the undeclared namespace comes from using the wrong DTD. Did you
><!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook MathML Module V1.0//EN"
>  "http://www.docbook.org/xml/mathml/1.0/dbmathml.dtd">


I'm relatively new to docbook and XML. I manage to generate pdf file for
my article.xml file. I use openjade 1.3, OpenSP 1.3.4, docbook-dsssl-1.76.

I want to include math equation in my article. I changed doctype as you
suggested above. I had to change the file (1.0/dbmathml.dtd) itself by
exchanging URL references to local references (I've got URL not supported

I did not manage to get equation below rendered in my text :
	    <mml:ci> x </mml:ci>
	    <mml:ci> y </mml:ci>

I just got 12345 x  y.

I've got also many warnings (?) like this one:
openjade:/imec/users/username/mathml/2.0/dtd/isomfrk.ent:28:30:E: "1D51E"
is not a character number in the document character set

Any idea how to get rid of these warnings and how to get sign plus


P.S. I also got one error below. I have lived with this one for a while,
but any suggestions, why do I get it, will be appreciated.

openjade:../docbook-dsssl-1.76/print/../lib/dblib.dsl:948:17:E: argument
out of range

>to activate the mathml-driver instead of using plain docbook DTD? See the
>comment at the beginning of mathml.dtd for further details.
>Furhtermore it seems to me as if MathML support in the modular xsl
>stylesheets is not fully implemented, at least for (x)html output format.
>A quick glance at the new db-xsl-1.49 showed no corresponding
>xsl:template. So you might need to add/replace something like the
>following to your stylesheet driver file:
><?xml version="1.0" encoding="iso-8859-1"?>
><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
>                xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
>                xmlns:mml="http://www.w3.org/1998/Math/MathML"
>                exclude-result-prefixes="doc mml"
>                version='1.0'>
> <xsl:import
> <!-- MathML support can be so easy ;-) ... -->
> <xsl:template match="mml:math">
>   <xsl:copy-of select="."/>
> </xsl:template>
> <!-- end of MathML support. -->
>  http://w3studi.informatik.uni-stuttgart.de/~maiersn/

 Radoslaw Szymanek, Lic, MSc	             |
 Dept. of Computer Science (DataVetenskap)   |
 Lund University                             |
 Box 118, 221 00 LUND, SWEDEN                |
 tel. (work)  +46 46 22 24141                |
 tel. (mobil-Sweden) +46 70 5693756          |
 fax. +46 46 13 10 21                        |
 http://www.cs.lth.se/home/Radoslaw_Szymanek |
Always look on the bright side of life.	     |

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

Powered by eList eXpress LLC