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] | [List Home]


Subject: Re: [docbook-apps] About Index chapter title


The param: mechanism in the title page spec file passes parameters to the 
named template.  Does your named template chapappendix.title declare a 
parameter named "pagewide", and then do something with the value?  Something 
like:

<xsl:template name="chapappendix.title">
  <xsl:param name="pagewide" select="0"/>

and inside the template just after the fo:block opens, something like:

  <xsl:if test="$pagewide != 0">
    <xsl:attribute name="span">all</xsl:attribute>

The span="all" on a block will cause it to span both columns in the two 
column layout.

Bob Stayton
Sagehill Enterprises
bobs@sagehill.net


----- Original Message ----- 
From: "Jacques Foucry" <jacques@foucry.net>
To: "docbook-apps" <docbook-apps@lists.oasis-open.org>
Sent: Friday, January 25, 2008 6:27 AM
Subject: [docbook-apps] About Index chapter title


Hi,

After my question and Bob's help about my chapter/appendix/preface
title customization I still have a problem with the Index title.

I'made my titlepage spec with :
<t:titlepage t:element="index" t:wrapper="fo:block">
         <t:titlepage-content t:side="recto">
             <title
                 t:force="1"
                 t:named-template="chapappendix.title"
                 param:node="ancestor-or-self::index[1]"
                 param:pagewide="1"
                 margin-left="0pt"
                 font-size="52pt
                 font-family="{$title.fontset}"
                 font-weight="bold"
text-align="right/>
             <subtitle
                 font-family="{$title.fontset}"/>
         </t:titlepage-content>

         <t:titlepage-content t:side="verso">
         </t:titlepage-content>

         <t:titlepage-separator>
         </t:titlepage-separator>

         <t:titlepage-before t:side="recto">
         </t:titlepage-before>

         <t:titlepage-before t:side="verso">
         </t:titlepage-before>
     </t:titlepage>

But the word 'index' is on the right of the first column of the index.
I expected that pagewide parameter is used to put the title on all the
page wide but it seems not.

How can put this title as all others on the very right of the page ?

Thanks for your help,

Jacques
-- 
« Mac OS X Server à votre Service » est épuisé.
Vous pouvez désormais l'acquérir en PDF
<http://www.foucry.net/Redaction/service/service.html>


---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org





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