docbook: Table placement on page
Subject:
Re: Table placement on page
From:
Tabatha Persad ####@####.####
Date:
5 Nov 2002 21:16:43 -0000
Message-Id: <1036530952.1549.927.camel@mysticchild.dbsoftware.com>
On Tue, 2002-11-05 at 12:42, Charles Curley wrote:
> I am using Docbook 4.1 (SGML), the LDP style (ldp.dsl), and Open Jade
> 1.3. I have a table which is currently showing up at the top of the
> page where it is defined. The table stays at the top of the page
> regardless of where on the page the definition is found. I would like
> the table to show up in or near the paragraph where it is defined.
>
> If I understand the DocBook Guide, the attribute pgwide="0" should do
> that. Am I correct?
Hi Charles.
Actually, I'm not sure the pgwide attribute is what you need. It seems
to only deal with the width for the table. According to the definition
of pgwide at www.oasis-open.org/specs/a502.htm (definition of CALS model
table), "If zero, the maximum available width for the table is the width
of the current column of the orient="port" page."
(orientation=portrait). "If a specified value other than zero, the
table spans the width of the entire page." The attribute is ignored
when orientation is landscape, where all tables are treated as if
pgwide="1". It seems that the orientation of the table may have
something to do with this, though I'm not completely sure.
Now that quote above was a bit difficult to understand, so I apologize!
I looked at your example, and can see quite clearly where the table
should be displayed. I noticed that one of the attributes of the tfoot
tag is valign, and I wondering if there was something more to that
elsewhere too.
Would you mind if I glanced at that section of the source for this spot
in your document? I'd like to see if I can figure it out. That link I
sent to you above describes the CALS Table Model in detail, and may be
of extra help if you want to have a look into it yourself.
I love a good mystery! Seeing the actual source will help me make more
sense out of it all.
Cheers!
--
Tabatha Persad
Web: www.merlinmonroe.com
Linux Documentation Project Editor (http://www.tldp.org)
Gnu Writing Movement Contributor (http://gwm.gnu.org)
Linux Counter Area Manager US:wa (http://counter.li.org)