On Thu, Apr 28, 2011 at 12:34 AM, Stuart Henderson <[email protected]> wrote:

> If that's the case then just add the dep in asciidoc.

After all, I think my diff is right (or at least it won't hurt) ...

$ grep -i docbook /usr/local/bin/a2x.py
        if not (self.keep_artifacts or self.format == 'docbook' or
self.skip_asciidoc):
        Return full path name of file in asciidoc docbook-xsl configuration
        return self.asciidoc_conf_file(os.path.join('docbook-xsl', file_name))
    def to_docbook(self):
        Use asciidoc to convert asciidoc_file to DocBook.
        docbook_file = self.dst_path('.xml')
            if not os.path.isfile(docbook_file):
                die('missing docbook file: %s' % docbook_file)
        shell('"%s" --backend docbook %s --out-file "%s" "%s"' %
             (self.asciidoc, self.asciidoc_opts, docbook_file,
self.asciidoc_file))
            shell('"%s" --nonet --noout --valid "%s"' % (XMLLINT, docbook_file))
        self.to_docbook()
        docbook_file = self.dst_path('.xml')
        exec_xsltproc(self.xsl_stylesheet(), docbook_file,
self.destination_dir, opts)
        self.to_docbook()
        docbook_file = self.dst_path('.xml')
        exec_xsltproc(self.xsl_stylesheet(), docbook_file,
self.destination_dir, opts)
        self.to_docbook()
        docbook_file = self.dst_path('.xml')
        exec_xsltproc(xsl, docbook_file, self.destination_dir, opts)
        self.to_docbook()
        docbook_file = self.dst_path('.xml')
             (DBLATEX, self.format, xsl, sty, self.dblatex_opts, docbook_file))
        self.to_docbook()
        docbook_file = self.dst_path('.xml')
        exec_xsltproc(xsl_file, docbook_file, self.destination_dir, opts)
        self.to_docbook()
        docbook_file = self.dst_path('.xml')
        exec_xsltproc(xsl_file, docbook_file, build_dir, self.xsltproc_opts)
            self.to_docbook()
            docbook_file = self.dst_path('.xml')
            exec_xsltproc(self.xsl_stylesheet(), docbook_file,
                 'xhtml','dvi','ps','tex','docbook'),
        help='chunked, epub, htmlhelp, manpage, pdf, text, xhtml, dvi,
ps, tex, docbook')

Ciao,
David

Reply via email to