From c0f3d6681f4c71b9f23937a81d8770b10ada05af Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Thu, 5 Dec 2024 22:14:27 +0100 Subject: [PATCH] added filters --- README.md | 14 +++++++------- make.sh | 1 + modify-pdf.sh | 0 3 files changed, 8 insertions(+), 7 deletions(-) mode change 100755 => 100644 modify-pdf.sh diff --git a/README.md b/README.md index 8f2fc31..a8c1fdd 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,17 @@ +# Readme + ## Requirements - pdftk - ghostscript +- pandoc +- pandoc-crossref +- [python-pantable](https://github.com/ickc/pantable) -### Install: - -#### Debian -```bash -sudo apt install pdftk gs -``` +### Install #### Arch ```bash -yay -S pdftk ghostscript +yay -S pdftk ghostscript pandoc-bin pandoc-crossref-bin python-pantable ``` diff --git a/make.sh b/make.sh index 88ade72..5ef128b 100755 --- a/make.sh +++ b/make.sh @@ -11,6 +11,7 @@ pandoc -i "$IN" \ -o "$OUT" \ --csl=apa-7th-edition.csl \ --citeproc \ + --filter pandoc-crossref \ --lua-filter=filters/first-line-indent.lua \ --citation-abbreviations=citation-abbreviations.csl diff --git a/modify-pdf.sh b/modify-pdf.sh old mode 100755 new mode 100644