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: [docbook-apps] [FO] customising bibliography / title


On Wed, Apr 16, 2003 at 05:52:56PM +0200, Oliver Fischer wrote:
> Hello,
> 
> I recognized, that a bibliography title is bigger then a section 
> title if I produce a PDF. My question is, which template do I have 
> to modify and how can I do it?

The bibliography title is handled as part of the general
titlepage mechanism in DocBook XSL.  That means the
specifications original in the specifications file
fo/titlepage.templates.xml (that's .xml), where you will
find font-size="&hsize5;" (24.8832pt) for the title on
bibliography recto title pages.

You can change this in one of two ways.

1.  You can edit titlepage.templates.xml and regenerate
titlepage.templates.xsl.  If you are maintaining changes
for other title pages, then adding bibliography
changes is a small addition.  The process for doing
this is described in:
http://www.sagehill.net/xml/docbookxsl/HtmlCustomEx.html#HTMLTitlePage
(for HTML, the process is the same for FO)

2.  You can replace the appropriate template in your
customization layer.  If this is your only change to
title pages, then it is easier.  The template you
should copy and modify is:

<xsl:template name="bibliography.titlepage.recto">

from fo/titlepage.templates.xsl.  You'll see it contains
the font-size property.

-- 

Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
The SCO Group                               fax:   (831) 429-1887
                                            email: bobs at sco dot com

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


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