Add <target> to one more testcase (see r8206).
[docutils.git] / sandbox / newlatex / rst2newlatex.py
blob3f2680f63d101fac85cba1e63468c212f2dd4408
1 #!/usr/bin/env python
3 # $Id$
4 # Author: David Goodger <goodger@python.org>
5 # Copyright: This module has been placed in the public domain.
7 """
8 A minimal front end to the Docutils Publisher, producing LaTeX using
9 the new LaTeX writer.
10 """
12 try:
13 import locale
14 locale.setlocale(locale.LC_ALL, '')
15 except:
16 pass
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)