From 8b66edda7c64250201af474672d8659de0f2b17d Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Wed, 29 May 2019 12:18:08 +0300 Subject: Add: script to run pandoc on ftt-docgen output to produce PDF --- pandoc.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 pandoc.sh (limited to 'pandoc.sh') diff --git a/pandoc.sh b/pandoc.sh new file mode 100755 index 0000000..3942448 --- /dev/null +++ b/pandoc.sh @@ -0,0 +1,15 @@ +#!/bin/sh + +set -eu + +pandoc \ + --toc \ + --number-sections \ + -Vdocumentclass:report \ + -Vtitlepage:true \ + -Vfontsize:12pt \ + "-Vmainfont:Bitstream Charter" \ + -Vsansfont:Cabin \ + "-Vmonofont:Courier 10 Pitch" \ + -Vgeometry:top=2cm,bottom=2.5cm,left=2cm,right=1cm \ + "$@" -- cgit v1.2.1