https://github.com/python/cpython/commit/b3360dcaee3a82cff66399631771d84eea5ae13d
commit: b3360dcaee3a82cff66399631771d84eea5ae13d
branch: 3.12
author: Miss Islington (bot) <[email protected]>
committer: AA-Turner <[email protected]>
date: 2024-09-28T10:38:51Z
summary:

[3.12] Doc: Fix default ``latex_elements['papersize']`` (GH-124525) (#124726)

Doc: Fix default ``latex_elements['papersize']`` (GH-124525)

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

Co-authored-by: Jean-François B <[email protected]>

files:
M Doc/conf.py

diff --git a/Doc/conf.py b/Doc/conf.py
index 0a9794f27ce08d..95e2e1774479b3 100644
--- a/Doc/conf.py
+++ b/Doc/conf.py
@@ -391,8 +391,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