File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 28
28
- name : Build HTML
29
29
run : make -C docs html
30
30
- name : Build PDF
31
- run : make -C docs latexpdf
31
+ run : make -C docs PAPER=a4 latexpdf
32
32
- uses : actions/upload-artifact@main
33
33
with :
34
34
name : mame-docs-${{ github.sha }}
Original file line number Diff line number Diff line change @@ -128,6 +128,6 @@ $(STAGEDIR)/docs/MAME.pdf: docs/build/latex/MAME.pdf | $(GEN_FOLDERS)
128
128
$(call COPY,$< ,$@ )
129
129
130
130
docs/build/latex/MAME.pdf :
131
- $(MAKE ) -C docs latexpdf
131
+ $(MAKE ) -C docs PAPER=a4 latexpdf
132
132
133
133
.PHONY : all clean
Original file line number Diff line number Diff line change 8
8
BUILDDIR = build
9
9
10
10
# Internal variables.
11
- PAPEROPT_a4 = -D latex_paper_size=a4
12
- PAPEROPT_letter = -D latex_paper_size=letter
11
+ PAPEROPT_a4 = -D latex_elements.papersize=a4paper
12
+ PAPEROPT_letter = -D latex_elements.papersize=letterpaper
13
13
ALLSPHINXOPTS = -d $(BUILDDIR ) /doctrees $(PAPEROPT_$(PAPER ) ) $(SPHINXOPTS ) source
14
14
# the i18n builder cannot share the environment and doctrees with the others
15
15
I18NSPHINXOPTS = $(PAPEROPT_$(PAPER ) ) $(SPHINXOPTS ) source
You can’t perform that action at this time.
0 commit comments