From fe58596cce205c5c7aced9de3fd21767e47ee250 Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Mon, 30 Sep 2024 06:23:06 +0200 Subject: [PATCH] [3.13] Doc: Fix default ``latex_elements['papersize']`` (GH-124525) (#124725) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 <2589111+jfbu@users.noreply.github.com> --- Doc/conf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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', }