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: Tables stop flowing with text


I'm using dblatex and pdflatex to make PDFs from a docbook file.The problem I'm running into is that if I put many small tables on a page, eventually the tables will separate from the paragraphs they're in and they'll end up on one page with the paragraph text on another.
 
Here's my docbook file:
 
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "/usr/share/sgml/docbook/xml-dtd-4.3-1.0-25/docbookx.dtd">
 
<book>
 
<chapter>
<title>Introduction</title>
<para>
Here is a paragraph of text.
 
<table><title>Sample</title><tgroup cols='2'><colspec colname='c1'/><colspec colname='c2'/>
<thead><row><entry>Column 1</entry><entry>Column 2</entry></row></thead>
<tbody>
<row>
  <entry>data 1</entry>
  <entry>data 2</entry>
</row>
</tbody></tgroup></table>
</para>
<para>
Here is a paragraph of text.
 
<table><title>Sample</title><tgroup cols='2'><colspec colname='c1'/><colspec colname='c2'/>
<thead><row><entry>Column 1</entry><entry>Column 2</entry></row></thead>
<tbody>
<row>
  <entry>data 1</entry>
  <entry>data 2</entry>
</row>
</tbody></tgroup></table>
</para>
 
<para>
Here is a paragraph of text.
 
<table><title>Sample</title><tgroup cols='2'><colspec colname='c1'/><colspec colname='c2'/>
<thead><row><entry>Column 1</entry><entry>Column 2</entry></row></thead>
<tbody>
<row>
  <entry>data 1</entry>
  <entry>data 2</entry>
</row>
</tbody></tgroup></table>
</para>
 
<para>
Here is a paragraph of text.
 
<table><title>Sample</title><tgroup cols='2'><colspec colname='c1'/><colspec colname='c2'/>
<thead><row><entry>Column 1</entry><entry>Column 2</entry></row></thead>
<tbody>
<row>
  <entry>data 1</entry>
  <entry>data 2</entry>
</row>
</tbody></tgroup></table>
</para>
 
<para>
Here is a paragraph of text.
 
<table><title>Sample</title><tgroup cols='2'><colspec colname='c1'/><colspec colname='c2'/>
<thead><row><entry>Column 1</entry><entry>Column 2</entry></row></thead>
<tbody>
<row>
  <entry>data 1</entry>
  <entry>data 2</entry>
</row>
</tbody></tgroup></table>
</para>
 
<para>
Here is a paragraph of text.
 
<table><title>Sample</title><tgroup cols='2'><colspec colname='c1'/><colspec colname='c2'/>
<thead><row><entry>Column 1</entry><entry>Column 2</entry></row></thead>
<tbody>
<row>
  <entry>data 1</entry>
  <entry>data 2</entry>
</row>
</tbody></tgroup></table>
</para>
 
<para>
Here is a paragraph of text.
 
<table><title>Sample</title><tgroup cols='2'><colspec colname='c1'/><colspec colname='c2'/>
<thead><row><entry>Column 1</entry><entry>Column 2</entry></row></thead>
<tbody>
<row>
  <entry>data 1</entry>
  <entry>data 2</entry>
</row>
</tbody></tgroup></table>
</para>
 
 
 
</chapter>
 
</book>
 
 
This results in one page with three tables each with a line above that says, "This is a paragraph of text." Then there are four lines right on top of each other that say, "This is a paragraph of text." On the next page are four tables without any paragraph text above them. How do I get the paragraph text to stay with the tables in all cases, and why does the behavior of docbook change after three tables?
 
Peter


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