Commit e817930a authored by Fred Drake's avatar Fred Drake

Adjusted to work with the newer version of LaTeX2HTML as well.

parent 3da06a69
...@@ -4,9 +4,12 @@ ...@@ -4,9 +4,12 @@
require "labels.pl"; require "labels.pl";
%nodes = (); %nodes = ();
my $key;
# sort so that we get a consistent assignment for nodes with multiple labels # sort so that we get a consistent assignment for nodes with multiple labels
foreach $label (sort keys %external_labels) { foreach $label (sort keys %external_labels) {
$nodes{$external_labels{$label}} = $label; $key = $external_labels{$label};
$key =~ s|^/||;
$nodes{$key} = $label;
} }
# collect labels that have been used # collect labels that have been used
......
...@@ -4,9 +4,12 @@ ...@@ -4,9 +4,12 @@
require "labels.pl"; require "labels.pl";
%nodes = (); %nodes = ();
my $key;
# sort so that we get a consistent assignment for nodes with multiple labels # sort so that we get a consistent assignment for nodes with multiple labels
foreach $label (sort keys %external_labels) { foreach $label (sort keys %external_labels) {
$nodes{$external_labels{$label}} = $label; $key = $external_labels{$label};
$key =~ s|^/||;
$nodes{$key} = $label;
} }
# collect labels that have been used # collect labels that have been used
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment