From fe4810a01e57645ad92577d628f562791408ce21 Mon Sep 17 00:00:00 2001 From: Thomas Monjalon Date: Wed, 18 Mar 2015 18:41:57 +0100 Subject: [PATCH] doc: remove blank pages in pdf The "manual" Latex template provided by Sphinx introduce a lot of useless and confusing blank pages. Let's remove them. Signed-off-by: Thomas Monjalon Acked-by: John McNamara --- doc/guides/conf.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/guides/conf.py b/doc/guides/conf.py index 168efa61b3..b1ef323c00 100644 --- a/doc/guides/conf.py +++ b/doc/guides/conf.py @@ -63,6 +63,9 @@ latex_preamble = r""" latex_elements = { 'papersize': 'a4paper', 'pointsize': '11pt', + # remove blank pages + 'classoptions': ',openany,oneside', + 'babel': '\\usepackage[english]{babel}', # customize Latex formatting 'preamble': latex_preamble } -- 2.20.1