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
--
2.17.1
_______________________________________________
devel mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/devel