added filters

This commit is contained in:
Michael Beck 2024-12-05 22:14:27 +01:00
parent 7569cc0782
commit c0f3d6681f
3 changed files with 8 additions and 7 deletions

View File

@ -1,17 +1,17 @@
# Readme
## Requirements ## Requirements
- pdftk - pdftk
- ghostscript - ghostscript
- pandoc
- pandoc-crossref
- [python-pantable](https://github.com/ickc/pantable)
### Install: ### Install
#### Debian
```bash
sudo apt install pdftk gs
```
#### Arch #### Arch
```bash ```bash
yay -S pdftk ghostscript yay -S pdftk ghostscript pandoc-bin pandoc-crossref-bin python-pantable
``` ```

View File

@ -11,6 +11,7 @@ pandoc -i "$IN" \
-o "$OUT" \ -o "$OUT" \
--csl=apa-7th-edition.csl \ --csl=apa-7th-edition.csl \
--citeproc \ --citeproc \
--filter pandoc-crossref \
--lua-filter=filters/first-line-indent.lua \ --lua-filter=filters/first-line-indent.lua \
--citation-abbreviations=citation-abbreviations.csl --citation-abbreviations=citation-abbreviations.csl

0
modify-pdf.sh Executable file → Normal file
View File