]> granicus.if.org Git - python/commitdiff
&do_cmd_textohtmlmoduleindex: Get the modindex key added to the label->node
authorFred Drake <fdrake@acm.org>
Tue, 17 Feb 1998 23:11:40 +0000 (23:11 +0000)
committerFred Drake <fdrake@acm.org>
Tue, 17 Feb 1998 23:11:40 +0000 (23:11 +0000)
association.

Doc/.latex2html-init

index a871bb75ec8a675802c03d54d361c027171be421..f51adeee4a73ce9dedb1bf3c692adf5b10a7fdf1 100644 (file)
@@ -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, $_);
 }