generierte Files inkludiert, cleanup

This commit is contained in:
Romedius Weiss 2019-07-16 07:41:01 +02:00
parent 6d91e6d0c8
commit 2129fd052b
7 changed files with 3283 additions and 2 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
export/*

1893
Karte-mc+4.svg Normal file

File diff suppressed because it is too large Load diff

After

Width:  |  Height:  |  Size: 73 KiB

1378
Karte-mc.svg Normal file

File diff suppressed because it is too large Load diff

After

Width:  |  Height:  |  Size: 51 KiB

BIN
cards-o.pdf Normal file

Binary file not shown.

BIN
cards.pdf Normal file

Binary file not shown.

View file

@ -1,10 +1,15 @@
#!/bin/bash
# farbe: #ddddddff
# replace #dddddd with color
mkdir -p export
mkdir -p pdf
mkdir -p pdfo
rm export/*.svg
rm pdf/*.svg
rm pdfo/*.svg
while read p; do
colorname=$(echo $p | cut -f 1 -d ' ')
@ -41,7 +46,7 @@ while read p; do
fi
done < values.txt
# Karten in PDF exportieren
rsvg-convert -f pdf -o pdf/1Karte-mc.pdf Karte-mc.svg
rsvg-convert -f pdf -o pdf/1Karte-mc+4.pdf Karte-mc+4.svg
rsvg-convert -f pdf -o pdf/2Karte-mc.pdf Karte-mc.svg
@ -51,6 +56,8 @@ rsvg-convert -f pdf -o pdf/3Karte-mc+4.pdf Karte-mc+4.svg
rsvg-convert -f pdf -o pdf/4Karte-mc.pdf Karte-mc.svg
rsvg-convert -f pdf -o pdf/4Karte-mc+4.pdf Karte-mc+4.svg
pdfunite pdf/*.pdf cards.pdf
# Karten für lokalen Druck zusammenfügen
pdfjam pdf/1Karte-mc.pdf pdf/1Karte-mc.pdf pdf/1Karte-mc.pdf pdf/1Karte-mc.pdf --nup 2x2 --landscape --outfile pdfo/mc.pdf
pdfjam pdf/1Karte-mc+4.pdf pdf/1Karte-mc+4.pdf pdf/1Karte-mc+4.pdf pdf/1Karte-mc+4.pdf --nup 2x2 --landscape --outfile pdfo/mc+4.pdf
pdfunite pdfo/*.pdf cards-o.pdf

2
makefile Normal file
View file

@ -0,0 +1,2 @@
all:
./generate.sh