Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit caee5cde authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab Committed by Jonathan Corbet
Browse files

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: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent a69ab108
Loading
Loading
Loading
Loading
+8 −5
Original line number Diff line number Diff line
@@ -246,16 +246,19 @@ htmlhelp_basename = 'TheLinuxKerneldoc'

latex_elements = {
# The paper size ('letterpaper' or 'a4paper').
#'papersize': 'letterpaper',
'papersize': 'a4paper',

# The font size ('10pt', '11pt' or '12pt').
#'pointsize': '10pt',

# Additional stuff for the LaTeX preamble.
#'preamble': '',
'pointsize': '10pt',

# Latex figure (float) alignment
#'figure_align': 'htbp',

# Additional stuff for the LaTeX preamble.
    'preamble': '''
        % Allow generate some pages in landscape
        \\usepackage{lscape}
     '''
}

# Grouping the document tree into LaTeX files. List of tuples