This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
What's the most appropriate (and futureproof) way tostyle the FO?
- From: Tobias Reif <tobiasreif at pinkjuice dot com>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Thu, 06 Feb 2003 23:16:17 +0100
- Subject: DOCBOOK-APPS: What's the most appropriate (and futureproof) way tostyle the FO?
Hi
Let's say I want to change all sect1 titles. I grab my
titlepage.templates.xml copy (1.60.1), then insert
font-weight="100"
into
<t:titlepage t:element="sect1" t:wrapper="fo:block">
<t:titlepage-content t:side="recto">
<title
margin-left="{$title.margin.left}"
font-family="{$title.font.family}"/>
so I get
<t:titlepage t:element="sect1" t:wrapper="fo:block">
<t:titlepage-content t:side="recto">
<title
font-weight="100"
margin-left="{$title.margin.left}"
font-family="{$title.font.family}"/>
The FO changes from
<fo:block id="d0e135">
<fo:block><fo:block>
<fo:block keep-together="always" margin-left="-4pc"
font-family="sans-serif">
<fo:block keep-with-next.within-column="always">
<fo:block font-family="sans-serif" font-weight="bold"
keep-with-next.within-column="always" space-before.minimum="0.8em"
space-before.optimum="1.0em" space-before.maximum="1.2em">
<fo:marker marker-class-name="section.head.marker">Prerequisites
to
<fo:block id="d0e135">
<fo:block>
<fo:block>
<fo:block keep-together="always" font-weight="100" margin-left="-4pc"
font-family="sans-serif">
<fo:block keep-with-next.within-column="always">
<fo:block font-family="sans-serif" font-weight="bold"
keep-with-next.within-column="always" space-before.minimum="0.8em"
space-before.optimum="1.0em" space-before.maximum="1.2em">
<fo:marker marker-class-name="section.head.marker">Prerequisites
My font-weight="100" gets inserted, but gets overriden by
font-weight="bold".
My question is:
Is the purpose of the titlepage mechanism to supersede and obsolete the
property set option params, or are both mechansims intended to be combined?
Tobi
--
http://www.pinkjuice.com/