Next in thread → Next in month →

Re: [docbook-apps] How do I indent the first line of a <para> PDF output

From
Ilkka <>
Date
2006-12-13T17:58:38+00:00
ID
Thread
Re: [docbook-apps] How do I indent the first line of a <para> PDF output
Hi Ron,

On 12/13/06, Ron Catterall <> 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;"
Next in thread → Next in month →