From daea85e3b23a265dc58c1fdc8d123beff4d92205 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Tue, 8 Nov 2016 15:26:25 +1100 Subject: pdf: Format lists for directives to sit on the next line. --- common/conf.py | 1 - common/latex.py | 1 + common/rtemsstyle.sty | 7 ++++++- 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} -- cgit v1.2.3