1
0

refactor example charts

This commit is contained in:
2022-09-01 17:52:25 -07:00
parent 47e9367ed5
commit b04f18afb7
17 changed files with 232 additions and 238 deletions

29
charts/Makefile Normal file
View File

@@ -0,0 +1,29 @@
#!/usr/bin/make
all: $(patsubst %.tex,%.svg,$(wildcard *.tex)) $(patsubst %.tex,%.png,$(wildcard *.tex))
%.png: %.pdf
convert -density 300 -transparent white $< $@
%.svg: %.pdf
/usr/bin/inkscape $< --export-plain-svg --export-type=svg --export-filename=$@
%.pdf: %.tex
latexmk -f -pdf $<
clean:
latexmk -C *.tex
rm -f *.tmp
rm -f vc
rm *.svg
viewpdf: all
evince *.pdf
vc:
vc-git
pdf: all
.PHONY: clean all