summaryrefslogtreecommitdiffstats
path: root/Documentation/conf.py
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2016-08-16 12:25:37 -0400
committerJonathan Corbet <corbet@lwn.net>2016-08-18 18:41:37 -0400
commitcaee5cdede9c9b3562abd6a93c71e791577802ad (patch)
tree4f3128e8308760f0e13041796f2ecd667e345dcc /Documentation/conf.py
parenta69ab10869941f45b5f1291ec482df1e9bd7895f (diff)
docs-rst: allow generating some LaTeX pages in landscape
Portrait is too small for some tables used at the media docs. So, allow documents to tell Sphinx to generate some pages in landscape by using: .. raw:: latex \begin{landscape} <some stuff> .. raw:: latex \end{landscape} Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/conf.py')
-rw-r--r--Documentation/conf.py13
1 files changed, 8 insertions, 5 deletions
diff --git a/Documentation/conf.py b/Documentation/conf.py
index 1c6d9da5d1b5..38b240073336 100644
--- a/Documentation/conf.py
+++ b/Documentation/conf.py
@@ -246,16 +246,19 @@ htmlhelp_basename = 'TheLinuxKerneldoc'
246 246
247latex_elements = { 247latex_elements = {
248# The paper size ('letterpaper' or 'a4paper'). 248# The paper size ('letterpaper' or 'a4paper').
249#'papersize': 'letterpaper', 249'papersize': 'a4paper',
250 250
251# The font size ('10pt', '11pt' or '12pt'). 251# The font size ('10pt', '11pt' or '12pt').
252#'pointsize': '10pt', 252'pointsize': '10pt',
253
254# Additional stuff for the LaTeX preamble.
255#'preamble': '',
256 253
257# Latex figure (float) alignment 254# Latex figure (float) alignment
258#'figure_align': 'htbp', 255#'figure_align': 'htbp',
256
257# Additional stuff for the LaTeX preamble.
258 'preamble': '''
259 % Allow generate some pages in landscape
260 \\usepackage{lscape}
261 '''
259} 262}
260 263
261# Grouping the document tree into LaTeX files. List of tuples 264# Grouping the document tree into LaTeX files. List of tuples