From 7130ed3229ab9da8d67f93bd4bf13f277d2a5229 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Tue, 26 Jan 2016 21:48:15 +1100 Subject: [PATCH] Fix PDF layout. --- c_user/index.rst | 16 ++++++---------- common/conf.py | 4 ++-- common/rtemsstyle.sty | 2 ++ 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)