Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2da947a

Browse files
committed
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. ;-(
1 parent 3fe985f commit 2da947a

2 files changed

Lines changed: 48 additions & 48 deletions

File tree

Doc/perl/python.perl

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -317,28 +317,28 @@ sub init_myformat{
317317
$any_next_pair_pr_rx_5 = "$OP(\\d+)$CP([\\s\\S]*)$OP\\5$CP";
318318
$any_next_pair_pr_rx_7 = "$OP(\\d+)$CP([\\s\\S]*)$OP\\7$CP";
319319
$any_next_pair_pr_rx_9 = "$OP(\\d+)$CP([\\s\\S]*)$OP\\9$CP";
320-
if (defined &process_commands_wrap_deferred) {
321-
&process_commands_wrap_deferred(<<THESE_COMMANDS);
322-
indexii # {} # {}
323-
indexiii # {} # {} # {}
324-
indexiv # {} # {} # {} # {}
325-
exindex # {}
326-
obindex # {}
327-
opindex # {}
328-
stindex # {}
329-
ttindex # {}
330-
bifuncindex # {}
331-
modindex # {}
332-
bimodindex # {}
333-
exmodindex # {}
334-
stmodindex # {}
335-
refmodindex # {}
336-
refbimodindex # {}
337-
refexmodindex # {}
338-
refstmodindex # {}
339-
rfc # {}
340-
THESE_COMMANDS
341-
}
320+
# if (defined &process_commands_wrap_deferred) {
321+
# &process_commands_wrap_deferred(<<THESE_COMMANDS);
322+
# indexii # {} # {}
323+
# indexiii # {} # {} # {}
324+
# indexiv # {} # {} # {} # {}
325+
# exindex # {}
326+
# obindex # {}
327+
# opindex # {}
328+
# stindex # {}
329+
# ttindex # {}
330+
# bifuncindex # {}
331+
# modindex # {}
332+
# bimodindex # {}
333+
# exmodindex # {}
334+
# stmodindex # {}
335+
# refmodindex # {}
336+
# refbimodindex # {}
337+
# refexmodindex # {}
338+
# refstmodindex # {}
339+
# rfc # {}
340+
# THESE_COMMANDS
341+
# }
342342
}
343343

344344
&init_myformat;
@@ -697,13 +697,13 @@ sub do_cmd_file{
697697
# understand "<font face=...>" markup will use courier (or whatever
698698
# the font is for <tt>).
699699
local($_) = @_;
700-
s/$any_next_pair_pr_rx/`<tt><font face=sans-serif>\2<\/font><\/tt>'/;
700+
s/$any_next_pair_pr_rx/\"<tt>\2<\/tt>\"/;
701701
$_;
702702
}
703703

704704
sub do_cmd_samp{
705705
local($_) = @_;
706-
s/$any_next_pair_pr_rx/`<tt>\2<\/tt>'/;
706+
s/$any_next_pair_pr_rx/\"<tt>\2<\/tt>\"/;
707707
$_;
708708
}
709709

Doc/python.perl

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -317,28 +317,28 @@ sub init_myformat{
317317
$any_next_pair_pr_rx_5 = "$OP(\\d+)$CP([\\s\\S]*)$OP\\5$CP";
318318
$any_next_pair_pr_rx_7 = "$OP(\\d+)$CP([\\s\\S]*)$OP\\7$CP";
319319
$any_next_pair_pr_rx_9 = "$OP(\\d+)$CP([\\s\\S]*)$OP\\9$CP";
320-
if (defined &process_commands_wrap_deferred) {
321-
&process_commands_wrap_deferred(<<THESE_COMMANDS);
322-
indexii # {} # {}
323-
indexiii # {} # {} # {}
324-
indexiv # {} # {} # {} # {}
325-
exindex # {}
326-
obindex # {}
327-
opindex # {}
328-
stindex # {}
329-
ttindex # {}
330-
bifuncindex # {}
331-
modindex # {}
332-
bimodindex # {}
333-
exmodindex # {}
334-
stmodindex # {}
335-
refmodindex # {}
336-
refbimodindex # {}
337-
refexmodindex # {}
338-
refstmodindex # {}
339-
rfc # {}
340-
THESE_COMMANDS
341-
}
320+
# if (defined &process_commands_wrap_deferred) {
321+
# &process_commands_wrap_deferred(<<THESE_COMMANDS);
322+
# indexii # {} # {}
323+
# indexiii # {} # {} # {}
324+
# indexiv # {} # {} # {} # {}
325+
# exindex # {}
326+
# obindex # {}
327+
# opindex # {}
328+
# stindex # {}
329+
# ttindex # {}
330+
# bifuncindex # {}
331+
# modindex # {}
332+
# bimodindex # {}
333+
# exmodindex # {}
334+
# stmodindex # {}
335+
# refmodindex # {}
336+
# refbimodindex # {}
337+
# refexmodindex # {}
338+
# refstmodindex # {}
339+
# rfc # {}
340+
# THESE_COMMANDS
341+
# }
342342
}
343343

344344
&init_myformat;
@@ -697,13 +697,13 @@ sub do_cmd_file{
697697
# understand "<font face=...>" markup will use courier (or whatever
698698
# the font is for <tt>).
699699
local($_) = @_;
700-
s/$any_next_pair_pr_rx/`<tt><font face=sans-serif>\2<\/font><\/tt>'/;
700+
s/$any_next_pair_pr_rx/\"<tt>\2<\/tt>\"/;
701701
$_;
702702
}
703703

704704
sub do_cmd_samp{
705705
local($_) = @_;
706-
s/$any_next_pair_pr_rx/`<tt>\2<\/tt>'/;
706+
s/$any_next_pair_pr_rx/\"<tt>\2<\/tt>\"/;
707707
$_;
708708
}
709709

0 commit comments

Comments
 (0)