dotfiles/scripts/groff-compiler
tavo-wasd fd69ecbbe6 init
2023-05-08 20:39:39 -06:00

14 lines
309 B
Bash
Executable file

#!/bin/sh
# I needed this to replace env variables
# for easier macro sourcing
soelim -I ~/.config/groff/ "$1" | refer -p ~/.config/groff/bibliography |
groff -mspdf -T pdf -U -ketpj
# Preprocessors
# [-k (preconv)]
# [-e (eqn)]
# [-t (tbl)]
# [-p (pic)]
# [-G (grap)]
# [-j (chem) (messes up spacing)]