Commit 2116d983 authored by Fred Drake's avatar Fred Drake

Make \versionadded and \versionchanged less prominant -- neither bold

nor a separate paragraph.
parent d0bceeeb
...@@ -219,14 +219,14 @@ sub do_cmd_versionadded{ ...@@ -219,14 +219,14 @@ sub do_cmd_versionadded{
# one parameter: \versionadded{version} # one parameter: \versionadded{version}
local($_) = @_; local($_) = @_;
my $release = next_argument(); my $release = next_argument();
return "<b>New in version $release.</b><p>" . $_; return "\nNew in version $release.\n" . $_;
} }
sub do_cmd_versionchanged{ sub do_cmd_versionchanged{
# one parameter: \versionchanged{version} # one parameter: \versionchanged{version}
local($_) = @_; local($_) = @_;
my $release = next_argument(); my $release = next_argument();
return "<b>Changed in version $release.</b><p>" . $_; return "\nChanged in version $release.\n" . $_;
} }
# file and samp are at the end of this file since they screw up fontlock. # file and samp are at the end of this file since they screw up fontlock.
......
...@@ -746,15 +746,15 @@ ...@@ -746,15 +746,15 @@
% This should be used to mark things which have been added to the % This should be used to mark things which have been added to the
% development tree but that aren't in the release, but are documented. % development tree but that aren't in the release, but are documented.
% This allows release of documentation that already includes updated % This allows release of documentation that already includes updated
% descriptions. % descriptions. Place at end of descriptor environment.
% %
% Example: % Example:
% \versionadded{1.5.2} % \versionadded{1.5.2}
% %
\newcommand{\versionadded}[1]{% \newcommand{\versionadded}[1]{%
\strong{New in version #1.}\par} { New in version #1. }}
\newcommand{\versionchanged}[1]{% \newcommand{\versionchanged}[1]{%
\strong{Changed in version #1.}\par} { Changed in version #1. }}
% Tables. % Tables.
......
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