[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: Indenting a paragraph
Jirka Kosek <jirka@kosek.cz> writes: > Guy Worthington wrote: >> [After modifying the paragraph layout (so that the first >> paragraph after a heading isn't indented but all the >> following paragraphs are) I had a problem with lists. >> The problem was that the bullet point for a listitem >> occurred on the line above the text, rather than just >> to the left of the text.] > Problem is that new para templates override (they have bigger import > precedence) following template from fo/lists.xsl: > > <xsl:template match="listitem/*[1][local-name()='para' or > local-name()='simpara' or > local-name()='formalpara'] > |step/*[1][local-name()='para' or > local-name()='simpara' or > local-name()='formalpara'] > |callout/*[1][local-name()='para' or > local-name()='simpara' or > local-name()='formalpara']" > priority="2"> > <fo:block> > <xsl:call-template name="anchor"/> > <xsl:apply-templates/> > </fo:block> > </xsl:template> > > It should be sufficient to put this template into your customization > layer. This template doesn't use normal.para.spacing attribute set on > the first para in listitem. I've just cut and pasted the magic words above into the customization layer and compiled my document. Your magic worked -- the lists problem has gone.
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]