This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] Article title in chunked HTML files
- From: "Bob Stayton" <bobs at sagehill dot net>
- To: Bernd Pörner <bernd dot poerner at imformgroup dot com>, <docbook-apps at lists dot oasis-open dot org>
- Date: Sun, 19 Sep 2004 21:38:01 -0700
- Subject: Re: [docbook-apps] Article title in chunked HTML files
- References: <4149F601.8000003@imformgroup.com>
You could use the 'user.header.content' template to add an H1 heading to
every chunked file.
To merge the document title with each section title, you could customize the
template named 'section.heading' from html/sections.xsl to output the
document title before the section title. For chapters and other
component-level elements, you would also need to customize the template
named 'component.title' in html/component.xsl in a similar manner.
Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net
----- Original Message -----
From: "Bernd Pörner" <bernd.poerner@imformgroup.com>
To: <docbook-apps@lists.oasis-open.org>
Sent: Thursday, September 16, 2004 1:22 PM
Subject: [docbook-apps] Article title in chunked HTML files
> Dear all,
>
> one more question before I go on holiday:
>
> In chunked HTML files, the title of a DocBook document is only displayed
> in the <title> section and as <h1> header of/in the first (the
> index.html) file.
>
> My question:
>
> * How to place the document title as <h1> header in every chunked
file?
> * How to place the document title in the <title> section of every
> chunked file, in the following format: "document_title -
> section_title_of_chunk_file"?
>
> Cheers
> B.
>
>
>