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] Howto generate index contents



Hi, 

I`m not looking for changing style in the TOC. I would like change the
font-size of the chapter (title) and sect1 (title).
My font-size is to big. I think it is 30pt. 






spr wrote:
> 
> Assume, you are looking for changing style in the TOC.
> 
> I use this for styling chapter, preface and appendix:
> 
>   <xsl:attribute-set
>     name    = "toc.line.properties">
>     <xsl:attribute
>       name    = "font-weight">
>       <xsl:choose>
>         <xsl:when
>           test  = "self::d:chapter | self::d:preface | self::d:appendix">
>           <xsl:text>bold</xsl:text>
>         </xsl:when>
>         <xsl:otherwise>
>           <xsl:text>normal</xsl:text>
>         </xsl:otherwise>
>       </xsl:choose>
>     </xsl:attribute>
> 
>   </xsl:attribute-set>
> 
> You may want to try for sect1. (you will need to use 'font-size' instead
> of 'font-weight')
> 
> ~spr
> 
> 
> 61Sniper wrote:
>> 
>> Thank you very much. Your Link helped me. Just I have got another
>> problem. How can I change the font size of the Title of sect1 Element?
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Howto-generate-index-contents-tp15086168p15288446.html
Sent from the docbook apps mailing list archive at Nabble.com.



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