generierte Files inkludiert, cleanup
This commit is contained in:
parent
6d91e6d0c8
commit
2129fd052b
7 changed files with 3283 additions and 2 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
export/*
|
1893
Karte-mc+4.svg
Normal file
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
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
BIN
cards-o.pdf
Normal file
Binary file not shown.
BIN
cards.pdf
Normal file
BIN
cards.pdf
Normal file
Binary file not shown.
11
generate.sh
11
generate.sh
|
@ -1,10 +1,15 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# farbe: #ddddddff
|
# farbe: #ddddddff
|
||||||
|
|
||||||
# replace #dddddd with color
|
# replace #dddddd with color
|
||||||
|
|
||||||
|
mkdir -p export
|
||||||
|
mkdir -p pdf
|
||||||
|
mkdir -p pdfo
|
||||||
|
|
||||||
rm export/*.svg
|
rm export/*.svg
|
||||||
|
rm pdf/*.svg
|
||||||
|
rm pdfo/*.svg
|
||||||
|
|
||||||
while read p; do
|
while read p; do
|
||||||
colorname=$(echo $p | cut -f 1 -d ' ')
|
colorname=$(echo $p | cut -f 1 -d ' ')
|
||||||
|
@ -41,7 +46,7 @@ while read p; do
|
||||||
fi
|
fi
|
||||||
done < values.txt
|
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.pdf Karte-mc.svg
|
||||||
rsvg-convert -f pdf -o pdf/1Karte-mc+4.pdf Karte-mc+4.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
|
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.pdf Karte-mc.svg
|
||||||
rsvg-convert -f pdf -o pdf/4Karte-mc+4.pdf Karte-mc+4.svg
|
rsvg-convert -f pdf -o pdf/4Karte-mc+4.pdf Karte-mc+4.svg
|
||||||
pdfunite pdf/*.pdf cards.pdf
|
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.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
|
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
|
pdfunite pdfo/*.pdf cards-o.pdf
|
||||||
|
|
2
makefile
Normal file
2
makefile
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
all:
|
||||||
|
./generate.sh
|
Loading…
Reference in a new issue