]> pere.pagekite.me Git - text-free-culture-lessig.git/blobdiff - Makefile
Change PDF build rule to use xmlto with fop, which understand <part> better than...
[text-free-culture-lessig.git] / Makefile
index 58bc5f2afc3d183b8167ac4c0e92897511776456..48e4e5835640c35b186275ed55f505f2c504941c 100644 (file)
--- 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 $^