diff options
author | Chris Johns <chrisj@rtems.org> | 2017-08-11 03:09:50 +0000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2017-08-11 13:45:52 +1000 |
commit | efc29ff31bb604175c48d3ec092e2649eab0f4bd (patch) | |
tree | 0cf28c23ae1c5dcfc3b489827c481d82134b132c /common/rtemsstyle.sty | |
parent | pdf: Update the RTEMS style to work recent Sphinx versions. (diff) | |
download | rtems-docs-efc29ff31bb604175c48d3ec092e2649eab0f4bd.tar.bz2 |
Update copyright notices.
Diffstat (limited to 'common/rtemsstyle.sty')
-rw-r--r-- | common/rtemsstyle.sty | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/rtemsstyle.sty b/common/rtemsstyle.sty index 8f963c4..96313f1 100644 --- a/common/rtemsstyle.sty +++ b/common/rtemsstyle.sty @@ -61,10 +61,10 @@ gobble=0, \fancypagestyle{normal}{ \fancyhf{} \fancyfoot[LE,RO]{{\thepage}} - \fancyfoot[LO]{{\nouppercase{\rightmark}}} + \fancyfoot[LO]{{\ifnum\value{chapter}>0{\nouppercase{\rightmark}}\fi}} \fancyfoot[RE]{{\nouppercase{\leftmark}}} \fancyhead[LE,RO]{{\@title, \py@release}} - \fancyhead[RE,LO]{{\chaptername\:\thechapter\:Section\:\thesection}} + \fancyhead[RE,LO]{{\ifnum\value{chapter}>0{\chaptername\:\thechapter\:Section\:\thesection}\fi}} \renewcommand{\headrulewidth}{0.4pt} \renewcommand{\footrulewidth}{0.4pt} } |