OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


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/



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC