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: subtitle more important than title in html tags


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


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