mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Use `latex_elements.papersize
` to specify papersize of LaTeX in Makefile
This commit is contained in:
parent
f6cb5f2053
commit
72b76ab6d7
1
CHANGES
1
CHANGES
@ -14,6 +14,7 @@ Bugs fixed
|
||||
----------
|
||||
|
||||
* #2810: Problems with pdflatex in an Italian document
|
||||
* Use ``latex_elements.papersize`` to specify papersize of LaTeX in Makefile
|
||||
|
||||
Documentation
|
||||
-------------
|
||||
|
@ -8,8 +8,8 @@ PAPER =
|
||||
BUILDDIR = {{ rbuilddir }}
|
||||
|
||||
# Internal variables.
|
||||
PAPEROPT_a4 = -D latex_paper_size=a4
|
||||
PAPEROPT_letter = -D latex_paper_size=letter
|
||||
PAPEROPT_a4 = -D latex_elements.papersize=a4
|
||||
PAPEROPT_letter = -D latex_elements.papersize=letter
|
||||
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) {{ rsrcdir }}
|
||||
# the i18n builder cannot share the environment and doctrees with the others
|
||||
I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) {{ rsrcdir }}
|
||||
|
Loading…
Reference in New Issue
Block a user