Next in thread → Next in month →

Re: [docbook-apps] space-before toc entry

From
Jirka Kosek <>
Date
2006-05-31T11:00:58+00:00
ID
Thread
Re: [docbook-apps] space-before toc entry
Sean Wheller wrote:
> Hi,
> 
> I want to bold toc entries for parts and apply a space before of 1 cm.
> 
> I customized toc.line template, adding:
> <xsl:choose>
>         <xsl:when test="self::part">
>           <xsl:attribute name="font-weight">bold</xsl:attribute>
>         </xsl:when>
>       </xsl:choose>
> 
> Works great.

Note that since 1.70.1 stylesheets support attribute set 
toc.line.properties which can be used for such purpose without need for 
redefining whole toc.line template.

			Jirka

-- 
------------------------------------------------------------------
   Jirka Kosek     e-mail:      http://www.kosek.cz
------------------------------------------------------------------
   Profesionální školení a poradenství v oblasti technologií XML.
      Podívejte se na náš nově spuštěný web http://DocBook.cz
        Podrobný přehled školení http://xmlguru.cz/skoleni/
------------------------------------------------------------------
                    Nejbližší termíny školení:
        ** DocBook 15.-17.5.2006 ** XSL-FO 12.-13.6.2006 **
     ** XSLT 23.-26.10.2006 ** XML schémata 13.-15.11.2006 **
------------------------------------------------------------------
   http://xmlguru.cz    Blog mostly about XML for English readers
------------------------------------------------------------------
Next in thread → Next in month →