summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-02-17 23:11:40 (GMT)
committerFred Drake <fdrake@acm.org>1998-02-17 23:11:40 (GMT)
commit45a40930e757550095c38b6a1116daade4850d79 (patch)
tree746459aec8e6ca973a09ebc059e9752847de40bc
parent57b5e42c0c2ec1ac23ba4fd1f40e7fb908af3e1c (diff)
downloadcpython-45a40930e757550095c38b6a1116daade4850d79.zip
cpython-45a40930e757550095c38b6a1116daade4850d79.tar.gz
cpython-45a40930e757550095c38b6a1116daade4850d79.tar.bz2
&do_cmd_textohtmlmoduleindex: Get the modindex key added to the label->node
association.
-rw-r--r--Doc/.latex2html-init4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/.latex2html-init b/Doc/.latex2html-init
index a871bb7..f51adee 100644
--- a/Doc/.latex2html-init
+++ b/Doc/.latex2html-init
@@ -221,7 +221,6 @@ sub clean_key {
$idx_module_mark = '<tex2html_idx_module_mark>';
$idx_module_title = 'Module Index';
-$idxmodulefile = '';
sub add_module_idx {
print "\nDoing the module index ...";
@@ -255,8 +254,9 @@ sub remove_general_markers {
# $idx_mark will be replaced with the real index at the end
sub do_cmd_textohtmlmoduleindex {
local($_) = @_;
+ local($key) = q/modindex/;
$TITLE = $idx_module_title;
- $idxmodulefile = $CURRENT_FILE;
+ &anchor_label("modindex",$CURRENT_FILE,$_);
join('', '<p>' , &make_section_heading($idx_module_title, "h2"),
$idx_module_mark, $_);
}