Add a little more support for describing version information. This

is not pretty, but does what is needed.
This commit is contained in:
Fred Drake 2001-06-20 21:17:09 +00:00
parent 8853b18cc8
commit c65218e1fd
1 changed files with 3 additions and 0 deletions

View File

@ -1048,12 +1048,15 @@
\newcommand{\py@release}{} \newcommand{\py@release}{}
\newcommand{\version}{} \newcommand{\version}{}
\newcommand{\shortversion}{} \newcommand{\shortversion}{}
\newcommand{\releaseinfo}{}
\newcommand{\releasename}{Release} \newcommand{\releasename}{Release}
\newcommand{\release}[1]{% \newcommand{\release}[1]{%
\renewcommand{\py@release}{\releasename\space\version}% \renewcommand{\py@release}{\releasename\space\version}%
\renewcommand{\version}{#1}} \renewcommand{\version}{#1}}
\newcommand{\setshortversion}[1]{% \newcommand{\setshortversion}[1]{%
\renewcommand{\shortversion}{#1}} \renewcommand{\shortversion}{#1}}
\newcommand{\setreleaseinfo}[1]{%
\renewcommand{\releaseinfo}{#1}}
% Allow specification of the author's address separately from the % Allow specification of the author's address separately from the
% author's name. This can be used to format them differently, which % author's name. This can be used to format them differently, which