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: No indent on the first paragraph of a page


Hi,

I have the following code that indents the first line of paragraphs:

<xsl:template match="d:*/d:para[preceding-sibling::d:para]|d:para[contains(@role,'indent')]">
  <fo:block text-indent="5mm">
    <xsl:apply-imports/>
  </fo:block>
</xsl:template>

Is there a way to not indent the paragraph if it is the first paragraph of a page?

Using:

Apache FOP 2.2
Docbook 5.1
Stylesheets 1.79.2

Thanks,

Peter


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