diff options
author | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2012-07-15 15:05:02 +0200 |
---|---|---|
committer | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2012-07-15 15:05:02 +0200 |
commit | d1a185688dddc7cb96cbee4369c5857d64ad4c8b (patch) | |
tree | 4cf8743cab9adf700cef182b23388d4b2e74ece2 /pandoc-build.sh | |
parent | 990823af0353515862a2a7f5a9a5181da9c5fa3b (diff) |
pandoc-build.sh: sistemata generazione di PDF e lingua italiana
Diffstat (limited to 'pandoc-build.sh')
-rwxr-xr-x | pandoc-build.sh | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/pandoc-build.sh b/pandoc-build.sh index a15b508..afd18c3 100755 --- a/pandoc-build.sh +++ b/pandoc-build.sh @@ -2,22 +2,21 @@ build() { - echo "Building $TARGET" for FMT in $FORMATS do mkdir -p build/pandoc/$FMT OPTS="-f rst" case $FMT in - "html") OPTS="$OPTS -t html" + "html") OPTS="$OPTS -t html --variable lang=it" EXT=".html" SPLIT=true;; - "latex") OPTS="$OPTS -t latex" + "latex") OPTS="$OPTS -t latex --variable lang=italian" EXT=".tex" SPLIT=true;; - "pdf") OPTS="$OPTS -t pdf" + "pdf") OPTS="$OPTS --latex-engine=xelatex --variable lang=italian" EXT=".pdf" SPLIT=true;; - "epub") OPTS="$OPTS -t epub" + "epub") OPTS="$OPTS -t epub --variable lang=it" EXT=".epub" SPLIT=false;; esac |