summaryrefslogtreecommitdiff
path: root/pandoc.sh
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2019-06-22 20:22:35 +0300
committerLars Wirzenius <liw@liw.fi>2019-06-22 20:28:00 +0300
commitf7ec266e119f48b6fa48a6d4847ccfd2aa9709eb (patch)
tree29104cc52b7e3b38ee4010f46fa57a445c6bb539 /pandoc.sh
parentcdae7583610cb9777f5c97e61eb087ebeb74b8df (diff)
downloadfable-poc-f7ec266e119f48b6fa48a6d4847ccfd2aa9709eb.tar.gz
Change: rename pandoc.sh to ftt-pandoc
Diffstat (limited to 'pandoc.sh')
-rwxr-xr-xpandoc.sh23
1 files changed, 0 insertions, 23 deletions
diff --git a/pandoc.sh b/pandoc.sh
deleted file mode 100755
index 147d86a..0000000
--- a/pandoc.sh
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/sh
-
-set -eu
-
-docdate()
-{
- git describe --dirty 2> /dev/null || date -R
-}
-
-pandoc \
- --filter ./pandoc-fable-filter \
- --toc \
- --number-sections \
- --standalone \
- --self-contained \
- "-Vdate:$(docdate)" \
- -Vtitlepage:true \
- -Vfontsize:12pt \
- "-Vmainfont:Bitstream Charter" \
- -Vsansfont:Cabin \
- "-Vmonofont:Courier 10 Pitch" \
- -Vgeometry:top=2cm,bottom=2.5cm,left=2cm,right=1cm \
- "$@"