Skip to content

Commit

Permalink
Use latex_elements.papersize to specify papersize of LaTeX in Mak…
Browse files Browse the repository at this point in the history
…efile
  • Loading branch information
tk0miya committed Oct 3, 2016
1 parent f6cb5f2 commit 72b76ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -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
-------------
Expand Down
4 changes: 2 additions & 2 deletions sphinx/templates/quickstart/Makefile_t
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 72b76ab

Please sign in to comment.