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: [docbook-apps] How do I indent the first line of a <para> PDF output


Hi Ron,

On 12/13/06, Ron Catterall <ron@catterall.net> wrote:
> How do I indent the first line of a <para> PDF output

One way to do it would be to put the following in your customization layer:

<xsl:template match="para">
  <fo:block text-indent="6.3mm">
    <xsl:apply-imports />
  </fo:block>
</xsl:template>

If you want the indent for only the <para>s in e.g. a book's body
text, you should try a more specific match attribute value, like
"chapter/child::para | preface/child::para".



-- 
Ilkka Poutanen [http://ilkankuvat.vuodatus.net]
"And unto this, Conan;"


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