From f7ec266e119f48b6fa48a6d4847ccfd2aa9709eb Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sat, 22 Jun 2019 20:22:35 +0300 Subject: Change: rename pandoc.sh to ftt-pandoc --- ftt-pandoc | 23 +++++++++++++++++++++++ pandoc.sh | 23 ----------------------- setup.py | 2 +- 3 files changed, 24 insertions(+), 24 deletions(-) create mode 100755 ftt-pandoc delete mode 100755 pandoc.sh diff --git a/ftt-pandoc b/ftt-pandoc new file mode 100755 index 0000000..147d86a --- /dev/null +++ b/ftt-pandoc @@ -0,0 +1,23 @@ +#!/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 \ + "$@" 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 \ - "$@" diff --git a/setup.py b/setup.py index ecc3792..510e2b1 100644 --- a/setup.py +++ b/setup.py @@ -27,7 +27,7 @@ setup( scripts=[ 'ftt-docgen', 'ftt-codegen', - 'pandoc.sh', + 'ftt-pandoc', 'pandoc-fable-filter', ], ) -- cgit v1.2.1