Skip to content

Commit

Permalink
Doc: Fix default latex_elements['papersize'] (pythonGH-124525)
Browse files Browse the repository at this point in the history
https://www.sphinx-doc.org/en/master/latex.htmlGH-the-latex-elements-configuration-setting

It should be 'letterpaper' or 'a4paper' not 'letter' or 'a4'
(not to be confused with PAPER env variable).
(cherry picked from commit fae5058)

Co-authored-by: Jean-François B. <[email protected]>
  • Loading branch information
jfbu authored and miss-islington committed Sep 28, 2024
1 parent 80de976 commit fa5b140
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -413,8 +413,8 @@
\let\endVerbatim=\endOriginalVerbatim
\setcounter{tocdepth}{2}
''',
# The paper size ('letter' or 'a4').
'papersize': 'a4',
# The paper size ('letterpaper' or 'a4paper').
'papersize': 'a4paper',
# The font size ('10pt', '11pt' or '12pt').
'pointsize': '10pt',
}
Expand Down

0 comments on commit fa5b140

Please sign in to comment.