bug-texinfo
[Top][All Lists]
Advanced

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

html and Top, -html and @contents


From: pascal barbedor
Subject: html and Top, -html and @contents
Date: Thu, 31 Jan 2002 19:43:32 +0100

hi

I finally applied patch about Top and --html which works but output an
isolated index.html (everything before the first node) not linked to the
first and subsequent nodes
but it works

about problem in @contents
the patch seems NOT to have resolved the problem :  the first entry of the
toc is not displayed

I applied to makeinfo 4.0f , in arbitrary order, with syntax patch -p0
<patch.txt (no --binary in options for patch), patches named :

2002-01-30  Eli Zaretskii  <address@hidden>

 * makeinfo/node.c (cm_node): Don't condition splitting on
 top_node_seen being non-zero.  If current_node is NULL, use the
 current output file name to get at the file name for the previous
 node.  Don't compute a new file name for a node if we didn't close
 the current file.


and patch named :

2002-01-23  Eli Zaretskii  <address@hidden>

 * makeinfo/toc.h <TOC_ENTRY_ELT>: New member html_file.

 * makeinfo/toc.c (toc_add_entry): Compute and set the html_file
 member.
 (shortcontents_update_html): Produce the toc_* links correctly,
 without duplicating the link text.  Fix comparison with "Top".
 Handle the case when there's @shortcontents, but no @contents.
 (contents_update_html): Fix the way toc_* anchors are produced
 from toc_entry_alist[i]->name: take only the node name from the
 string in toc_entry_alist[i]->name.  Fix comparison with "Top".

 * makeinfo/sectioning.c (sectioning_html): Take the toc_anchor
 substring before closing the anchor with </a>.  Fix the closing
 </hN> tag--add 2 to level, not 1.  Use sizeof instead of a magic
 value of 9.

 * makeinfo/cmds.c: Make @summarycontents call cm_shortcontents, as
 promised by the docs.


thanks






reply via email to

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