File tree Expand file tree Collapse file tree 3 files changed +12
-4
lines changed Expand file tree Collapse file tree 3 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 72
72
73
73
build-code-metadata-spec :
74
74
runs-on : ubuntu-latest
75
+ needs : [build-core-spec]
75
76
steps :
76
77
- name : Checkout repo
77
78
uses : actions/checkout@v2
Original file line number Diff line number Diff line change @@ -255,23 +255,30 @@ epub3:
255
255
@echo
256
256
@echo " Build finished. The epub3 file is in $( BUILDDIR) /epub3."
257
257
258
+
259
+ .PHONY : latex-core-aux
260
+ latex-core-aux :
261
+ (cd ../../core; make BUILDDIR=$( BUILDDIR) latexpdf)
262
+ mkdir -p $(BUILDDIR ) /latex
263
+ cp ../../core/$(BUILDDIR ) /latex/WebAssembly.aux $(BUILDDIR ) /latex/
264
+
258
265
.PHONY : latex
259
- latex :
266
+ latex : latex-core-aux
260
267
$(SPHINXBUILD ) -b latex $(ALLSPHINXOPTS ) $(BUILDDIR ) /latex
261
268
@echo
262
269
@echo " Build finished; the LaTeX files are in $( BUILDDIR) /latex."
263
270
@echo " Run \` make' in that directory to run these through (pdf)latex" \
264
271
" (use \` make latexpdf' here to do that automatically)."
265
272
266
273
.PHONY : latexpdf
267
- latexpdf :
274
+ latexpdf : latex-core-aux
268
275
$(SPHINXBUILD ) -b latex $(ALLSPHINXOPTS ) $(BUILDDIR ) /latex
269
276
@echo " Running LaTeX files through pdflatex..."
270
277
$(MAKE ) -C $(BUILDDIR ) /latex LATEXMKOPTS=" </dev/null" all-pdf > $(BUILDDIR ) /latex/LOG 2>&1 || cat $(BUILDDIR ) /latex/LOG
271
278
@echo " pdflatex finished; the PDF files are in $( BUILDDIR) /latex."
272
279
273
280
.PHONY : latexpdfja
274
- latexpdfja :
281
+ latexpdfja : latex-core-aux
275
282
$(SPHINXBUILD ) -b latex $(ALLSPHINXOPTS ) $(BUILDDIR ) /latex
276
283
@echo " Running LaTeX files through platex and dvipdfmx..."
277
284
$(MAKE ) -C $(BUILDDIR ) /latex all-pdf-ja
Original file line number Diff line number Diff line change 296
296
297
297
# Additional stuff for the LaTeX preamble.
298
298
# Don't type-set cross references with emphasis.
299
- 'preamble' : '\\ renewcommand\\ sphinxcrossref[1]{#1}\n \\ externaldocument[Core-]{' + core_dir + '/_build/latex/ WebAssembly}[https://webassembly.github.io//'+ repo + '/core/_download/WebAssembly.pdf]\n ' ,
299
+ 'preamble' : '\\ renewcommand\\ sphinxcrossref[1]{#1}\n \\ externaldocument[Core-]{WebAssembly}[https://webassembly.github.io//' + repo + '/core/_download/WebAssembly.pdf]\n ' ,
300
300
301
301
# Latex figure (float) alignment
302
302
'figure_align' : 'htbp' ,
You can’t perform that action at this time.
0 commit comments