Increase margins and enable utf8 targets

This commit is contained in:
Rodrigo Arias 2020-11-09 12:09:22 +01:00
parent c0669d7dc8
commit 92f58651b8

View File

@ -1,14 +1,15 @@
all: execution.pdf execution.ascii pp.pdf pp.ascii all: execution.pdf execution.utf8 execution.ascii pp.pdf pp.utf8 pp.ascii
TTYOPT=-rPO=4m -rLL=72m TTYOPT=-rPO=4m -rLL=72m
#TTYOPT=-dpaper=a0 -rPO=4m -rLL=72m PDFOPT=-dpaper=a4 -rPO=4c -rLL=13c
PREPROC=-k -t -p -R
%.pdf: %.ms %.pdf: %.ms Makefile
REFER=ref.i groff -ms -dpaper=a4 -k -t -p -R -Tpdf $^ > $@ REFER=ref.i groff -ms $(PREPROC) $(PDFOPT) -Tpdf $< > $@
-killall -HUP mupdf -killall -HUP mupdf
%.utf8: %.ms %.utf8: %.ms
REFER=ref.i groff -ms -t -p -R $(TTYOPT) -Tutf8 $^ > $@ REFER=ref.i groff -ms $(PREPROC) $(TTYOPT) -Tutf8 $^ > $@
%.ascii: %.ms %.ascii: %.ms
REFER=ref.i groff -ms -t -p -R $(TTYOPT) -Tascii $^ > $@ REFER=ref.i groff -ms -c $(PREPROC) $(TTYOPT) -Tascii $^ > $@