From bcd1f79d5a5eb3f8f0ab374adbb15b4f1dfbf281 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Fran=C3=A7ois=20B?= <2589111+jfbu@users.noreply.github.com> Date: Sat, 28 Sep 2024 12:30:28 +0200 Subject: [PATCH] Doc: Fix default ``latex_elements['papersize']`` (GH-124525) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 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', }