Subject: (dsssl) docbook + jade + mml From: Harald Finster <hfinster@xxxxxx> Date: Mon, 16 Feb 2004 21:38:12 +0100 |
please forgive me, if this is a FAQ. I am working on this problem for a week now and this is my last try before is will start to reinvent the wheel.
I am trying to 'translate' the following simple xml-document using jade (with hardcoded path-names for the moment):
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "/usr/share/sgml/db42xml/docbookx.dtd" [ <!ENTITY % MATHML.prefixed "INCLUDE"> <!ENTITY % MATHML.prefix "mml"> <!ENTITY % equation.content "(alt?, (graphic+|mediaobject+|mml:math))"> <!ENTITY % inlineequation.content "(alt?, (graphic+|inlinemediaobject+|mml:math))"> <!ENTITY % mathml PUBLIC "-//W3C//DTD MathML 2.0//EN" "/usr/share/sgml/db42xml/mathml2/mathml2.dtd">
%mathml; ]>
<chapter> <title>test</title>
<equation> <title>My MathML example</title>
<mml:math> <mml:matrix> <mml:matrixrow> <mml:cn>0</mml:cn> <mml:cn>1</mml:cn> </mml:matrixrow> <mml:matrixrow> <mml:cn>0</mml:cn> <mml:cn>1</mml:cn> </mml:matrixrow> </mml:matrix> </mml:math>
</para> </chapter> </book>
When I try to create ps, pdf or whatever, the math-stuff seems to be ignored and just plain numbers appear in the resulting document.
jade -V tex-backend -t tex -c /usr/share/sgml/CATALOG.iso_ent -c /usr/share/sgml/CATALOG.jade_dsl -c /usr/share/sgml/CATALOG.docbook-dsssl-stylesheets -c /usr/share/sgml/CATALOG.db41xml -c /usr/share/sgml/CATALOG.db42xml -D /usr/share/sgml/docbook/dsssl-stylesheets -d /usr/share/sgml/docbook/docbook-toys/suse-both.dsl#print -o example.tex /usr/share/sgml/jade_dsl/xml.dcl example.xml
/usr/share/sgml/docbook/docbook-toys/suse-both.dsl#print looks like this:
<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [ <!ENTITY % html "IGNORE"> <![%html;[ <!ENTITY % print "IGNORE"> <!ENTITY docbook.dsl SYSTEM "/usr/share/sgml/docbook/dsssl-stylesheets/html/docb ook.dsl" CDATA dsssl> ]]> <!ENTITY % print "INCLUDE"> <![%print;[ <!ENTITY docbook.dsl SYSTEM "/usr/share/sgml/docbook/dsssl-stylesheets/print/doc book.dsl" CDATA dsssl> ]]> ]>
I assume, that I have to 'integrate' the following files somehow: -r--r--r-- 1 finster users 47046 1998-08-26 18:46 dblib.dsl -rw-r--r-- 1 finster users 34661 1998-08-26 18:44 mathml.dsl -rw-r--r-- 1 finster users 4233 1998-08-26 18:44 mathmlx.dsl
-- Dr.-Ing. Harald Finster / Aachen Germany http://www.finster-stahlart.de industrial history and architecture http://www.astrid-aix.de gallery: watercolours and oil paintings
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: (dsssl) Empty table-cells, Kurt Wall | Thread | |
Re: (dsssl) Empty table-cells, Kurt Wall | Date | |
Month |