summaryrefslogtreecommitdiff
path: root/manual/format-html
diff options
context:
space:
mode:
authorRemi Rampin <remirampin@gmail.com>2017-07-03 13:06:30 -0400
committerLars Wirzenius <liw@liw.fi>2017-07-16 22:19:12 +0300
commit365485541ea83c2c256582212d3125768637bc82 (patch)
tree8591c1419a848326f20b399ee65a46c94ede2193 /manual/format-html
parent00c5de9d1d23382d9475384fe428bb036b020aaa (diff)
downloadobnam-365485541ea83c2c256582212d3125768637bc82.tar.gz
Use additional code from format-de* for all langs
Diffstat (limited to 'manual/format-html')
-rwxr-xr-xmanual/format-html7
1 files changed, 5 insertions, 2 deletions
diff --git a/manual/format-html b/manual/format-html
index 14bc3750..238174a8 100755
--- a/manual/format-html
+++ b/manual/format-html
@@ -22,15 +22,18 @@ OUTPUT="$1"
TITLE="$2"
AUTHOR="$3"
VERSION="$4"
-shift 4
+LANG="$5"
+TRANSLATOR="$6"
+shift 6
cat > 000.mdwn <<EOF
% $TITLE
% $AUTHOR
+ $TRANSLATOR
% $VERSION
EOF
pandoc -H ../obnam.css --smart --toc --chapters --number-sections \
- --standalone --self-contained -V geometry:lettersize \
+ --standalone --self-contained -V lang="$LANG" -V geometry:a4paper \
-o "$OUTPUT" 000.mdwn "$@"
rm -f 000.mdwn