dotfiles

My collection of dotfiles
git clone git://git.noxz.tech/dotfiles
Log | Files | Refs

commit 9fecb39f25689c1b4c7f9b2c4a5f9c2eae72842b
parent 900dcefcc5dd4772271ef19126554dccd21300c8
Author: Chris Noxz <chris@noxz.tech>
Date:   Tue, 12 Nov 2019 06:53:02 +0100

[bin] Extend compiler to support .md using lowdown and groff

Diffstat:
Mbin/.bin/compile | 13+++++++++++++
1 file changed, 13 insertions(+), 0 deletions(-)

diff --git a/bin/.bin/compile b/bin/.bin/compile @@ -25,4 +25,17 @@ case "$_FILE" in -dPrinted=false \ -sOutputFile="$_BASE.pdf" - ;; +*\.md) lowdown -s -Tms "$_FILE" \ + | preconv \ + | tbl -Tpdf \ + | groff -k -ms $_ARGS -dpaper=a4 -P-pa4 -P-e -Tpdf \ + | gs \ + -q \ + -dNOPAUSE \ + -dBATCH \ + -dPDFSETTINGS=/prepress \ + -sDEVICE=pdfwrite \ + -dPrinted=false \ + -sOutputFile="$_BASE.pdf" - + ;; esac