fcm abschlussturnier spielplaene

Michael Kistler 76f22f71b7 final 4 months ago
Audio final 4 months ago
Drucksachen final 4 months ago
Kategorie A final 4 months ago
Kategorie B final 4 months ago
Spielplan final 4 months ago
.gitignore initial version created 4 months ago
FCM-Meggen_CMYK.svg initial version created 4 months ago
LetterA4.dotx initial version created 4 months ago
Listen_B.pdf final 4 months ago
Mini-WM Teameinteilung.xlsx final 4 months ago
README.md final 4 months ago
Ranglisten.md initial version created 4 months ago
Speisekarte.docx final 4 months ago
Speisekarte_Essen.svg final 4 months ago
Spielplan.xlsx original spielplan for jury 4 months ago
WebInfos.pdf initial version created 4 months ago
WebInfos.svg initial version created 4 months ago
hile.pdf final 4 months ago
letter.pdf initial version created 4 months ago
letter.svg initial version created 4 months ago
mannschaftlisten_a.sh final 4 months ago
mannschaftlisten_b.sh final 4 months ago
qr-code-miniwm.svg initial version created 4 months ago

README.md

Mail Merge Inkscape

sudo gem install inkscape_merge

inkscape --without-gui --export-pdf=spielplan.pdf --export-dpi=300 spielplan.svg

cd /fullpathto/svgdirectory
mogrify -path /fullpathto/pngdirectory -format png *.svg
convert -limit memory 2MB `ls` combined.pdf

## MiniWM
inkscape_merge -f spielplan.svg --format png -d spielplan_miniwm.csv -o batch_miniwm/badge_%02d.png

convert -limit memory 2MB batch_miniwm/* spielplan_miniwm.pdf

## Weltpokal
inkscape_merge -f spielplan.svg --format png -d spielplan_weltpokal.csv -o batch_weltpokal/badge_%02d.png

convert -limit memory 2MB batch_weltpokal/* spielplan_weltpokal.pdf

gs -sDEVICE=pdfwrite \
    -dNOPAUSE -dBATCH -dSAFER \
    -sOutputFile=combined.pdf \
    `ls`

Spielerlisten with Markdown and Pandoc

pandoc Kategorie\ A/*.md -o Listen_A.pdf
convert -density 150 -limit memory 2MB *.pdf Spielerlisten.pdf
funktioniert nur bedinngt. 

pandoc Kategorie\ B/*.md -o Listen_B.pdf
convert -density 150 -limit memory 2MB *.pdf Spielerlisten.pdf


brew install node
https://github.com/alanshaw/markdown-pdf
npm install -g markdown-pdf 
markdown-pdf Kategorie\ B/*.md -f 'A4' 
markdown-pdf "Kategorie B/Chile.md" -d "1000" -s "/Users/mkistler/Library/Application Support/abnerworks.Typora/themes/writing.css" -o "Chile.pdf"

# execute from directory
markdown-pdf $i -d "1000" -s "/Users/mkistler/Library/Application Support/abnerworks.Typora/themes/writing.css"

Kategorie A

cd ~/workspace/fcm-gruempi2019/Kategorie\ A
for i in *.md; do  markdown-pdf $i -d "1000" -s "/Users/mkistler/Library/Application Support/abnerworks.Typora/themes/writing.css"; done
convert -density 150 -limit memory 2MB *.pdf ~/workspace/fcm-gruempi2019/Drucksachen/Mannschaftlisten_A.pdf

Kategorie B

cd ~/workspace/fcm-gruempi2019/Kategorie\ B
for i in *.md; do  markdown-pdf $i -d "1000" -s "/Users/mkistler/Library/Application Support/abnerworks.Typora/themes/writing.css"; done
convert -density 150 -limit memory 2MB *.pdf ~/workspace/fcm-gruempi2019/Drucksachen/Mannschaftlisten_B.pdf

Json from csv

=CONCAT("{'",B2,"':['",C2,"','",D2,"','",E2,"']}",",")