[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> 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 <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;" -- Ron Catterall, Phd, DSc email: ron@catterall.net Prolongacion de Hidalgo 140 http://catterall.net/ San Felipe del Agua tel: +52 951 520 1821 Oaxaca 68020 Mexico fax: +1 530 348 8309
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]