X-Git-Url: https://pere.pagekite.me/gitweb/text-free-culture-lessig.git/blobdiff_plain/5208e86e8ff22cfe4756f2e37d0f6c137b2dc962..87cc4559990fa3f63563c185a8e5be7d523807a4:/Makefile diff --git a/Makefile b/Makefile index 58bc5f2..48e4e58 100644 --- a/Makefile +++ b/Makefile @@ -32,7 +32,12 @@ epub: freeculture.nb.epub html: freeculture.html freeculture.nb.html %.pdf: %.xml - $(DBLATEX) $^ --param=lingua=nb +# $(DBLATEX) $^ --param=lingua=nb + +# Alternative processing path to dblatex is to use xmlto using fop to +# create PDF like this. The PDF output (visual design) is better, but +# the PDF index and footnote handling is worse. + xmlto --noautosize -m xmlto-pdf.xsl --with-fop pdf $^ %.html: %.xml xmlto html-nochunks $^