|
Email lists >
>
[docbook-apps] computeroutput inside a section title >
[docbook-apps] computeroutput inside a section title
[docbook-apps] computeroutput inside a section title
This post if a part of this thread
|
2007-11-06 15:55:09 |
|
|
computeroutput inside a section title
|
Hello,
Sometimes in my book I need to use my monospaced fonts
inside a
section title.
<section>
<info><title>About
<computeroutup>/etc/postfix/main.cf</
computeroutput></title></info>
I defined my section title like that:
<xsl:attribute-set
name="section.title.level1.properties">
<xsl:attribute name="color">
<xsl:value-of select="$title.color"/>
</xsl:attribute>
<xsl:attribute
name="font-weight">normal</xsl:attribute>
<xsl:attribute name="font-size">
<xsl:value-of select="$body.font.master *
1.3"/>
<xsl:text>pt</xsl:text>
</xsl:attribute>
</xsl:attribute-set>
And my computerouput font like that:
<xsl:template match="d:computeroutput">
<fo:inline font-size="8.2pt">
<xsl:call-template
name="inline.monoseq"/>
</fo:inline>
</xsl:template>
So in a title the font size is to small.
Is it possible to define something like:
if computeroutput is used in a title the font size is... ?
And if yes, how can I do that ?
Thanks in advance,
Jacques
--
« Mac OS X Server à votre Service » est épuisé.
Vous pouvez désormais l'acquérir en PDF
<http://www.foucry.net/Redaction/service/service.html>
------------------------------------------------------------
---------
To unsubscribe, e-mail: docbook-apps-unsubscribe lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help lists.oasis-open.org
|
|
|
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|