From be7fe5c9223560b784944a1701fc5204378091fd Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Sun, 4 Jul 2021 15:52:58 +0200 Subject: Add tikzfigures from presentation --- buch/papers/punktgruppen/Makefile | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'buch/papers/punktgruppen/Makefile') diff --git a/buch/papers/punktgruppen/Makefile b/buch/papers/punktgruppen/Makefile index 0274594..15c0aa0 100644 --- a/buch/papers/punktgruppen/Makefile +++ b/buch/papers/punktgruppen/Makefile @@ -4,6 +4,19 @@ # (c) 2020 Prof Dr Andreas Mueller # -images: - @echo "no images to be created in punktgruppen" +TIKZFIGURES := \ + tikz/combine-symmetries.tex \ + tikz/lattice.tex \ + tikz/piezo-atoms.tex \ + tikz/piezo.tex \ + tikz/projections.tex + +FIGURES := $(patsubst tikz/%.tex, figures/%.pdf, $(TIKZFIGURES)) + +.PHONY: images +images: $(FIGURES) + +figures/%.pdf: tikz/%.tex + mkdir -p figures + pdflatex --output-directory=figures $< -- cgit v1.2.1 From 115678917f285ef45928510f61fb8cd48c6a46b5 Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Sun, 4 Jul 2021 17:52:10 +0200 Subject: Create standalone make target for faster compilation It takes around 20s on linux and 45s in WSL to compile the book, which is a lot. The file `standalone.tex` is a skeleton that takes the minimum required from `book.tex` to compile only our paper. It is intended only for writing the draft. --- buch/papers/punktgruppen/Makefile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'buch/papers/punktgruppen/Makefile') diff --git a/buch/papers/punktgruppen/Makefile b/buch/papers/punktgruppen/Makefile index 15c0aa0..3960d76 100644 --- a/buch/papers/punktgruppen/Makefile +++ b/buch/papers/punktgruppen/Makefile @@ -3,6 +3,12 @@ # # (c) 2020 Prof Dr Andreas Mueller # +SOURCES := \ + crystals.tex \ + intro.tex \ + main.tex \ + piezo.tex \ + symmetry.tex TIKZFIGURES := \ tikz/combine-symmetries.tex \ @@ -20,3 +26,15 @@ figures/%.pdf: tikz/%.tex mkdir -p figures pdflatex --output-directory=figures $< +.PHONY: standalone +standalone: standalone.tex $(SOURCES) + mkdir -p standalone + cd ../..; \ + pdflatex \ + --halt-on-error \ + --shell-escape \ + --output-directory=papers/punktgruppen/standalone \ + papers/punktgruppen/standalone.tex; + cd standalone; \ + bibtex standalone; \ + makeindex standalone; -- cgit v1.2.1 From 3db817e0a6575dea79c01906afad5460ef60006a Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Mon, 5 Jul 2021 13:42:45 +0200 Subject: Externalize tikzpicture in symmetry section --- buch/papers/punktgruppen/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'buch/papers/punktgruppen/Makefile') diff --git a/buch/papers/punktgruppen/Makefile b/buch/papers/punktgruppen/Makefile index 3960d76..f92dc95 100644 --- a/buch/papers/punktgruppen/Makefile +++ b/buch/papers/punktgruppen/Makefile @@ -15,7 +15,8 @@ TIKZFIGURES := \ tikz/lattice.tex \ tikz/piezo-atoms.tex \ tikz/piezo.tex \ - tikz/projections.tex + tikz/projections.tex \ + tikz/symmetric-shapes.tex FIGURES := $(patsubst tikz/%.tex, figures/%.pdf, $(TIKZFIGURES)) -- cgit v1.2.1