#!/usr/bin/env python """ :Author: Engelbert Gruber :Contact: grubert@users.sourceforge.net :Revision: $Revision$ :Date: $Date$ :Copyright: This module has been placed in the public domain. A minimal front-end to the Docutils Publisher, producing PDF via ReportLabs. """ from docutils.core import publish_cmdline try: from docutils.writers.rlpdf import Writer except ImportError: from rlpdf import Writer usage = 'usage:\n %prog [options] [source [destination]]' publish_cmdline(writer=Writer(), usage=usage)