Lacking Natural Simplicity

Random musings on books, code, and tabletop games.

GNUmakefile.change-RS-RE-to-QS-QE (Source)

%.qs.ms.pdf : %.rst
pandoc --verbose -r rst -w ms $(PANDOCOPTS) \
--output=- $< | gsed -e 's/^\.RS$$/.QS/' -e 's/^\.RE$$/.QE/' | \
pdfroff -ms -mpdfmark -e -t -k -KUTF-8 -i --no-toc-relocation >$@