Skip to content

Commit

Permalink
Update latex_paper_size to latex_elements.papersize
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Widmann committed May 30, 2017
1 parent a630671 commit 9f0b2c7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ SET(SWIFT_SPHINX_PAPER_SIZE "letter"

SET(SPHINX_ARGS
-W
-D latex_paper_size=${SWIFT_SPHINX_PAPER_SIZE}
-D latex_elements.papersize=${SWIFT_SPHINX_PAPER_SIZE}
-d ${CMAKE_BINARY_DIR}/doctrees)

if(SPHINX_EXECUTABLE)
Expand Down
4 changes: 2 additions & 2 deletions docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ PAPER =
BUILDDIR = _build

# 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 = -W -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
# the i18n builder cannot share the environment and doctrees with the others
I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
Expand Down

0 comments on commit 9f0b2c7

Please sign in to comment.