Use `latex_elements.papersize` to specify papersize of LaTeX in Makefile

This commit is contained in:
Takeshi KOMIYA 2016-10-03 23:30:15 +09:00
parent f6cb5f2053
commit 72b76ab6d7
2 changed files with 3 additions and 2 deletions

View File

@ -14,6 +14,7 @@ Bugs fixed
---------- ----------
* #2810: Problems with pdflatex in an Italian document * #2810: Problems with pdflatex in an Italian document
* Use ``latex_elements.papersize`` to specify papersize of LaTeX in Makefile
Documentation Documentation
------------- -------------

View File

@ -8,8 +8,8 @@ PAPER =
BUILDDIR = {{ rbuilddir }} BUILDDIR = {{ rbuilddir }}
# Internal variables. # Internal variables.
PAPEROPT_a4 = -D latex_paper_size=a4 PAPEROPT_a4 = -D latex_elements.papersize=a4
PAPEROPT_letter = -D latex_paper_size=letter PAPEROPT_letter = -D latex_elements.papersize=letter
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) {{ rsrcdir }} ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) {{ rsrcdir }}
# the i18n builder cannot share the environment and doctrees with the others # the i18n builder cannot share the environment and doctrees with the others
I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) {{ rsrcdir }} I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) {{ rsrcdir }}