bug-texinfo
[Top][All Lists]
Advanced

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

--xml and different node and sectionning structures


From: Patrice Dumas
Subject: --xml and different node and sectionning structures
Date: Mon, 10 Aug 2009 12:09:23 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

Hello,

When there is a @node associated with every sectionning @-command, the
output of --xml is every section is simply nested in the corresponding <node>. 
However, when there are no @node, the nesting of elements follows the 
sectionning, like 

<chapter>
  ....
 <section>
  ...
 </section>
</chapter>

When there is a mix, typically with more sectionning @-commands than @node
and even more if the @node structure doesn't follow the sectionning 
@-command structure, the nesting may not be easy to sort out. I attach an
example of such a case, on which C makeinfo fails with --xml. This is of 
course a test case and not a real life manual, but I think that it 
demonstrates issues than may arise in real life manuals.

Currently the texi2html design is to completly ignore the tree structure 
of sectionning @-commands, and have no nesting of the corresponding
xml, even if there are no nodes.

What is your opinion on the desirable output with --xml?

--
Pat

Attachment: more_sections_than_nodes.texi
Description: TeXInfo document


reply via email to

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