This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] Indenting of tables
- From: "Bob Stayton" <bobs at sagehill dot net>
- To: "Nick Hunt" <nick at magmouse dot demon dot co dot uk>, <Docbook-apps at lists dot oasis-open dot org>
- Date: Tue, 15 Jul 2003 00:07:03 -0700
- Subject: Re: [docbook-apps] Indenting of tables
- References: <97095E82-B524-11D7-BBAB-00039302E88C@magmouse.demon.co.uk>
Well, I think margin-left is the right property to use, and
the problem might be with FOP. When I add margin-left to the
fo:block containing a table as you suggest, fop 0.20.5rc2 indents
the table text content but not the borders. It isn't indenting each
cell independently, it is indenting the whole table content, but the
border rules are not indented. When I process the same fo file with
XEP, it properly indents the table and borders.
That's got to be a bug in FOP.
Bob Stayton
Sagehill Enterprises
bobs@sagehill.net
----- Original Message -----
From: "Nick Hunt" <nick@magmouse.demon.co.uk>
To: <Docbook-apps@lists.oasis-open.org>
Sent: Sunday, July 13, 2003 4:24 AM
Subject: [docbook-apps] Indenting of tables
> Hi All,
>
> I am using XSL 1.63.1 stylesheets with xsltproc and FOP (latest
> versions).
>
> I want to have smaller tables indented into the text, so:
>
> bodytext bodytext bodytext
> bodytext bodytext bodytext
> table table
> table table
> table table
> bodytext bodytext bodytext
> bodytext bodytext bodytext
>
> I have tried a customised template that sets the <xsl:attribute
> name="margin-left"> value in the <fo:block> that contains the table,
> using the table's role attribute to mark tables that are narrow enough
> to be indented and fit on the page.
>
> The result is that the text is offset within each cell of the table,
> while the borders of the table are not moved.
>
> I then get huge numbers of
>
> area contents overflows area in line
>
> errors.
>
> Any thoughts on how to achieve this?
>
>
> ----------------------------------------
> Nick Hunt
> nick@magmouse.demon.co.uk
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org