From: Petter Reinholdtsen Date: Thu, 8 Feb 2018 13:58:35 +0000 (+0000) Subject: Add a XSL stylesheet for the XSL+FO processor. X-Git-Tag: es-printed~551 X-Git-Url: https://pere.pagekite.me/gitweb/text-madewithcc.git/commitdiff_plain/7d02443e21b178d12bdc41c9e132b68a0ecef11a?ds=sidebyside Add a XSL stylesheet for the XSL+FO processor. --- diff --git a/Makefile b/Makefile index 4feb1a9..15294f9 100644 --- a/Makefile +++ b/Makefile @@ -120,8 +120,9 @@ lint-nb: $(SOURCE).nb.xml # Experimental build rule to test Docbook XSL + FOP processor xsl-fo-%.pdf: %.xml - xsltproc /usr/share/xml/docbook/stylesheet/docbook-xsl/fo/docbook.xsl $^ > $@.fo - fop $@.fo $@ + xsltproc --output $(subst .pdf,.fo,$@) \ + extra/stylesheet-fo.xsl $^; \ + fop -fo $(subst .pdf,.fo,$@) -pdf $@ status: for LANG in $(LANGS); do \ diff --git a/extra/stylesheet-fo.xsl b/extra/stylesheet-fo.xsl new file mode 100644 index 0000000..3ec42a9 --- /dev/null +++ b/extra/stylesheet-fo.xsl @@ -0,0 +1,9 @@ + + + + + + + 1 + +