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

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

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


Subject: Re: [docbook] changing font size of element <code/>


Are you using the namespace version of the stylesheets?  If so, then that 
should be match="d:code" so the namespace matches as well as the element 
name.

Bob Stayton
Sagehill Enterprises
bobs@sagehill.net


----- Original Message ----- 
From: "Andreas Peter" <info@minimag.de>
To: "DocBook Mailingliste" <docbook@lists.oasis-open.org>
Sent: Sunday, August 24, 2008 3:16 AM
Subject: [docbook] changing font size of element <code/>


> Hello DocBook-users,
>
> I hope this will be the last question so far :-)
>
> I changed monospace fonts to 8.5pt for listings and now I am searching for 
> a possibility to do the same for the inline element <code/>. Actually the 
> font size is 10pt, same like body text.
>
> Are there any possibilities to do font size changing using a custom layer? 
> If not, where could I change the font size especialy for <code/>?
>
> I tried
>
>    <xsl:template match="code">
>        <fo:inline font-size="8.5pt">
>            <xsl:apply-templates/>
>        </fo:inline>
>    </xsl:template>
>
> but nothing happend.
>
>
> This should be the last task :-)
>
> Thanks in advance for suggestions,
> Andreas
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-help@lists.oasis-open.org
>
>
> 



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