From 7309f018f5492e0e359d191006b15ffed953c406 Mon Sep 17 00:00:00 2001 From: Scott Kostyshak Date: Wed, 10 Apr 2013 21:56:18 -0400 Subject: [PATCH] Add a DocBook -> PS converter Before, the converter chain for DocBook -> PDF (ps2pdf) was: docbook -> DVI DVI -> Postscript Postscript -> PDF (ps2pdf) sgmltools has a backend for PostScript so the first two steps in the above converter chain are now condensed into one by adding the following converter for docbook -> Postscript: sgmltools -b ps $$i --- lib/configure.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/configure.py b/lib/configure.py index acd4999a54..47e91dacd1 100644 --- a/lib/configure.py +++ b/lib/configure.py @@ -961,7 +961,8 @@ def checkDocBook(): path, DOCBOOK = checkProg('SGML-tools 2.x (DocBook), db2x scripts or xsltproc', ['sgmltools', 'db2dvi', 'xsltproc'], rc_entry = [ r'''\converter docbook dvi "sgmltools -b dvi $$i" "" -\converter docbook html "sgmltools -b html $$i" ""''', +\converter docbook html "sgmltools -b html $$i" "" +\converter docbook ps "sgmltools -b ps $$i" ""''', r'''\converter docbook dvi "db2dvi $$i" "" \converter docbook html "db2html $$i" ""''', r'''\converter docbook dvi "" "" -- 2.39.5