Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c65218e

Browse files
committed
Add a little more support for describing version information. This
is not pretty, but does what is needed.
1 parent 8853b18 commit c65218e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Doc/texinputs/python.sty

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1048,12 +1048,15 @@
10481048
\newcommand{\py@release}{}
10491049
\newcommand{\version}{}
10501050
\newcommand{\shortversion}{}
1051+
\newcommand{\releaseinfo}{}
10511052
\newcommand{\releasename}{Release}
10521053
\newcommand{\release}[1]{%
10531054
\renewcommand{\py@release}{\releasename\space\version}%
10541055
\renewcommand{\version}{#1}}
10551056
\newcommand{\setshortversion}[1]{%
10561057
\renewcommand{\shortversion}{#1}}
1058+
\newcommand{\setreleaseinfo}[1]{%
1059+
\renewcommand{\releaseinfo}{#1}}
10571060

10581061
% Allow specification of the author's address separately from the
10591062
% author's name. This can be used to format them differently, which

0 commit comments

Comments
 (0)