some tweaks to the script.

This commit is contained in:
Manuel Schmalstieg 2015-05-16 01:01:23 +02:00
parent f62a97bd90
commit 3116307c12

View File

@ -10,7 +10,10 @@
INPUT="../content/meta.txt ../content/manifestos/*.*" ## ../content/intro.txt
TEMP="../temp/newfile.txt"
TEMP2="../temp/newfile2.txt"
OUTPUT="../output/output.pdf"
TIMESTAMP=$(date +"%s")
OUTPUT="../output/output-"$TIMESTAMP".pdf"
## 2: AWK Method
@ -45,8 +48,10 @@ END {
## Inconsesi
## "Breite Grotesk"
## "Work Sans"
## "Archivo Narrow"
## "Sophia Nubian"
pandoc -f markdown -o $OUTPUT --template=../templates/custom $TEMP --latex-engine=xelatex --variable mainfont="Inconsesi" --variable sansfont=Futura --variable monofont=Inconsesi --variable fontsize=9pt --toc --toc-depth=1 --include-before-body=../content/intro.txt
pandoc -f markdown -o $OUTPUT --template=../templates/custom $TEMP --latex-engine=xelatex --variable mainfont="Sophia Nubian" --variable sansfont=Futura --variable monofont=Inconsesi --variable fontsize=9pt --toc --toc-depth=1 --include-before-body=../content/intro.txt
## End of file