This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: styling all titles at once
- From: Marko Petersen <lg002237 at rzserv2 dot fhnon dot de>
- To: Tobias Reif <tobiasreif at pinkjuice dot com>, docbook-apps at lists dot oasis-open dot org
- Date: Thu, 06 Feb 2003 23:32:17 +0100
- Subject: Re: DOCBOOK-APPS: styling all titles at once
- References: <5.1.1.6.0.20030206223626.00b6acf8@rzserv2.fhnon.de>
At 22:52 06.02.2003 +0100, Tobias Reif wrote:
<s:attribute-set name="component.title.properties">
<s:attribute name="font-weight">100</s:attribute>
<!-- ... -->
</s:attribute-set>
didn't do anything last time I tried; at least it didn't change chapter
titles.
There seems to be some confusion:
http://sources.redhat.com/ml/docbook-apps/2002-q3/msg00985.html
http://sources.redhat.com/ml/docbook-apps/2002-q3/msg01026.html
http://sources.redhat.com/ml/docbook-apps/2002-q3/msg01046.html
"it may be that component.titlepage.properties is not used
at all any more."
I tried it and yes, you are right.
You can override the component.title template and add
xsl:use-attribute-sets="component.title.properties" to the fo:block.
This should work for components (chapter, preface and so on), but
still has no effect to sections. But for those the attribute-sets work ;-)
I never used sect1, sect2 and so on, but these should work with
the attribute-set sect1.titlepage.recto.style, sect2.titlepage.recto.style ...
Marko