This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: subtitle more important than title in html tags
- From: Bob Stayton <bobs at caldera dot com>
- To: abx at abx dot art dot pl, docbook-apps at lists dot oasis-open dot org
- Date: Mon, 25 Nov 2002 09:55:25 -0800
- Subject: Re: DOCBOOK-APPS: subtitle more important than title in html tags
- References: <4574uuos0t9kq7n98i7aj8klrq9s7kr2ll@4ax.com>
On Mon, Nov 25, 2002 at 02:23:38PM +0100, Wlodzimierz Skiba wrote:
> Hi, I'm new in this list and I have not checked archives carefully yet but I
> have some problems converting docbook into other formats. One of it is that
> when I use title and subtitle together then they are rendered in HTML in
> reversed order/meaning of tags. I mean title is H3 and subtitle is H2. Is this
> a bug or expected behaviour? I use it that way:
>
> <book>
> <bookinfor><title>MyApplication</title>
> ...
> </bookinfo>
> <part><title>Introduction</title>
> <chapter><title>History</title>
> <sect1><title>Earlier</title>
> <sect2><title>16 August 2000</title><subtitle>Major update</subtitle>
> ...
> </sect2>
> ...
> </sect1>
> ...
> </chapter>
> ...
> </part>
> </book>
>
> I use docbook XSL 1.57.0 with xsltproc.
This is a bug. The template for subtitle in
html/titlepage.xsl always uses <h2>. For sections,
it should be adjusting to the section level.
I filed a bug on SourceForge (#643682) for this.
--
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@sco.com