diff options
author | Jean-François B. <2589111+jfbu@users.noreply.github.com> | 2024-09-28 10:30:28 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-28 10:30:28 (GMT) |
commit | fae5058ec13aa3b4f1acc549fadfbbbc2628f1e9 (patch) | |
tree | 8809adb275c7ab77b4cec297faeb5a3db7017e40 /Doc | |
parent | 165ed68c26759b817388add52a7aa2d26755d451 (diff) | |
download | cpython-fae5058ec13aa3b4f1acc549fadfbbbc2628f1e9.zip cpython-fae5058ec13aa3b4f1acc549fadfbbbc2628f1e9.tar.gz cpython-fae5058ec13aa3b4f1acc549fadfbbbc2628f1e9.tar.bz2 |
Doc: Fix default ``latex_elements['papersize']`` (#124525)
https://www.sphinx-doc.org/en/master/latex.html#the-latex-elements-configuration-setting
It should be 'letterpaper' or 'a4paper' not 'letter' or 'a4'
(not to be confused with PAPER env variable).
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/conf.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/conf.py b/Doc/conf.py index 27cf03d..5f22340 100644 --- a/Doc/conf.py +++ b/Doc/conf.py @@ -413,8 +413,8 @@ latex_elements = { \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', } |