summaryrefslogtreecommitdiffstats
path: root/scripts/qtextensions/shared/conf.py
diff options
context:
space:
mode:
authorVenugopal Shivashankar <venugopal.shivashankar@digia.com>2013-02-27 14:00:26 +0100
committerVenugopal Shivashankar <venugopal.shivashankar@digia.com>2013-02-28 13:08:50 +0100
commitb4eb5a477de61e67e59bc7fcc6f69ff63801c168 (patch)
treea264f6af63eb84d45d80462cefaf386a4f544234 /scripts/qtextensions/shared/conf.py
parentde97f693f23b1a6d6e411685fe4ace7d6563719c (diff)
Updated the configuration for latex output
- Removes the empty page after every chapter - Changes the chapter title to title case from all caps Task-number: QTBUG-28831 Change-Id: Ibc90fd769d3d61e4469e2478c27ec030883ee99f Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Diffstat (limited to 'scripts/qtextensions/shared/conf.py')
-rw-r--r--scripts/qtextensions/shared/conf.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/qtextensions/shared/conf.py b/scripts/qtextensions/shared/conf.py
index 1aadb81..23be9bb 100644
--- a/scripts/qtextensions/shared/conf.py
+++ b/scripts/qtextensions/shared/conf.py
@@ -257,6 +257,13 @@ latex_domain_indices = False
# 'preamble': latex_custom_preamble
# }
+# Removes the blank pages betweeen chapters
+latex_elements = {
+ 'classoptions': ',oneside',
+ 'babel': '\\usepackage[english]{babel}',
+ 'fncychap': '\\usepackage[Sonny]{fncychap}'
+}
+
# change the font size of the code samples in the LaTex and PDF output
# taken from http://stackoverflow.com/questions/9899283/how-do-you-change-the-code-example-font-size-in-latex-pdf-output-with-sphinx
#