FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Doc: Fix default ``latex_elements['papersize']`` by jfbu · Pull Request #124525 · python/cpython · GitHub

/ cpython Public

Doc: Fix default latex_elements['papersize'] - #124525

Merged
AA-Turner merged 1 commit into
python:mainfrom
jfbu:papersize
Sep 28, 2024
Merged

Doc: Fix default latex_elements['papersize']#124525
AA-Turner merged 1 commit into
python:mainfrom
jfbu:papersize

Conversation

jfbu commented Sep 25, 2024
edited
Loading

Copy link
Copy Markdown
Contributor

https://www.sphinx-doc.org/en/master/latex.html#the-latex-elements-configuration-setting

It should be 'letterpaper' or 'a4paper' not 'letter' or 'a4' (not to be confused with PAPER env variable).

The issue was reported at python/docsbuild-scripts#187 (comment).

$ grep -A1 'LaTeX Warning' library.log
LaTeX Warning: Unused global option(s):
    [a4].

📚 Documentation preview 📚: https://cpython-previews--124525.org.readthedocs.build/

https://www.sphinx-doc.org/en/master/latex.html#the-latex-elements-configuration-setting

It should be 'letterpaper' or 'a4paper' not 'letter' or 'a4' (not be
confused with PAPER env variable).

jfbu commented Sep 26, 2024

Copy link
Copy Markdown
Contributor Author

ping @picnixz

hugovk requested a review from AA-Turner September 27, 2024 23:25
picnixz added the docs Documentation in the Doc dir label Sep 27, 2024
AA-Turner changed the title [DOC] Fix default latex_elements['papersize'] Doc: Fix default latex_elements['papersize'] Sep 28, 2024
AA-Turner added needs backport to 3.12 only security fixes needs backport to 3.13 bugs and security fixes labels Sep 28, 2024
AA-Turner merged commit fae5058 into python:main Sep 28, 2024

Copy link
Copy Markdown

Thanks @jfbu for the PR, and @AA-Turner for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Sep 28, 2024
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 fae5058)

Co-authored-by: Jean-François B. <2589111+jfbu@users.noreply.github.com>

bedevere-app Bot commented Sep 28, 2024

Copy link
Copy Markdown

GH-124725 is a backport of this pull request to the 3.13 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Sep 28, 2024
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 fae5058)

Co-authored-by: Jean-François B. <2589111+jfbu@users.noreply.github.com>
bedevere-app Bot removed the needs backport to 3.13 bugs and security fixes label Sep 28, 2024

bedevere-app Bot commented Sep 28, 2024

Copy link
Copy Markdown

GH-124726 is a backport of this pull request to the 3.12 branch.

bedevere-app Bot removed the needs backport to 3.12 only security fixes label Sep 28, 2024
AA-Turner pushed a commit that referenced this pull request Sep 28, 2024
…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 fae5058)

Co-authored-by: Jean-François B <2589111+jfbu@users.noreply.github.com>
Yhg1s pushed a commit that referenced this pull request Sep 30, 2024
…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 fae5058)

Co-authored-by: Jean-François B <2589111+jfbu@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip issue skip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL