[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 fae5058ec1)

Co-authored-by: Jean-François B <2589111+jfbu@users.noreply.github.com>
This commit is contained in:
Miss Islington (bot) 2024-09-30 06:23:06 +02:00 committed by GitHub
parent 243db20b75
commit fe58596cce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -413,8 +413,8 @@ latex_elements = {
\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',
}