summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-02-19 21:00:41 (GMT)
committerFred Drake <fdrake@acm.org>1998-02-19 21:00:41 (GMT)
commit6eb1f6b251e65d832c23b43ce579b4de5e4f965a (patch)
tree43edc9c74d25668d868bf92633a3205be69dcb8b /Doc
parentf4aeb84bc63cecd91f0b3f5e190e33ea57d1c0c8 (diff)
downloadcpython-6eb1f6b251e65d832c23b43ce579b4de5e4f965a.zip
cpython-6eb1f6b251e65d832c23b43ce579b4de5e4f965a.tar.gz
cpython-6eb1f6b251e65d832c23b43ce579b4de5e4f965a.tar.bz2
Improve support for logical node names.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/.latex2html-init26
1 files changed, 26 insertions, 0 deletions
diff --git a/Doc/.latex2html-init b/Doc/.latex2html-init
index fbb3d2f..e263d87 100644
--- a/Doc/.latex2html-init
+++ b/Doc/.latex2html-init
@@ -250,6 +250,32 @@ sub remove_general_markers {
}
}
+# In addition to the standard stuff, add label to allow named node files.
+sub do_cmd_tableofcontents {
+ local($_) = @_;
+ $tocfile = $CURRENT_FILE;
+ $TITLE = $toc_title;
+ &anchor_label("contents",$CURRENT_FILE,$_); # this is added
+ join('', '<P>', &make_section_heading($toc_title, "H2"), $toc_mark, $_);
+}
+
+# In addition to the standard stuff, add label to allow named node files.
+sub do_cmd_listoffigures {
+ local($_) = @_;
+ $TITLE = $lof_title;
+ $loffile = $CURRENT_FILE;
+ &anchor_label("figures",$CURRENT_FILE,$_); # this is added
+ join('', '<P>' , &make_section_heading($lof_title, "H2"), $lof_mark, $_);
+}
+
+# In addition to the standard stuff, add label to allow named node files.
+sub do_cmd_listoftables {
+ local($_) = @_;
+ $TITLE = $lot_title;
+ $lotfile = $CURRENT_FILE;
+ &anchor_label("tables",$CURRENT_FILE,$_); # this is added
+ join('', '<P>' , &make_section_heading($lot_title, "H2"), $lot_mark, $_);
+}
# In addition to the standard stuff, add label to allow named node files.
sub do_cmd_textohtmlinfopage {