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]

[docbook-apps] Re: Indention problems with FOP and para inside listitems


Unfortunately, you can't rely on margin-left to do what you expect in the
current version of FOP.  According to the FOP compliance page:

http://xml.apache.org/fop/compliance.html

the margin-left property is only supported on pages and regions, which makes
it the same as a start-indent.

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


----- Original Message ----- 
From: "Alexander Karnstedt" <alexander_berlin@gmx.de>
To: <docbook-apps@lists.oasis-open.org>
Sent: Monday, April 18, 2005 10:50 AM
Subject: Indention problems with FOP and para inside listitems


> Hi
>
> relating to some bug with xsl-1.68.1 and body.start.indent
> http://lists.oasis-open.org/archives/docbook-apps/200503/msg00024.html
>
> I still struggle with some indention issues.
>
> My PDF document should look like this :
>
> .. 1. Section 1
> ....... 1.1. Section 1a
> ....... para
> ....... - listitem A para
> ......... para (additional para to listitem A)
> ....... - listitem B para
>
>
> well, If I use the normal.para.spacing attribute like
>
> <xsl:attribute-set name="normal.para.spacing">
>     <xsl:attribute name="margin-left">5pc</xsl:attribute>
>     <xsl:attribute name="text-indent">0pc</xsl:attribute>
> </xsl:attribute-set>
>
> then ALL para elements are indent the same - even the para elements inside
> listitems, so it looks like:
>
> .. 1. Section 1
> ....... 1.1. Section 1a
> ....... para
> ....... - listitem A para
> ....... para (additional para to listitem A)     <<-- wrong, should be the
> same indention as "listitem A para"
> ....... - listitem B para
>
> The body.start.indent parameter, wich I think is made for these purposes,
> has to be set to 0pc because of this bug with TOC's mentioned above.
>
> I have no idea now how to achieve this.
>
> Regards,
> Alexander
>
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org


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