summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-04-12 02:13:14 (GMT)
committerFred Drake <fdrake@acm.org>1998-04-12 02:13:14 (GMT)
commitb73bc31e398ff07b5a1661f3f0a418989717fd98 (patch)
treecb6bd52aef35b7539769d43e2bab9ed21894adfd
parentee60191d1d318684a896794faad9ccbcfe9bd254 (diff)
downloadcpython-b73bc31e398ff07b5a1661f3f0a418989717fd98.zip
cpython-b73bc31e398ff07b5a1661f3f0a418989717fd98.tar.gz
cpython-b73bc31e398ff07b5a1661f3f0a418989717fd98.tar.bz2
Removed partially broken {verbatim} support.
-rw-r--r--Doc/perl/python.perl25
1 files changed, 0 insertions, 25 deletions
diff --git a/Doc/perl/python.perl b/Doc/perl/python.perl
index d37aab1..e45712b 100644
--- a/Doc/perl/python.perl
+++ b/Doc/perl/python.perl
@@ -444,31 +444,6 @@ sub make_str_index_entry{
"$aname$str</a>";
}
-# Changed from the stock version to indent {verbatim} sections,
-# and make them smaller, to better match the LaTeX version:
-
-# (Used with LaTeX2HTML 96.1*)
-sub replace_verbatim {
- # Modifies $_
- my($prefix,$suffix) = ("\n<p><dl><dd><pre>\n", "</pre></dl>");
- s/$verbatim_mark(verbatim)(\d+)/$prefix$verbatim{$2}$suffix/go;
- s/$verbatim_mark(rawhtml)(\d+)/$verbatim{$2}/ego; # Raw HTML
-}
-
-# (Used with LaTeX2HTML 98.1)
-# The HTML this produces is bad; the <PRE> is on the outside of the <dl>,
-# but I haven't found a workaround yet.
-sub replace_verbatim_hook{
- # Modifies $_
- my($prefix,$suffix) = ("\n<p><dl><dd>", "</dl>");
- s/$math_verbatim_rx/&put_comment("MATH: ".$verbatim{$1})/eg;
- s/$verbatim_mark(\w*[vV]erbatim\*?)(\d+)\#/$prefix$verbatim{$2}$suffix/go;
- # Raw HTML, but replacements may have protected characters
- s/$verbatim_mark(rawhtml)(\d+)#/&unprotect_raw_html($verbatim{$2})/eg;
- s/$verbatim_mark$keepcomments(\d+)#/$verbatim{$2}/ego; # Raw TeX
- s/$unfinished_mark$keepcomments(\d+)#/$verbatim{$2}/ego; # Raw TeX
-}
-
sub do_env_cfuncdesc{
local($_) = @_;
my($return_type,$function_name,$arg_list,$idx) = ('', '', '', '');