From: Dave K. <dku...@us...> - 2003-07-03 21:06:36
|
Update of /cvsroot/docutils/sandbox/dkuhlman/docutils/tools In directory sc8-pr-cvs1:/tmp/cvs-serv28799/docutils/tools Added Files: python_latex.py Log Message: Initial checkin --- NEW FILE: python_latex.py --- #!/usr/bin/env python """ :Author: Dave Kuhlman :Contact: dku...@re... :Revision: $Revision: 1.1 $ :Date: $Date: 2003/07/03 21:06:34 $ :Copyright: This module has been placed in the public domain. A minimal front end to the Docutils Publisher, producing LaTeX that conforms to Documenting Python (http://www.python.org/dev/doc/devel/doc/doc.html). """ #import locale #locale.setlocale(locale.LC_ALL, '') from docutils.core import publish_cmdline, default_description description = ('Generates LaTeX for "Documenting Python" documents ' 'from standalone reStructuredText ' 'sources. ' + default_description) publish_cmdline(writer_name='python_latex', description=description) |