From 37cb8ba147d67d56ca8e1dad6fb27d93c3e678eb Mon Sep 17 00:00:00 2001 From: jfbu Date: Mon, 2 Sep 2019 21:53:47 +0200 Subject: [PATCH 1/2] Fix #6641: Undefined control sequence \sphinxmaketitle --- CHANGES | 2 ++ sphinx/texinputs/sphinx.sty | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index b3110f980..3340d65cd 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 From d95f6d103c926e29a4c408b58c7aefac5f1c305e Mon Sep 17 00:00:00 2001 From: jfbu Date: Tue, 3 Sep 2019 17:04:18 +0200 Subject: [PATCH 2/2] Fix mark-up in CHANGES --- CHANGES | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 3340d65cd..7d4015556 100644 --- a/CHANGES +++ b/CHANGES @@ -16,7 +16,7 @@ Features added Bugs fixed ---------- -* #6641: LaTeX: Undefined control sequence `\sphinxmaketitle` +* #6641: LaTeX: Undefined control sequence ``\sphinxmaketitle`` Testing --------