[rtems-docs commit] Add a copyright to the PDF front page.

Chris Johns chrisj at rtems.org
Wed Nov 2 05:34:37 UTC 2016


Module:    rtems-docs
Branch:    master
Commit:    ce4daf9fd96ed5b4254cbc647e13d0f46a15698e
Changeset: http://git.rtems.org/rtems-docs/commit/?id=ce4daf9fd96ed5b4254cbc647e13d0f46a15698e

Author:    Chris Johns <chrisj at rtems.org>
Date:      Wed Nov  2 16:34:32 2016 +1100

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 at release\releaseinfo \par}
         {\large
-         \@date \par
+         Copyright \copyright \rtemscopyright \par
          \py at authoraddress \par
         }}%
     \end{flushright}%\par




More information about the vc mailing list