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

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

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


Subject: db5: 1] Admon graphics in fo output + 2] MathML


Hello,

1] Admon graphics in fo output (no solutions in docbook-xsl-1.71.1 OR 
docbook5ns-xsl-1.71.0) :
db5: Admon graphics FAILED, thanks a lot for your answers but it's don't work 
(full path or good path before doing a fo file) ...

So, i test with the file : howto.xml (docbook-5.0b9/docs/howto.xml), but it y 
already of the errors of validation :
xmllint --noout --relaxng ../libs/docbook-5.0b9/custom_rng.rng howto.xml

howto.xml:8: element article: Relax-NG validity error : Expecting element set, 
got article
howto.xml:9: element info: Relax-NG validity error : Expecting an element 
abstract, got nothing
howto.xml:31: element note: Relax-NG validity error : Did not expect element 
note there
howto.xml:32: element para: Relax-NG validity error : Element article has 
extra content: para
howto.xml:8: element article: Relax-NG validity error : Did not expect element 
article there
howto.xml fails to validate

=> howto.xml line 8 :
	version="5.0" xml:lang="fr" >

I wonder whether there is not a bond with the admon ?
Have you an idea ?


2] MathML, fop 0.92 :
ant all
	[echo] Jimi Support NOT Present
     	[echo] JAI Support PRESENT
     	[echo] JCE Support PRESENT
     	[echo] JUnit Support PRESENT
     	[echo] XMLUnit Support PRESENT

=> When i use it :
18 nov. 2006 13:54:56 org.apache.fop.fo.ElementMappingRegistry findFOMaker
ATTENTION: Unknown formatting object http://www.w3.org/1998/Math/MathML^math
18 nov. 2006 13:54:56 org.apache.fop.fo.ElementMappingRegistry findFOMaker
ATTENTION: Unknown formatting object http://www.w3.org/1998/Math/MathML^mrow
18 nov. 2006 13:54:56 org.apache.fop.fo.ElementMappingRegistry findFOMaker

In my xml docbook file :
<?xml version="1.0" encoding="utf-8"?>  <!-- -*- nxml -*- -->
<!DOCTYPE article [
<!ENTITY version "5.0b8">
]>
<article xmlns="http://docbook.org/ns/docbook";
         xmlns:xl="http://www.w3.org/1999/xlink";
         xmlns:mml="http://www.w3.org/1998/Math/MathML"; 
	version="5.0" xml:lang="fr" >
....
....
....

<para>
<informalequation>
    <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML";>
    <mml:mrow>
      <mml:mi>A</mml:mi>
      <mml:mo>=</mml:mo>
      <mml:mfenced open="[" close="]">
        <mml:mtable><!-- table or matrix -->
          <mml:mtr> <!-- row in a table  -->
             <mml:mtd><mml:mi>x</mml:mi></mml:mtd><!-- table -->
             <mml:mtd><mml:mi>y</mml:mi></mml:mtd><!-- entry -->
          </mml:mtr>
          <mml:mtr>
             <mml:mtd><mml:mi>z</mml:mi></mml:mtd>
             <mml:mtd><mml:mi>w</mml:mi></mml:mtd>
          </mml:mtr>
        </mml:mtable>
      </mml:mfenced>
     </mml:mrow>
    <mml:mtext>.</mml:mtext>
    </mml:math>
</informalequation>
</para>

=> In my pdf output : no the mathematical equation
Have you an idea ?

Best regards,
Bruno

PS :
My config :
----------------
XML_CATALOG_FILES="/etc/xml/catalog ../libs/docbook-5.0b9/catalog.xml ../libs/docbook5ns-xsl-1.71.0/catalog.xml"
I use : fop (SVN Trunk)

xsltproc -V
Using libxml 20626-CVS2819, libxslt 10117-CVS1065 and libexslt 813-CVS1065
xsltproc was compiled against libxml 20626, libxslt 10117 and libexslt 813
libxslt 10117 was compiled against libxml 20626
libexslt 813 was compiled against libxml 20626

-- 
Ainsi toute connaissance humaine commence avec des intuitions, passe de là aux 
concepts et s'achève avec les idées.
Emmanuel Kant


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