mkdir -p $(myprintdir)/images && \
cp $(myimgdir)/*.png $(myprintdir)/images && \
xmlto -v $(WITH_FOP) --stringparam=keep.relative.image.uris="1" \
+ -x $(XSL_FO_STYLE) \
--searchpath print pdf $(myxmldir)/index.xml &> $(LOGFILE) && \
echo "Generating PS file: $(myprintdir)/index.ps ..." && \
pdftops index.pdf && \
mkdir -p $(vgdir)/print/images
cp $(myimgdir)/*.png $(vgdir)/print/images/
xmlto -v $(WITH_FOP) --stringparam=keep.relative.image.uris="1" \
+ -x $(XSL_FO_STYLE) \
--searchpath print pdf $(myxmldir)/index.xml &> $(LOGFILE)
mv index.pdf $(vgdir)/print/manual.pdf
@echo ""
at the top to remove WITH_FOP. It will then fall back to pdfxmltex
for which you will need the hack described in "Notes [Mar 2015]".
+On Fedora the pdftops command is provided by poppler-utils.
+
Notes [Jan 2019]
-----------------
For Ubuntu 18.04, to build HTML docs I had to: