New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PDF output: usage of PAPER environment variable is broken since Sphinx 1.5 #5234
Comments
As an example of a broken project consider the CPython documentation: https://github.com/python/cpython/blob/9c18b1ae527346bc178250ad1ca07bffdacde5dd/Doc/Makefile#L1-L1 |
The CPython Doc/Makefile contains
This creates LaTeX files with wrong |
See python/cpython#8585 for fix to CPython Doc/Makefile. |
Fixed at 077e9af |
Description of problem
Since Sphinx 1.5, more precisely probably commit 72b76ab, and the deprecation of former configuration variable
latex_paper_size
in favour oflatex_elements['papersize']
, the usage of PAPER env variable is broken: LaTeX document is created witha4
orletter
option where it should bea4paper
orletterpaper
.This breaks old projects Makefiles following our documentation which says to use
a4
orletter
.Expected results
Setting
PAPER=a4
orPAPER=letter
works.Reproducible project / your project
Any project.
Environment info
The text was updated successfully, but these errors were encountered: