infoZettel: add target for 2x2 on A4
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
infoZettel=$(patsubst %.md,%.pdf,$(wildcard *.md))
|
||||
infoZettel-2x2=$(patsubst %.md,%-2x2.pdf,$(wildcard *.md))
|
||||
kyuZettel=$(patsubst %.md,%.pdf,$(wildcard kyuZettel/*.md))
|
||||
aushaenge=$(patsubst %.md,%.pdf,$(wildcard aushang/*.md))
|
||||
infoZettelUploads=$(addprefix uploadTouch/, $(wildcard *.md)) $(addprefix uploadTouch/, $(wildcard *.pdf))
|
||||
@@ -10,6 +11,9 @@ all: infoZettelUpload aushaenge
|
||||
.PHONY: infoZettel
|
||||
infoZettel: $(infoZettel)
|
||||
|
||||
.PHONY: infoZettel-2x2
|
||||
infoZettel-2x2: infoZettel $(infoZettel-2x2)
|
||||
|
||||
.PHONY: kyuZettel
|
||||
kyuZettel: $(kyuZettel)
|
||||
|
||||
@@ -33,6 +37,9 @@ aushaenge: $(aushaenge)
|
||||
--output=$@ \
|
||||
$^
|
||||
|
||||
%-2x2.pdf: %.pdf
|
||||
pdfnup --no-landscape --nup 2x2 --suffix '2x2' $^ '1,1,1,1,2,2,2,2' --outfile $@
|
||||
|
||||
aushang/%.pdf: aushang/%.md
|
||||
pandoc \
|
||||
--template=pandocTemplate-cwsvJudoAushang.latex \
|
||||
|
||||
Reference in New Issue
Block a user