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] Customizing chapter titles so that autolabels and titles are on two lines


Ah, thanks for noticing the typo.  I'll add that to the errata and fix it for the next release.
 
Bob Stayton
Sagehill Enterprises
bobs@sagehill.net

Sent: Thursday, January 10, 2013 9:37 AM
Subject: Re: [docbook-apps] Customizing chapter titles so that autolabels and titles are on two lines

Thanks Bob! Works great.

I noticed that there is a typo/inconsistency in the template name (chapappendix.title vs chappendix.title) used in steps 2 and 3 in the example of the reference you gave me. 
<xsl:template name="chapappendix.title">
  <xsl:param name="node" select="."/>

...
</xsl:template>

<t:titlepage t:element="chapter" t:wrapper="fo:block"
             font-family="{$title.fontset}">
  <t:titlepage-content t:side="recto" margin-left="{$title.margin.left}">
    <title t:named-template="chappendix.title"
           param:node="ancestor-or-self::chapter[1]"/>
...


-Gabriela

On 09/01/2013 5:42 PM, Bob Stayton wrote:
Hi Gabriela,
There is an example in this reference for doing just that:
 
 
Bob Stayton
Sagehill Enterprises
bobs@sagehill.net

Sent: Wednesday, January 09, 2013 2:00 PM
Subject: [docbook-apps] Customizing chapter titles so that autolabels and titles are on two lines

 Hello,

I am trying to find a way to customize the titles of my chapters so that the autolabel and the title appear on two lines as shown below:
Chapter 1
This is my chapter title
Does anyone have an idea?

-Gabriela


--
Gabriela Simonka
Technical Writer
Rédactrice technique
INRO
376 Victoria Avenue, Suite 200
Westmount, Montréal QC Canada H3Z 1C3
tel +1 514-369-2023 x233
fax +1 514-369-2026
www.inrosoftware.com
     INRO

DISCLAIMER: This message, including attachments, may contain confidential information for the sole use of the intended recipient(s). Any unauthorized use, disclosure, viewing, copying, alteration, or distribution of any information in this message is prohibited. If you have received this message in error please notify the sender immediately.

AVIS DE CONFIDENTIALITÉ : Ce message, y compris les fichiers joints, pourrait contenir des renseignements confidentiels à l?intention exclusive du (des) destinataire(s) prévu(s). L?utilisation, la divulgation, la lecture, la reproduction, la modification ou la distribution non autorisées en tout ou en partie du contenu de ce message sont interdites. Si vous avez reçu ce message par erreur, veuillez communiquer avec l?expéditeur sans délai.



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