16 lines
227 B
Plaintext
16 lines
227 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
pandoc --biblatex -t latex -s -i $1 -o $1.lytex
|
||
|
lilypond-book $1.lytex -o textmp
|
||
|
cd textmp
|
||
|
xelatex $1.tex
|
||
|
if [ -f "$1.bcf" ]
|
||
|
then
|
||
|
biber $1.bcf
|
||
|
xelatex $1.tex
|
||
|
fi
|
||
|
cp $1.pdf ..
|
||
|
cd ..
|
||
|
rm -rf textmp
|
||
|
rm $1.lytex
|