This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: styling all titles at once


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]