bug-texinfo
[Top][All Lists]
Advanced

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

Re: modernizing html output


From: Gavin Smith
Subject: Re: modernizing html output
Date: Wed, 2 Jan 2019 19:40:40 +0000
User-agent: Mutt/1.5.23 (2014-03-12)

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.

(I generated the output with

srcdir=../../../tp builddir=.. top_builddir=../.. top_srcdir=../../.. 
../../../tp/texi2any.pl test.texi --html --no-split -c CSS_LINES=

The paths will be different depending on how you built texi2any and what 
directory you are running it from.)

Attachment: test.texi
Description: TeXInfo document

The book of flowers

Next: More Flowers  

1 An account of the various flowers

ok


Up: Flowers  

1.1 We like pansies

All about pansies.


Previous: Flowers  

2 About some other flowers

ok



reply via email to

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