This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Table "morerows" fails with DBF?


Hello,

I am very new to docbook and have run into a problem. I hope this is the
right place to ask for advice.

I have a document with a table that uses "morerows" to get a table cell to
span rows vertically. The output is fine as html, but the table is
corrupted with pdf output. The pdf table looks as if the "morerows" keywor
was never used so that the cells are shifted to the left.

I have reduced this to a simple example, included below. I run this on Linux (SuSE 8.0) and use the following cpommands to create the output:

  db2html table.xml
  db2pdf table.xml

The version info is:

  > db2html -v
  db2html - docbook-toys 0.60.1
  > jade -v
  jade:I: Jade version "1.2.1"
  jade:I: SP version "1.3.4"
  > pdfjadetex
  This is pdfTeX, Version 3.14159-13d (Web2C 7.3.1)

========================= table.xml ==============================
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
    "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"; [
 ]>
<book>
  <chapter>
    <title>
      Sample Table
    </title>

    <para>

      <table frame="all">
        <title>Sample Table</title>
        <tgroup cols="3">
          <colspec colname="c1"/>
          <colspec colname="c2"/>
          <colspec colname="c3"/>
          <tbody>

            <row>
              <entry>Row 1 Column 1</entry>
              <entry>Row 1 Column 2</entry>
              <entry>Row 1 Column 3</entry>
            </row>

            <row>
              <entry morerows="1">Rows 2 and 3 Column 1</entry>
              <entry>Row 2 Column 2</entry>
              <entry>Row 2 Column 3</entry>
            </row>

            <row>
              <entry>Row 3 Column 2</entry>
              <entry>Row 3 Column 3</entry>
            </row>

            <row>
              <entry>Row 4 Column 1</entry>
              <entry>Row 4 Column 2</entry>
              <entry>Row 4 Column 3</entry>
            </row>

          </tbody>
        </tgroup>
      </table>

    </para>

  </chapter>

</book>
======================= end of example ===========================

-- 
Robert C. Paulsen, Jr.
robert@paulsenonline.net


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]