From ce4daf9fd96ed5b4254cbc647e13d0f46a15698e Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Wed, 2 Nov 2016 16:34:32 +1100 Subject: Add a copyright to the PDF front page. --- common/conf.py | 5 +++-- common/rtemsstyle.sty | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/common/conf.py b/common/conf.py index 237d4c8..0587753 100644 --- a/common/conf.py +++ b/common/conf.py @@ -29,7 +29,7 @@ master_doc = 'index' # General information about the project. project = u'RTEMS Documentation Project' -copyright = u'2016, RTEMS Projecti (built %s)' % (datetime.date.today().strftime('%d %b %Y')) +copyright = u'2016, RTEMS Project (built %s)' % (datetime.date.today().strftime('%d %b %Y')) # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the @@ -178,8 +178,9 @@ latex_elements = { 'papersize': 'a4paper', 'pointsize': '11pt', 'preamble': r''' +\newcommand{\rtemscopyright}{%s} \usepackage{rtemsstyle} -''' +''' % (copyright) } diff --git a/common/rtemsstyle.sty b/common/rtemsstyle.sty index cca8e98..fab0aba 100644 --- a/common/rtemsstyle.sty +++ b/common/rtemsstyle.sty @@ -50,7 +50,7 @@ gobble=0, {\rm\Huge \@title \par}% {\em\LARGE \py@release\releaseinfo \par} {\large - \@date \par + Copyright \copyright \rtemscopyright \par \py@authoraddress \par }}% \end{flushright}%\par -- cgit v1.2.3