4 # Author: David Goodger <goodger@python.org>
5 # Copyright: This module has been placed in the public domain.
8 A minimal front end to the Docutils Publisher, producing LaTeX using
14 locale
.setlocale(locale
.LC_ALL
, '')
18 from docutils
.core
import publish_cmdline
, default_description
21 description
= ('Generates LaTeX documents from standalone reStructuredText '
22 'sources. This writer is EXPERIMENTAL and should not be used '
23 'in a production environment. ' + default_description
)
25 publish_cmdline(writer_name
='newlatex2e', description
=description
)