# HG changeset patch # User Steve Losh # Date 1555166226 14400 # Node ID ad00851f941106af0ce16c047f029fb13b9772ae # Parent b892847fa264a5ed4cbf76dae2849f0245580175 Fucking computers diff -r b892847fa264 -r ad00851f9411 bin/code-to-pdf --- a/bin/code-to-pdf Sat Apr 13 10:05:46 2019 -0400 +++ b/bin/code-to-pdf Sat Apr 13 10:37:06 2019 -0400 @@ -8,20 +8,20 @@ enscript -1 --media=Letter \ --toc \ --header '%H - $N | | page $% of $= in file $v' \ - --font "UbuntuMono-Regular@8" \ - --header-font "UbuntuMono-Bold@10" \ + --fancy-header=sjl \ + --font "UbuntuMono-Regular@10" \ + --header-font "UbuntuMono-Bold@12" \ --title "$TITLE" \ --baselineskip 3 \ --line-numbers \ --highlight \ --color \ --mark-wrapped-lines=arrow \ - --margins=60:60:18:60 \ + --margins=50:50:18:50 \ --portrait \ --output - \ --word-wrap $* \ - # | ps2pdf code + | ps2pdf - code.pdf # --margins=20:40:30:30 \ # --landscape \ - # --fancy-header=sjl \