From d1a185688dddc7cb96cbee4369c5857d64ad4c8b Mon Sep 17 00:00:00 2001 From: Elena ``of Valhalla'' Grandi Date: Sun, 15 Jul 2012 15:05:02 +0200 Subject: pandoc-build.sh: sistemata generazione di PDF e lingua italiana --- pandoc-build.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'pandoc-build.sh') 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 -- cgit v1.2.3