[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] <h1> headers in html and webhelp output of <book>
On Jul 27, 2016, at 6:38 AM, Fekete, Róbert <robert.fekete@balabit.com> wrote:
>
> We produce single-page HTML and chunked webhelp output from our DocBook files. I have noticed that for books, the title of high-level elements (chapter, appendix, and so on) receives an <h1> tag. Is there a way to change it to <h2>? I suspect that the components.xsl is responsible for calculating the header levels, but couldn't customize it to work for me.
Changing that would ripple all the way down through <sect1> and such.
Why do you believe you need this? For example, if all you’re trying to do is reduce the font size, you can do that in CSS. The stock DocBook HTML output is *heavily* tagged, so that you could even target particular flavors of <h1> separately.
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]