bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: modernizing html output


From: Per Bothner
Subject: Re: modernizing html output
Date: Wed, 2 Jan 2019 12:25:24 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.1

On 1/2/19 11:40 AM, Gavin Smith wrote:
On Mon, Dec 31, 2018 at 01:14:28PM -0800, Per Bothner wrote:
It wraps all nodes (anything processed by _convert_heading_command) in a <div> 
block.

Previously you wanted to have different <div>'s for @chapter and @node:

https://lists.gnu.org/archive/html/bug-texinfo/2016-02/msg00056.html

I suggest two categories of <div> elements:
A "node" includes all the content of a single node,
but *not* sub-nodes.leaves unanswered
A "chapter" or "section" (or "part" or whatever) <div>
encloses the current node - and sub-nodes.

This is not what your patch implemented, though.  The "node" <div> only
surrounds the navigation bar.  The "chapter" <div> doesn't start until
after the navigation bar, and does not enclose sub-ordinate sections.
See test file and output.

Indeed you're right. It wasn't as obvious when I looked at multi-page output.

Not sure how to do better, but I believe the DocBook output generates the
correctly nested elements, so it is presumably feasible.

I'll take a look, but if you have a suggestion that would be great.

--
        --Per Bothner
address@hidden   http://per.bothner.com/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]