We discussed adding some sectioning command and moving
the 'id' attributes to the appropriate section.
Specifically, something like this, assuming --split=chapter:
<body>
<section class="chapter" id="chapter4">
<div class="header">Next/Previous etc links </div>
<div class="node" id="character4-1">
<h2 class="chapter">This is chapter 4</h2>
<p>preamble text</p>
<ul class="menu">...</ul>
</div>
<section class="section" id="section-41">
<div class="header">Next/Previous etc links </div>
<div class="node" id="character41-1">
<h3 class="section">This is section 4.1</h3>
<p>text for 4.1</p>
</div>
</section>
<section class="section" id="section-42">
<div class="header">Next/Previous etc links </div>
<div class="node" id="character42-1">
<h3 class="section">This is section 4.2</h3>
<p>text for 4.2</p>
</div>
</section>
</section>
</body>
I'm hoping we can move forward on this. (There was concern that
older browsers would not understand <section>, but that should
not be a problem if they just ignore it.)
However, while I can make local changes to HTML.pm, I don't
understand enough of the logic and control flow to achieve the
desired structure. Can someone help? Given a few hints, I can
probably fill in the details, testing, and (if needed) modify info.js.
--
--Per Bothner
[email protected] http://per.bothner.com/