From 9e4e91e244c8dcfb36aa01748b87c1f217a7fa17 Mon Sep 17 00:00:00 2001 From: Petter Reinholdtsen Date: Sun, 5 Aug 2012 20:07:36 +0200 Subject: [PATCH] Add stringparam insert.xref.page.number=1 to include side number in internal references in the PDF. --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e3cf4a1..326fb61 100644 --- 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 $@ -- 2.47.2