Compare commits
18 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 081cad7f11 | |||
| 9f422f859e | |||
| c23ac95b90 | |||
| 7640d83c37 | |||
| 25e25a366f | |||
| 54407061a0 | |||
| 33ff39f974 | |||
| 8eb3a6378f | |||
| 876bbad136 | |||
| 587d894e5e | |||
| 6eee07a720 | |||
| 6f7dbe5018 | |||
| 8dad61d27a | |||
| 23e14d74a8 | |||
| ddd70cae86 | |||
| a4df0108de | |||
| dcd018c236 | |||
| 7e67ee3792 |
@@ -1,4 +1,3 @@
|
|||||||
$pdflatex="pdflatex -shell-escape -interaction=nonstopmode -synctex=1 %O %S";
|
$pdflatex="pdflatex -shell-escape -interaction=nonstopmode -synctex=1 %O %S";
|
||||||
$out_dir = 'build';
|
$out_dir = 'build';
|
||||||
$pdf_mode = 1;
|
$pdf_mode = 1;
|
||||||
|
|
||||||
|
|||||||
16
Makefile
16
Makefile
@@ -1,19 +1,25 @@
|
|||||||
PRESENTATIONS := $(patsubst src/%/presentation.tex,build/presentation_%.pdf,$(wildcard src/*/presentation.tex))
|
PRESENTATIONS := $(patsubst src/%/presentation.tex,build/presentation_%.pdf,$(wildcard src/*/presentation.tex))
|
||||||
HANDOUTS := $(patsubst build/presentation_%.pdf,build/presentation_%_handout.pdf,$(PRESENTATIONS))
|
HANDOUTS := $(patsubst build/presentation_%.pdf,build/presentation_%_handout.pdf,$(PRESENTATIONS))
|
||||||
|
|
||||||
|
RC_PDFLATEX := $(shell grep '$$pdflatex' .latexmkrc \
|
||||||
|
| sed -e 's/.*"\(.*\)".*/\1/' -e 's/%S//' -e 's/%O//')
|
||||||
|
|
||||||
.PHONY: all
|
.PHONY: all
|
||||||
all: $(PRESENTATIONS) $(HANDOUTS)
|
all: $(PRESENTATIONS) $(HANDOUTS)
|
||||||
|
|
||||||
build/presentation_%.pdf: src/%/presentation.tex build/prepared
|
build/presentation_%.pdf: src/%/presentation.tex build/prepared
|
||||||
TEXINPUTS=./lib/cel-slides-template-2025:$$TEXINPUTS latexmk $<
|
TEXINPUTS=./lib/cel-slides-template-2025:$(dir $<):$$TEXINPUTS \
|
||||||
mv build/presentation.pdf $@
|
latexmk -outdir=build/$* $<
|
||||||
|
cp build/$*/presentation.pdf $@
|
||||||
|
|
||||||
build/presentation_%_handout.pdf: src/%/presentation.tex build/prepared
|
build/presentation_%_handout.pdf: src/%/presentation.tex build/prepared
|
||||||
TEXINPUTS=./lib/cel-slides-template-2025:$$TEXINPUTS latexmk -pdflatex='pdflatex %O "\def\ishandout{1}\input{%S}"' $<
|
TEXINPUTS=./lib/cel-slides-template-2025:$(dir $<):$$TEXINPUTS \
|
||||||
mv build/presentation.pdf $@
|
latexmk -outdir=build/$*_handout \
|
||||||
|
-pdflatex='$(RC_PDFLATEX) %O "\def\ishandout{1}\input{%S}"' $<
|
||||||
|
cp build/$*_handout/presentation.pdf $@
|
||||||
|
|
||||||
build/prepared:
|
build/prepared:
|
||||||
mkdir -p build
|
mkdir build
|
||||||
touch build/prepared
|
touch build/prepared
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
|
|||||||
1016
src/2026-01-16/presentation.tex
Normal file
1016
src/2026-01-16/presentation.tex
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user