OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] Re: Indenting a paragraph


Guy Worthington wrote:

> The original problem (of having the bullet point for the listitem
> typeset on the line above the text for the list item) still exists.
> That is an itemizedlist look like:

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.

						Jirka

-- 
------------------------------------------------------------------
   Jirka Kosek     e-mail: jirka@kosek.cz     http://www.kosek.cz
------------------------------------------------------------------
   Profesionální školení a poradenství v oblasti technologií XML.
         XSL-FO 20.4.                    Úvod do XML 3.5.
         DocBook 18.-19.5.               XSLT 24.-26.5.
------------------------------------------------------------------

S/MIME Cryptographic Signature



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]