From fb3644c14ba152fed52a63eb229fd52e787586c1 Mon Sep 17 00:00:00 2001 From: Gedare Bloom Date: Fri, 3 Apr 2020 16:55:39 -0600 Subject: common: fix title page Sphinx changed the default behavior of maketitle. Provide our own rtemsmaketitle command and use it instead. --- common/conf.py | 1 + common/rtemsstyle.sty | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/common/conf.py b/common/conf.py index 97f8dfa..257bc4e 100644 --- a/common/conf.py +++ b/common/conf.py @@ -193,6 +193,7 @@ latex_elements = { \newcommand{\rtemscopyright}{%s} \usepackage{rtemsstyle} ''' % (copyright), + 'maketitle': r'\rtemsmaketitle', 'parsedliteralwraps': True, } diff --git a/common/rtemsstyle.sty b/common/rtemsstyle.sty index 15f80b5..90e7de5 100644 --- a/common/rtemsstyle.sty +++ b/common/rtemsstyle.sty @@ -20,7 +20,7 @@ numbersep=5pt, gobble=0, } -\renewcommand{\maketitle}{% +\newcommand{\rtemsmaketitle}{% \let\spx@tempa\relax \ifHy@pageanchor\def\spx@tempa{\Hy@pageanchortrue}\fi \hypersetup{pageanchor=false}% avoid duplicate destination warnings -- cgit v1.2.3