diff --git a/Karte.svg b/Karte.svg
index 9370d39..5b02b4d 100644
--- a/Karte.svg
+++ b/Karte.svg
@@ -274,8 +274,8 @@
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="2.2113095"
- inkscape:cx="28.199191"
- inkscape:cy="167.09556"
+ inkscape:cx="-65.18439"
+ inkscape:cy="166.19112"
inkscape:document-units="mm"
inkscape:current-layer="layer1"
showgrid="false"
@@ -292,7 +292,7 @@
image/svg+xml
-
+
@@ -798,5 +798,12 @@
x="-10.120999"
y="-283.8945"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:OCRABold;-inkscape-font-specification:OCRABold;text-align:center;text-anchor:middle;fill:#dddddd;stroke:#000000;stroke-width:0.26458332px;fill-opacity:1;">13
+
diff --git a/colors.txt b/colors.txt
index 4475c07..e377df7 100644
--- a/colors.txt
+++ b/colors.txt
@@ -1,4 +1,4 @@
rot #ee0000
-gruen #00aa00
-blau #0022ff
-gelb #ffee00
+gruen #119900
+blau #0011cc
+gelb #eedd00
diff --git a/generate.sh b/generate.sh
index 9905113..7715947 100755
--- a/generate.sh
+++ b/generate.sh
@@ -25,8 +25,32 @@ while read p; do
sed -i 's/>13>'$value'' $file
sed -i 's/>XL>'$opt'' $file
echo "processing " $p " with value= " $value " and opt= " $opt
+ rsvg-convert -f pdf -o pdf/$name-$colorname.pdf $file
fi
fi
done < values.txt
done < colors.txt
+while read p; do
+ if [[ "$p" =~ \#.* ]];
+ then
+ echo $p
+ else
+ name=$(echo $p | cut -f 1 -d ' ')
+ value=$(echo $p | cut -f 2 -d ' ')
+ pdfjam pdf/$name-rot.pdf pdf/$name-gruen.pdf pdf/$name-blau.pdf pdf/$name-gelb.pdf --nup 2x2 --landscape --outfile pdfo/$name.pdf
+ fi
+done < values.txt
+
+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
+rsvg-convert -f pdf -o pdf/2Karte-mc+4.pdf Karte-mc+4.svg
+rsvg-convert -f pdf -o pdf/3Karte-mc.pdf Karte-mc.svg
+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
+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