summaryrefslogtreecommitdiffstats
path: root/Doc/perl/ltxmarkup.perl
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-04-03 04:51:13 (GMT)
committerFred Drake <fdrake@acm.org>2000-04-03 04:51:13 (GMT)
commite15956b46515dfc5cf258b7109e2b7b330c27e5f (patch)
tree0776ca09eb49808534b37e8f5320af8da5c0290c /Doc/perl/ltxmarkup.perl
parent20082d92f2e5fc7736b3fb1839380cc7c0133165 (diff)
downloadcpython-e15956b46515dfc5cf258b7109e2b7b330c27e5f.zip
cpython-e15956b46515dfc5cf258b7109e2b7b330c27e5f.tar.gz
cpython-e15956b46515dfc5cf258b7109e2b7b330c27e5f.tar.bz2
Merged changes from the 1.5.2p2 release.
Diffstat (limited to 'Doc/perl/ltxmarkup.perl')
-rw-r--r--Doc/perl/ltxmarkup.perl13
1 files changed, 7 insertions, 6 deletions
diff --git a/Doc/perl/ltxmarkup.perl b/Doc/perl/ltxmarkup.perl
index 07e93ca..290e79b 100644
--- a/Doc/perl/ltxmarkup.perl
+++ b/Doc/perl/ltxmarkup.perl
@@ -15,13 +15,13 @@ sub ltx_next_argument{
sub do_cmd_macro{
local($_) = @_;
my $macro = ltx_next_argument();
- return "<tt class=macro>&#92;$macro</tt>" . $_;
+ return "<tt class='macro'>&#92;$macro</tt>" . $_;
}
sub do_cmd_env{
local($_) = @_;
my $env = ltx_next_argument();
- return "<tt class=environment>&#92;$env</tt>" . $_;
+ return "<tt class='environment'>&#92;$env</tt>" . $_;
}
sub ltx_process_params{
@@ -43,8 +43,8 @@ sub do_env_macrodesc{
local($_) = @_;
my $macro = ltx_next_argument();
my $params = ltx_process_params(ltx_next_argument());
- return "\n<dl class=macrodesc>"
- . "\n<dt><b><tt class=macro>&#92;$macro</tt></b>"
+ return "\n<dl class='macrodesc'>"
+ . "\n<dt><b><tt class='macro'>&#92;$macro</tt></b>"
. "\n $params"
. "\n<dd>"
. $_
@@ -55,9 +55,10 @@ sub do_env_envdesc{
local($_) = @_;
my $env = ltx_next_argument();
my $params = ltx_process_params(ltx_next_argument());
- return "\n<dl class=envdesc>"
- . "\n<dt><tt>&#92;begin{<b class=environment>$env</b>}</tt>"
+ return "\n<dl class='envdesc'>"
+ . "\n<dt><tt>&#92;begin{<b class='environment'>$env</b>}</tt>"
. "\n $params"
+ . "\n<br /><tt>&#92;end{<b class='environment'>$env</b>}</tt>"
. "\n<dd>"
. $_
. "</dl>";