Add <target> to one more testcase (see r8206).
[docutils.git] / sandbox / rst2wordml / rst2wordml.py
blob1e4a54ad97e65bf72037360daddc98cb470d77dc
1 #!C:\dev\Python25\python.exe
3 # Author: Jay Kint
4 # Contact: bilbo@hobbit-hole.org
5 # Revision: $Revision$
6 # Date: $Date$
7 # Copyright: This module is copyright 2007 by Jay Kint, licensed by the BSD License.
9 """
10 A minimal front end to the Docutils Publisher, producing WordML for Microsoft Word 2003+.
11 """
13 try:
14 import locale
15 locale.setlocale(locale.LC_ALL, '')
16 except:
17 pass
19 from docutils.core import publish_cmdline, default_description
22 description = ('Generates WordML from standalone '
23 'reStructuredText sources. ' + default_description)
25 publish_cmdline(writer_name='docutils_wordml', description=description)