[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: DOCBOOK-APPS: Indenting paragraphs for PDF output,XSL customisation
That does the job exactly as desired, thanks. ----- Original Message ----- From: "Bob Stayton" <bobs@caldera.com> To: "fyl2xp1" <vnhu38f93@subdimension.com>; "docbook-apps" <docbook-apps@lists.oasis-open.org> Sent: Tuesday, July 09, 2002 5:45 PM Subject: Re: DOCBOOK-APPS: Indenting paragraphs for PDF output, XSL customisation > On Tue, Jul 09, 2002 at 04:59:44PM +0100, fyl2xp1 wrote: > > I would like to indent paragraphs for PDF output like this: > > > > para 1 blah blah blah > > blah blah blah blah blah > > blah blah blah blah blah > > para 2 blah blah blah > > blah blah blah blah blah > > blah blah blah blah blah > > > > So that vertical space is preserved, I know how to do the > > actual vertical spacing: > > > > <xsl:attribute-set name="normal.para.spacing"> > > <xsl:attribute name="space-before.optimum">0.1cm</xsl:attribute> > > <xsl:attribute name="space-before.minimum">0.1cm</xsl:attribute> > > <xsl:attribute name="space-before.maximum">0.1cm</xsl:attribute> > > </xsl:attribute-set> > > > > but how do I do the indentation? > > Try adding something like: > <xsl:attribute name="text-indent">3em</xsl:attribute> > > I've not tried it, but the XSL spec says this is for > indenting the first line of a block. > > Editorial comment: > Seems to me the property name could have been more clear, > such as "first-line-start-indent". After all, there > is a "last-line-end-indent", whose purpose I cannot imagine. > > -- > > Bob Stayton 400 Encinal Street > Publications Architect Santa Cruz, CA 95060 > Technical Publications voice: (831) 427-7796 > Caldera International, Inc. fax: (831) 429-1887 > email: bobs@caldera.com
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC