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: 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
>
>
>




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