Compare commits
11 Commits
8dba126e60
...
tut1-v1.0
| Author | SHA1 | Date | |
|---|---|---|---|
| a71b85c808 | |||
| 1c042a7626 | |||
| eb077ca793 | |||
| 884d6a65ae | |||
| c9e1bcc5ea | |||
| 35bbe0a501 | |||
| fdda8fd883 | |||
| 64c555ce68 | |||
| b01b48a3f6 | |||
| aa60b9eabd | |||
| 36dea73341 |
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,3 +0,0 @@
|
|||||||
$pdflatex="pdflatex -shell-escape -interaction=nonstopmode -synctex=1 %O %S -cd ./../..";
|
|
||||||
$out_dir = "build";
|
|
||||||
$pdf_mode = 1;
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
/home/andreas/Documents/kit/wt-tut/presentations/lib
|
|
||||||
@@ -1,4 +1,8 @@
|
|||||||
|
\ifdefined\ishandout
|
||||||
|
\documentclass[de, handout]{CELbeamer}
|
||||||
|
\else
|
||||||
\documentclass[de]{CELbeamer}
|
\documentclass[de]{CELbeamer}
|
||||||
|
\fi
|
||||||
|
|
||||||
%
|
%
|
||||||
%
|
%
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
/home/andreas/Documents/kit/wt-tut/presentations/src
|
|
||||||
Reference in New Issue
Block a user