Add a little more support for describing version information. This
is not pretty, but does what is needed.
This commit is contained in:
parent
8853b18cc8
commit
c65218e1fd
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue