Compare commits
4 Commits
c9e1bcc5ea
...
tut1-v1.0
| Author | SHA1 | Date | |
|---|---|---|---|
| a71b85c808 | |||
| 1c042a7626 | |||
| eb077ca793 | |||
| 884d6a65ae |
4
.gitignore
vendored
4
.gitignore
vendored
@@ -1 +1,5 @@
|
|||||||
build/
|
build/
|
||||||
|
|
||||||
|
src/*/.latexmkrc
|
||||||
|
src/*/lib
|
||||||
|
src/*/src
|
||||||
|
|||||||
24
Makefile
24
Makefile
@@ -1,11 +1,21 @@
|
|||||||
all:
|
PRESENTATIONS := $(patsubst src/%/presentation.tex,build/presentation_%.pdf,$(wildcard src/*/presentation.tex))
|
||||||
mkdir -p build/build
|
HANDOUTS := $(patsubst build/presentation_%.pdf,build/presentation_%_handout.pdf,$(PRESENTATIONS))
|
||||||
|
|
||||||
TEXINPUTS=./lib/cel-slides-template-2025:$$TEXINPUTS latexmk src/template/presentation.tex
|
.PHONY: all
|
||||||
mv build/presentation.pdf build/presentation_template.pdf
|
all: $(PRESENTATIONS) $(HANDOUTS)
|
||||||
|
|
||||||
TEXINPUTS=./lib/cel-slides-template-2025:$$TEXINPUTS latexmk src/2025-11-07/presentation.tex
|
build/presentation_%.pdf: src/%/presentation.tex build/prepared
|
||||||
mv build/presentation.pdf build/presentation_2025-11-07.pdf
|
TEXINPUTS=./lib/cel-slides-template-2025:$$TEXINPUTS latexmk $<
|
||||||
|
mv build/presentation.pdf $@
|
||||||
|
|
||||||
|
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}"' $<
|
||||||
|
mv build/presentation.pdf $@
|
||||||
|
|
||||||
|
build/prepared:
|
||||||
|
mkdir -p build
|
||||||
|
touch build/prepared
|
||||||
|
|
||||||
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
rm -rf build
|
rm -rf build
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,8 @@
|
|||||||
|
\ifdefined\ishandout
|
||||||
|
\documentclass[de, handout]{CELbeamer}
|
||||||
|
\else
|
||||||
\documentclass[de]{CELbeamer}
|
\documentclass[de]{CELbeamer}
|
||||||
|
\fi
|
||||||
|
|
||||||
%
|
%
|
||||||
%
|
%
|
||||||
|
|||||||
@@ -1,4 +1,8 @@
|
|||||||
|
\ifdefined\ishandout
|
||||||
|
\documentclass[de, handout]{CELbeamer}
|
||||||
|
\else
|
||||||
\documentclass[de]{CELbeamer}
|
\documentclass[de]{CELbeamer}
|
||||||
|
\fi
|
||||||
|
|
||||||
%
|
%
|
||||||
%
|
%
|
||||||
|
|||||||
Reference in New Issue
Block a user