summaryrefslogtreecommitdiff
path: root/manual/format-html
diff options
context:
space:
mode:
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