Re: [docbook-apps] epub/chunking : why h1 tags for sections insteadof H2? (solved)

From
Keith Fahlgren <>
Date
2011-03-15T17:04:04+00:00
ID
AANLkTinQNdT=r+d=
Thread
Re: [docbook-apps] epub/chunking : why h1 tags for sections insteadof H2? (solved)
Hi,

On Tue, Mar 15, 2011 at 9:51 AM, Robert Nagle <> wrote:
> In epub/docbook.xsl I made this one line revision inside the
> section.heading template to add +1 to the level. By the way, perhaps
> this is a bug and should have always been +1?

I think it'll depend on how you chunk the content. For SEO purposes,
one and only one h1 per HTML file is desirable. This is tested in the
suite:

    "should include one and only one <h1> in each HTML file in
rendered ePub files for <book>s"


...but as you say, there may be other contexts where different heading
levels are desirable.


Keith