← Prev in month ← Prev in thread
Next in thread → Next in month →

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

From
Ron Catterall <>
Date
2006-12-13T22:08:09+00:00
ID
p06240800c1a6298e611f@[192.168.1.65]
Thread
Re: [docbook-apps] How do I indent the first line of a <para> PDFoutput
Chris and Ilkka

Many thanks for the fast help.  I finally settled on

<xsl:template match="chapter/child::para | preface/child::para">
  <fo:block text-indent="10.0mm">
    <xsl:apply-imports />
  </fo:block>
</xsl:template>

Which does exactly what I want.

Ron

>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;"


-- 
Ron Catterall, Phd, DSc			       	email: 
Prolongacion de Hidalgo 140				http://catterall.net/
San Felipe del Agua					tel: +52 951 520 1821
Oaxaca      68020	Mexico				fax: +1 530 348 8309
← Prev in month ← Prev in thread
Next in thread → Next in month →