summaryrefslogtreecommitdiff
path: root/docutils/tools
diff options
context:
space:
mode:
authorgoodger <goodger@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2003-06-29 23:35:51 +0000
committergoodger <goodger@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2003-06-29 23:35:51 +0000
commit19f88581ed6bf946c0d8c10cfc8ed1acbdfd1da9 (patch)
tree80f07bf0bc2aae1c94db29ffc330ca0ed5c9c5d8 /docutils/tools
parent9dcd8cd00266ca5b2d3cb8fee4cccae24eecfefc (diff)
downloaddocutils-19f88581ed6bf946c0d8c10cfc8ed1acbdfd1da9.tar.gz
corrections
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@1529 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/tools')
-rwxr-xr-xdocutils/tools/rst2latex.py11
1 files changed, 7 insertions, 4 deletions
diff --git a/docutils/tools/rst2latex.py b/docutils/tools/rst2latex.py
index 23cfa9a8c..998813c2f 100755
--- a/docutils/tools/rst2latex.py
+++ b/docutils/tools/rst2latex.py
@@ -1,17 +1,20 @@
#!/usr/bin/env python
-"""
:Author: David Goodger
:Contact: goodger@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 HTML.
+"""
+A minimal front end to the Docutils Publisher, producing LaTeX.
"""
-#import locale
-#locale.setlocale(locale.LC_ALL, '')
+import locale
+try:
+ locale.setlocale(locale.LC_ALL, '')
+except:
+ pass
from docutils.core import publish_cmdline, default_description