From 095454bf2ab1acb246867c5521fff27e6164e594 Mon Sep 17 00:00:00 2001 From: Hong-Phuc Bui <hong-phuc.bui@htwsaar.de> Date: Thu, 18 Apr 2024 11:54:49 +0200 Subject: [PATCH] update --- python-typing/python-typing.handout.pdf | 0 python-typing/python-typing.presentation.pdf | 0 python-typing/Makefile | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 54 insertions(+), 0 deletions(-) diff --git a/python-typing/Makefile b/python-typing/Makefile new file mode 100644 index 0000000..71fd5a1 --- /dev/null +++ b/python-typing/Makefile @@ -0,0 +1,54 @@ +# Main Makefile +LATEX = -max_print_line=1024 lualatex +LATEX_OPT := -shell-escape -interaction=nonstopmode -synctex=1 --recorder + +#bibtex +BIBTEX := biber +BIBTEX_OPT := + + + + +exclude := python-typing.tex +tex := $(wildcard *.tex) +tex := $(filter-out $(exclude), $(tex)) +chapters := $(wildcard chap/*.tex) +pdf := $(tex:.tex=.pdf) + +tikz := $(wildcard tikz/*.tex) +tikz_pdf = $(tikz:.tex=.pdf) + +EXERCISES := exercises +TIKZ := tikz + +all: $(pdf) + + +%.pdf: %.tex + $(LATEX) $(LATEX_OPT) $< + if [ -f $(<:.tex=.bcf) ]; then touch $(<); $(BIBTEX) $(BIBTEX_OPT) $(<:.tex=); fi + $(LATEX) $(LATEX_OPT) $< + $(LATEX) $(LATEX_OPT) $< + latexmk -c $< + + +clean: + rm -fv *.aux *.out *.bbl *.blg *.pytxcode *.toc *.loe *.thm *.nav *.bcf *.tdo *.log *.run.xml *.snm *.vrb *.synctex.gz *.fls + rm -fv chap/*.aux + rm -rfv _minted-* + make -C $(EXERCISES) clean + +clean-latexmk: + rm -rfv *.fdb_latexmk + latexmk -C + rm -rf latexmkrc + +clean-target: + rm -f *.pdf *.dvi + +clean-all: + make clean + make clean-latexmk + make clean-target + make -C $(EXERCISES) clean-all + make -C $(TIKZ) clean-all diff --git a/python-typing/python-typing.handout.pdf b/python-typing/python-typing.handout.pdf new file mode 100644 index 0000000..f52062c --- /dev/null +++ b/python-typing/python-typing.handout.pdf Binary files differ diff --git a/python-typing/python-typing.presentation.pdf b/python-typing/python-typing.presentation.pdf new file mode 100644 index 0000000..f9b3e33 --- /dev/null +++ b/python-typing/python-typing.presentation.pdf Binary files differ -- Gitblit v1.10.0-SNAPSHOT