From daea85e3b23a265dc58c1fdc8d123beff4d92205 Mon Sep 17 00:00:00 2001
From: Chris Johns <chrisj@rtems.org>
Date: Tue, 8 Nov 2016 15:26:25 +1100
Subject: pdf: Format lists for directives to sit on the next line.

---
 common/rtemsstyle.sty | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

(limited to 'common/rtemsstyle.sty')

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

