This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Unable to get tables to work with PdfJadeTex
- From: Jamie Walker <jamie at sagaxis dot co dot uk>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Tue, 02 Apr 2002 15:51:33 +0100
- Subject: DOCBOOK-APPS: Unable to get tables to work with PdfJadeTex
I am trying to produce some documentation for a relational database. I
have a tool which generates DocBook from the PostgreSQL schemas, but I
cannot get a .pdf file from the output:
jwalker@sagaxis:~/db/doc$ db2pdf doc.xml
Using catalogs: /etc/sgml/catalog
Using stylesheet:
/usr/share/sgml/docbook/utils-0.6.9/docbook-utils.dsl#print
Working on: /home/jwalker/db/doc/doc.xml
jade: TeXFOTBuilder.cxx:761: struct TeXFOTBuilder::Cell &
TeXFOTBuilder::Table::curCell(): Assertion `CurCell != __null' failed.
/usr/share/sgml/docbook/utils-0.6.9/backends/pdf: line 6: 20767 Aborted
$SGML_JADE -t tex -o ${SGML_FILE_NAME}.tex $SGML_ARGUMENTS
RTF works ok, but complains about nested tables, which I don't have:
jade:E: nested tables are not allowed in RTF
And if I try OpenJade:
openjade -t tex -V tex-backend \
-d /usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/print/docbook.dsl \
/usr/lib/sgml/declaration/xml.dcl doc.xml
openjade:/usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/print/dbttlpg.dsl:2635:6:E: flow object not accepted by port; only display flow objects accepted
I've created a minimal file to reproduce this error:
<?xml version="1.0"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" [
]>
<book>
<bookinfo>
<date>2002-04-02</date>
<title>Sagaxis Clinical Database</title>
<subtitle>Reference Guide</subtitle>
</bookinfo>
<toc></toc>
<chapter>
<title>First Chapter</title>
<para>Testing</para>
</chapter>
<appendix id="database-sagaxis" xreflabel="sagaxis database schema"><title>sagaxis Model</title>
<section id="sagaxis-table-audit-perf" xreflabel="audit_perf">
<title>Table audit_perf</title>
<table><title>Structure of <structname>audit_perf</structname></title>
<tgroup cols="4">
<thead>
<row><entry><para>Name</para></entry><entry><para>Type</para></entry><entry><para>References</para></entry><entry><para>Description</para></entry></row>
</thead>
<tbody>
<row><entry><para>perfid</para></entry><entry><para>SERIAL</para></entry><entry></entry><entry><para><simplelist><member>NOT NULL</member><member>PRIMARY KEY</member><member>DEFAULT</member></simplelist></para></entry></row>
<row><entry><para>title</para></entry><entry><para>VARCHAR(30)</para></entry><entry></entry><entry><para><simplelist><member>NOT NULL</member></simplelist></para></entry></row>
</tbody></tgroup></table>
</appendix>
</book>
This looks like a bug!? Or am I doing something stupid? Help!
Thanks,
--
Jamie Walker
jamie@sagaxis.co.uk
Department of Clinical Effectiveness, West Cumberland Hospital