docbook-apps message
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]
Subject: Re: [docbook-apps] How to reduce size of text in a <para>
- From: Ron Catterall <ron@catterall.net>
- To: docbook-apps@lists.oasis-open.org
- Date: Thu, 22 Feb 2007 14:19:19 -0600
Title: Re: [docbook-apps] How to reduce size of text in a
<para>
OK, I figured it out -
<xsl:template match="para">
<fo:block
xsl:use-attribute-sets="normal.para.spacing">
<xsl:attribute name="font-size">
<xsl:choose>
<xsl:when test="@size = 'Less'">85%</xsl:when>
<xsl:when test="@size = 'Small'">75%</xsl:when>
<xsl:when test="@size = 'Smaller'">65%</xsl:when>
<xsl:otherwise>100%</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
<xsl:call-template
name="anchor"/>
<xsl:apply-templates/>
</fo:block>
</xsl:template>
Thanks anyway. perhaps it might be of use to
someone.
I want to be able to change the font-size
of text in a <para> element, e.g <para
size="Small">qwerty asdfgh</para>
How do I do this please?
--
Ron Catterall, Phd, DSc
email: ron@catterall.net
Prolongacion de Hidalgo 140
http://catterall.net/
San Felipe del Agua
tel:
+52 951 520 1821
Oaxaca 68020
Mexico
fax:
+1 530 348 8309
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]