This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] How to reduce the font size of <screen>
- From: "Bob Stayton" <bobs at sagehill dot net>
- To: "Joachim Ziegler" <ziegler at mpi-sb dot mpg dot de>,<docbook-apps at lists dot oasis-open dot org>
- Date: Wed, 14 Jan 2004 11:21:51 -0800
- Subject: Re: [docbook-apps] How to reduce the font size of <screen>
- References: <40053B0D.4060002@mpi-sb.mpg.de>
This customization will reduce the font size for screen
elements that have a role="smaller" attribute.
<xsl:template match="screen[@role = 'smaller']">
<fo:block font-size="6pt">
<xsl:apply-imports/>
</fo:block>
</xsl:template>
If you want it to apply to all screen elements, then
just use match="screen" and forget the role attribute. You could
also use a processing instruction for a similar purpose,
probably a better solution since this is purely a formatting
feature.
Bob Stayton
Sagehill Enterprises
bobs@sagehill.net
----- Original Message -----
From: "Joachim Ziegler" <ziegler@mpi-sb.mpg.de>
To: <docbook-apps@lists.oasis-open.org>
Sent: Wednesday, January 14, 2004 4:50 AM
Subject: [docbook-apps] How to reduce the font size of <screen>
> for pdf output?
>
> How do I do change the font size and/or font family?
>
> Greetings,
> Joachim
>
>
> --
> Joachim Ziegler Stuhlsatzenhausweg 85
> Max-Planck-Institut für Informatik 66123 Saarbrücken, Germany
> Email: ziegler@mpi-sb.mpg.de Tel.: (+49) 0681 9325-127
>
>
> To unsubscribe from this list, send a post to
docbook-apps-unsubscribe@lists.oasis-open.org, or visit
http://www.oasis-open.org/mlmanage/.
>
>
>
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.