https://github.com/python/cpython/commit/fe58596cce205c5c7aced9de3fd21767e47ee250
commit: fe58596cce205c5c7aced9de3fd21767e47ee250
branch: 3.13
author: Miss Islington (bot) <[email protected]>
committer: Yhg1s <[email protected]>
date: 2024-09-29T21:23:06-07:00
summary:

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

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