]> pere.pagekite.me Git - text-free-culture-lessig.git/commitdiff
Add stringparam insert.xref.page.number=1 to include side number in
authorPetter Reinholdtsen <pere@hungry.com>
Sun, 5 Aug 2012 18:07:36 +0000 (20:07 +0200)
committerPetter Reinholdtsen <pere@hungry.com>
Sun, 5 Aug 2012 18:07:36 +0000 (20:07 +0200)
internal references in the PDF.

Makefile

index e3cf4a1414258090a864c28f530575457ac19d65..326fb61bd2b4b45cde6ec9a197627b6c5a7f16ba 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -45,7 +45,8 @@ html: freeculture.html freeculture.nb.html
 # create PDF like this.  The PDF output (visual design) is better, but
 # the footnote handling is worse and images are missing.
 #      xmlto --noautosize --stringparam paper.type=A5 \
-#          --stringparam fop1.extensions=1 \
+#        --stringparam fop1.extensions=1 \
+#        --stringparam insert.xref.page.number=1 \
 #        --with-fop pdf $<
 
 # Third alternative is to use xsltproc and fop directly, as
@@ -56,6 +57,7 @@ html: freeculture.html freeculture.nb.html
          --output myfile.fo    \
          --stringparam paper.type A5 \
          --stringparam fop1.extensions 1 \
+         --stringparam insert.xref.page.number 1 \
          /usr/share/xml/docbook/stylesheet/docbook-xsl/fo/docbook.xsl \
          $<
        fop -fo myfile.fo -pdf $@