mirror of
https://git.rtems.org/rtems-docs/
synced 2025-06-06 12:38:50 +08:00
common: fix title page
Sphinx changed the default behavior of maketitle. Provide our own rtemsmaketitle command and use it instead.
This commit is contained in:
parent
ec9457f604
commit
fb3644c14b
@ -193,6 +193,7 @@ latex_elements = {
|
||||
\newcommand{\rtemscopyright}{%s}
|
||||
\usepackage{rtemsstyle}
|
||||
''' % (copyright),
|
||||
'maketitle': r'\rtemsmaketitle',
|
||||
'parsedliteralwraps': True,
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user