[rtems-docs commit] common: fix title page
Chris Johns
chrisj at rtems.org
Fri Apr 3 23:14:55 UTC 2020
Module: rtems-docs
Branch: master
Commit: fb3644c14ba152fed52a63eb229fd52e787586c1
Changeset: http://git.rtems.org/rtems-docs/commit/?id=fb3644c14ba152fed52a63eb229fd52e787586c1
Author: Gedare Bloom <gedare at rtems.org>
Date: Fri Apr 3 16:55:39 2020 -0600
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 at tempa\relax
\ifHy at pageanchor\def\spx at tempa{\Hy at pageanchortrue}\fi
\hypersetup{pageanchor=false}% avoid duplicate destination warnings
More information about the vc
mailing list