summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-François B <jfbu@free.fr>2019-09-14 15:17:10 +0200
committerGitHub <noreply@github.com>2019-09-14 15:17:10 +0200
commit59890a3b6df3b1e9c91c69a60c7df0cf48e3722a (patch)
tree105e19001ecd77a2e952d70ed06c8b5646ca6117
parent8912ee0af0734e92b69a947a22b31c5a1187e584 (diff)
parentd95f6d103c926e29a4c408b58c7aefac5f1c305e (diff)
downloadsphinx-git-59890a3b6df3b1e9c91c69a60c7df0cf48e3722a.tar.gz
Merge pull request #6683 from jfbu/latex_6641
Fix #6641: Undefined control sequence \sphinxmaketitle
-rw-r--r--CHANGES2
-rw-r--r--sphinx/texinputs/sphinx.sty3
2 files changed, 4 insertions, 1 deletions
diff --git a/CHANGES b/CHANGES
index b3110f980..7d4015556 100644
--- a/CHANGES
+++ b/CHANGES
@@ -16,6 +16,8 @@ Features added
Bugs fixed
----------
+* #6641: LaTeX: Undefined control sequence ``\sphinxmaketitle``
+
Testing
--------
diff --git a/sphinx/texinputs/sphinx.sty b/sphinx/texinputs/sphinx.sty
index 2eebbb914..c18e87a9b 100644
--- a/sphinx/texinputs/sphinx.sty
+++ b/sphinx/texinputs/sphinx.sty
@@ -6,7 +6,7 @@
%
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
-\ProvidesPackage{sphinx}[2019/06/04 v2.1.1 LaTeX package (Sphinx markup)]
+\ProvidesPackage{sphinx}[2019/09/02 v2.2.1 LaTeX package (Sphinx markup)]
% provides \ltx@ifundefined
% (many packages load ltxcmds: graphicx does for pdftex and lualatex but
@@ -527,6 +527,7 @@
\fi
% make commands known to non-Sphinx document classes
+\providecommand*{\sphinxmaketitle}{\maketitle}
\providecommand*{\sphinxtableofcontents}{\tableofcontents}
\ltx@ifundefined{sphinxthebibliography}
{\newenvironment