summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2016-01-26 21:48:15 +1100
committerAmar Takhar <verm@darkbeer.org>2016-05-02 20:51:25 -0400
commit7130ed3229ab9da8d67f93bd4bf13f277d2a5229 (patch)
tree54075393157699924489dd01c3d72203f3c72855
parent8083970e47f4e4114847246b57af04d1d2c7f3c4 (diff)
downloadrtems-docs-7130ed3229ab9da8d67f93bd4bf13f277d2a5229.tar.bz2
Fix PDF layout.
-rw-r--r--c_user/index.rst16
-rw-r--r--common/conf.py4
-rw-r--r--common/rtemsstyle.sty2
3 files changed, 10 insertions, 12 deletions
diff --git a/c_user/index.rst b/c_user/index.rst
index 242c3a2..9db6ae4 100644
--- a/c_user/index.rst
+++ b/c_user/index.rst
@@ -2,6 +2,9 @@
RTEMS C User's Guide
====================
+RTEMS C User's Guide
+--------------------
+
| COPYRIGHT (c) 1988 - 2015.
| On-Line Applications Research Corporation (OAR).
@@ -18,8 +21,7 @@ The RTEMS Project is hosted at http://www.rtems.org/. Any inquiries concerning
RTEMS, its related support components, or its documentation should be directed
to the Community Project hosted at http://www.rtems.org/.
-RTEMS Online Resources
-----------------------
+.. topic:: RTEMS Online Resources
================ =============================
Home https://www.rtems.org/
@@ -30,17 +32,11 @@ RTEMS Online Resources
Git Repositories https://git.rtems.org/
================ =============================
-Table of Contents
------------------
-
-.. toctree::
-
- preface
-
.. toctree::
- :maxdepth: 3
+ :maxdepth: 3
:numbered:
+ preface
overview
key_concepts
rtems_data_types
diff --git a/common/conf.py b/common/conf.py
index 24db70f..821d338 100644
--- a/common/conf.py
+++ b/common/conf.py
@@ -175,7 +175,7 @@ latex_documents = [] # must be overridden in local conf.py
# 'fontpkg': r'\usepackage{mathpazo}',
latex_elements = {
'papersize': 'a4paper',
- 'pointsize': '12pt',
+ 'pointsize': '11pt',
'preamble': r'''
\usepackage{rtemsstyle}
'''
@@ -198,7 +198,7 @@ latex_use_parts = True
latex_show_pagerefs = True
# If true, show URL addresses after external links.
-latex_show_urls=True
+#latex_show_urls=True
# Documents to append as an appendix to all manuals.
#latex_appendices = []
diff --git a/common/rtemsstyle.sty b/common/rtemsstyle.sty
index 8d0db16..71c0635 100644
--- a/common/rtemsstyle.sty
+++ b/common/rtemsstyle.sty
@@ -109,6 +109,8 @@
\@afterheading}
% use inconsolata font
+\usepackage{charter}
+\usepackage[defaultsans]{lato}
\usepackage{inconsolata}
% fix single quotes, for inconsolata. (does not work)