summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2016-11-08 15:26:25 +1100
committerChris Johns <chrisj@rtems.org>2016-11-08 15:28:32 +1100
commitdaea85e3b23a265dc58c1fdc8d123beff4d92205 (patch)
tree817b7337e8dd29f89107d230e97db35c9add74ef
parentAdd openSUSE installation hints (diff)
downloadrtems-docs-daea85e3b23a265dc58c1fdc8d123beff4d92205.tar.bz2
pdf: Format lists for directives to sit on the next line.
Diffstat (limited to '')
-rw-r--r--common/conf.py1
-rw-r--r--common/latex.py1
-rw-r--r--common/rtemsstyle.sty7
3 files changed, 7 insertions, 2 deletions
diff --git a/common/conf.py b/common/conf.py
index d3d8bb0..c4531b9 100644
--- a/common/conf.py
+++ b/common/conf.py
@@ -90,7 +90,6 @@ pygments_style = 'sphinx'
# A list of ignored prefixes for module index sorting.
#modindex_common_prefix = []
-
# -- Options for HTML output ---------------------------------------------------
# The theme to use for HTML and HTML Help pages. See the documentation for
diff --git a/common/latex.py b/common/latex.py
index e5dbda5..2cc3101 100644
--- a/common/latex.py
+++ b/common/latex.py
@@ -25,6 +25,7 @@ package_tests = {
'cmap' : ['\\usepackage{cmap}'],
'color' : ['\\usepackage{color}'],
'eqparbox' : ['\\usepackage{eqparbox}'],
+ 'enumitem' : ['\\usepackage{enumitem}'],
'etoolbox' : ['\\usepackage{etoolbox}'],
'fancybox' : ['\\usepackage{fancybox}'],
'fancyhdr' : ['\\usepackage{fancyhdr}'],
diff --git a/common/rtemsstyle.sty b/common/rtemsstyle.sty
index b05dd0e..441c454 100644
--- a/common/rtemsstyle.sty
+++ b/common/rtemsstyle.sty
@@ -23,7 +23,6 @@ numbersep=5pt,
gobble=0,
}
-
\renewcommand{\maketitle}{%
\begin{titlepage}%
\let\footnotesize\small
@@ -93,6 +92,12 @@ gobble=0,
\ChNumVar{\raggedleft \bfseries\Large}
\ChTitleVar{\raggedleft \rm\Huge}
+\usepackage{enumitem}
+\setlist[description]{style=nextline,leftmargin=10pt}
+
+\let\oldsection\section
+\renewcommand\section{\clearpage\oldsection}
+
\renewcommand\thepart{\@Roman\c@part}
\renewcommand\part{%
\pagestyle{normal}