diff options
| author | Benjamin J. Culkin <bjculkin@mix.wvu.edu> | 2019-01-05 10:18:01 -0400 |
|---|---|---|
| committer | Benjamin J. Culkin <bjculkin@mix.wvu.edu> | 2019-01-05 10:19:37 -0400 |
| commit | 668ad3ea0cec290c391c9e8113f2ee3e47dc88b2 (patch) | |
| tree | 02b772e3d4c071b8fb6ed0434ea3db82ab2fd5e9 | |
| parent | 53427e7935e2bba6955b9647fa4d9367fce6d77d (diff) | |
Add script to regenerate PDF from text
| -rwxr-xr-x | genafx-nogen.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/genafx-nogen.sh b/genafx-nogen.sh new file mode 100755 index 00000000..27e2b040 --- /dev/null +++ b/genafx-nogen.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +set -e + +baseout="$1" +shift 1 + +a2ps --file-align=virtual --header="Affixes" --tabsize=2 -E -g -o output/"$baseout".ps output/"$baseout".txt + +ps2pdf output/"$baseout".ps output/"$baseout".pdf + +mupdf output/"$baseout".pdf |
