Commit e5e20bf4 authored by Fred Drake's avatar Fred Drake

Comment out the attempt to get index-related stuff processed in the right

order.  LaTeX2HTML just doesn't do things the same way as LaTeX, and this
wasn't the fix.

Simplify the generated HTML for \file{}.

For \samp{}, use "..." instead of `...'; many fonts make that look pretty
bad.   ;-(
parent ab961e53
...@@ -317,28 +317,28 @@ sub init_myformat{ ...@@ -317,28 +317,28 @@ sub init_myformat{
$any_next_pair_pr_rx_5 = "$OP(\\d+)$CP([\\s\\S]*)$OP\\5$CP"; $any_next_pair_pr_rx_5 = "$OP(\\d+)$CP([\\s\\S]*)$OP\\5$CP";
$any_next_pair_pr_rx_7 = "$OP(\\d+)$CP([\\s\\S]*)$OP\\7$CP"; $any_next_pair_pr_rx_7 = "$OP(\\d+)$CP([\\s\\S]*)$OP\\7$CP";
$any_next_pair_pr_rx_9 = "$OP(\\d+)$CP([\\s\\S]*)$OP\\9$CP"; $any_next_pair_pr_rx_9 = "$OP(\\d+)$CP([\\s\\S]*)$OP\\9$CP";
if (defined &process_commands_wrap_deferred) { # if (defined &process_commands_wrap_deferred) {
&process_commands_wrap_deferred(<<THESE_COMMANDS); # &process_commands_wrap_deferred(<<THESE_COMMANDS);
indexii # {} # {} # indexii # {} # {}
indexiii # {} # {} # {} # indexiii # {} # {} # {}
indexiv # {} # {} # {} # {} # indexiv # {} # {} # {} # {}
exindex # {} # exindex # {}
obindex # {} # obindex # {}
opindex # {} # opindex # {}
stindex # {} # stindex # {}
ttindex # {} # ttindex # {}
bifuncindex # {} # bifuncindex # {}
modindex # {} # modindex # {}
bimodindex # {} # bimodindex # {}
exmodindex # {} # exmodindex # {}
stmodindex # {} # stmodindex # {}
refmodindex # {} # refmodindex # {}
refbimodindex # {} # refbimodindex # {}
refexmodindex # {} # refexmodindex # {}
refstmodindex # {} # refstmodindex # {}
rfc # {} # rfc # {}
THESE_COMMANDS # THESE_COMMANDS
} # }
} }
&init_myformat; &init_myformat;
...@@ -697,13 +697,13 @@ sub do_cmd_file{ ...@@ -697,13 +697,13 @@ sub do_cmd_file{
# understand "<font face=...>" markup will use courier (or whatever # understand "<font face=...>" markup will use courier (or whatever
# the font is for <tt>). # the font is for <tt>).
local($_) = @_; local($_) = @_;
s/$any_next_pair_pr_rx/`<tt><font face=sans-serif>\2<\/font><\/tt>'/; s/$any_next_pair_pr_rx/\"<tt>\2<\/tt>\"/;
$_; $_;
} }
sub do_cmd_samp{ sub do_cmd_samp{
local($_) = @_; local($_) = @_;
s/$any_next_pair_pr_rx/`<tt>\2<\/tt>'/; s/$any_next_pair_pr_rx/\"<tt>\2<\/tt>\"/;
$_; $_;
} }
......
...@@ -317,28 +317,28 @@ sub init_myformat{ ...@@ -317,28 +317,28 @@ sub init_myformat{
$any_next_pair_pr_rx_5 = "$OP(\\d+)$CP([\\s\\S]*)$OP\\5$CP"; $any_next_pair_pr_rx_5 = "$OP(\\d+)$CP([\\s\\S]*)$OP\\5$CP";
$any_next_pair_pr_rx_7 = "$OP(\\d+)$CP([\\s\\S]*)$OP\\7$CP"; $any_next_pair_pr_rx_7 = "$OP(\\d+)$CP([\\s\\S]*)$OP\\7$CP";
$any_next_pair_pr_rx_9 = "$OP(\\d+)$CP([\\s\\S]*)$OP\\9$CP"; $any_next_pair_pr_rx_9 = "$OP(\\d+)$CP([\\s\\S]*)$OP\\9$CP";
if (defined &process_commands_wrap_deferred) { # if (defined &process_commands_wrap_deferred) {
&process_commands_wrap_deferred(<<THESE_COMMANDS); # &process_commands_wrap_deferred(<<THESE_COMMANDS);
indexii # {} # {} # indexii # {} # {}
indexiii # {} # {} # {} # indexiii # {} # {} # {}
indexiv # {} # {} # {} # {} # indexiv # {} # {} # {} # {}
exindex # {} # exindex # {}
obindex # {} # obindex # {}
opindex # {} # opindex # {}
stindex # {} # stindex # {}
ttindex # {} # ttindex # {}
bifuncindex # {} # bifuncindex # {}
modindex # {} # modindex # {}
bimodindex # {} # bimodindex # {}
exmodindex # {} # exmodindex # {}
stmodindex # {} # stmodindex # {}
refmodindex # {} # refmodindex # {}
refbimodindex # {} # refbimodindex # {}
refexmodindex # {} # refexmodindex # {}
refstmodindex # {} # refstmodindex # {}
rfc # {} # rfc # {}
THESE_COMMANDS # THESE_COMMANDS
} # }
} }
&init_myformat; &init_myformat;
...@@ -697,13 +697,13 @@ sub do_cmd_file{ ...@@ -697,13 +697,13 @@ sub do_cmd_file{
# understand "<font face=...>" markup will use courier (or whatever # understand "<font face=...>" markup will use courier (or whatever
# the font is for <tt>). # the font is for <tt>).
local($_) = @_; local($_) = @_;
s/$any_next_pair_pr_rx/`<tt><font face=sans-serif>\2<\/font><\/tt>'/; s/$any_next_pair_pr_rx/\"<tt>\2<\/tt>\"/;
$_; $_;
} }
sub do_cmd_samp{ sub do_cmd_samp{
local($_) = @_; local($_) = @_;
s/$any_next_pair_pr_rx/`<tt>\2<\/tt>'/; s/$any_next_pair_pr_rx/\"<tt>\2<\/tt>\"/;
$_; $_;
} }
......
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