Commit c65218e1 authored by Fred Drake's avatar Fred Drake

Add a little more support for describing version information. This

is not pretty, but does what is needed.
parent 8853b18c
...@@ -1048,12 +1048,15 @@ ...@@ -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
......
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