mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
\shortversion,
\setshortversion: New markup to help deal with Python having a "real" version number and an abbreviated version number used to create pathnames to the library installation.
This commit is contained in:
parent
1fe3b82371
commit
af2b71466a
2 changed files with 29 additions and 2 deletions
|
@ -975,10 +975,13 @@
|
|||
%
|
||||
\newcommand{\py@release}{}
|
||||
\newcommand{\version}{}
|
||||
\newcommand{\shortversion}{}
|
||||
\newcommand{\releasename}{Release}
|
||||
\newcommand{\release}[1]{%
|
||||
\renewcommand{\py@release}{\releasename\space\version}%
|
||||
\renewcommand{\version}{#1}}
|
||||
\newcommand{\setshortversion}[1]{%
|
||||
\renewcommand{\shortversion}{#1}}
|
||||
|
||||
% Allow specification of the author's address separately from the
|
||||
% author's name. This can be used to format them differently, which
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue