https://github.com/python/cpython/commit/fae5058ec13aa3b4f1acc549fadfbbbc2628f1e9
commit: fae5058ec13aa3b4f1acc549fadfbbbc2628f1e9
branch: main
author: Jean-François B. <[email protected]>
committer: AA-Turner <[email protected]>
date: 2024-09-28T11:30:28+01:00
summary:

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).

files:
M Doc/conf.py

diff --git a/Doc/conf.py b/Doc/conf.py
index 27cf03d6bea05a..5f22340ac434c9 100644
--- a/Doc/conf.py
+++ b/Doc/conf.py
@@ -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',
 }

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to