Remove unused and undocumented LaTeX macro `\shortversion`

This commit is contained in:
jfbu 2018-01-13 08:53:16 +01:00
parent 8f2d4bae86
commit f2bc93859a
2 changed files with 4 additions and 5 deletions

View File

@ -95,6 +95,8 @@ Features removed
* LaTeX environment ``notice``, use ``sphinxadmonition`` instead
* LaTeX ``\sphinxstylethead``, use ``\sphinxstyletheadfamily``
* C++, support of function concepts. Thanks to mickk-on-cpp.
* Not used and previously not documented LaTeX macros ``\shortversion``
and ``\setshortversion``
Bugs fixed

View File

@ -1403,12 +1403,9 @@
%
\newcommand{\py@release}{\releasename\space\version}
\newcommand{\version}{}% part of \py@release, used by title page and headers
% these two are not used and not documented:
\newcommand{\shortversion}{}
\newcommand{\setshortversion}[1]{\renewcommand{\shortversion}{#1}}
% this one is not documented, but used in sphinxmanual.cls and sphinxhowto.cls
% \releaseinfo is used on titlepage (sphinxmanual.cls, sphinxhowto.cls)
\newcommand{\releaseinfo}{}
\newcommand{\setreleaseinfo}[1]{\renewcommand{\releaseinfo}{#1}}% not used
\newcommand{\setreleaseinfo}[1]{\renewcommand{\releaseinfo}{#1}}
% this is inserted via template and #1=release config variable
\newcommand{\release}[1]{\renewcommand{\version}{#1}}
% this is defined by template to 'releasename' latex_elements key