diff options
author | Fred Drake <fdrake@acm.org> | 2000-04-03 04:51:13 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2000-04-03 04:51:13 (GMT) |
commit | e15956b46515dfc5cf258b7109e2b7b330c27e5f (patch) | |
tree | 0776ca09eb49808534b37e8f5320af8da5c0290c /Doc/perl/ltxmarkup.perl | |
parent | 20082d92f2e5fc7736b3fb1839380cc7c0133165 (diff) | |
download | cpython-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.perl | 13 |
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>\$macro</tt>" . $_; + return "<tt class='macro'>\$macro</tt>" . $_; } sub do_cmd_env{ local($_) = @_; my $env = ltx_next_argument(); - return "<tt class=environment>\$env</tt>" . $_; + return "<tt class='environment'>\$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>\$macro</tt></b>" + return "\n<dl class='macrodesc'>" + . "\n<dt><b><tt class='macro'>\$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>\begin{<b class=environment>$env</b>}</tt>" + return "\n<dl class='envdesc'>" + . "\n<dt><tt>\begin{<b class='environment'>$env</b>}</tt>" . "\n $params" + . "\n<br /><tt>\end{<b class='environment'>$env</b>}</tt>" . "\n<dd>" . $_ . "</dl>"; |