diff options
| author | goodger <goodger@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2003-06-29 23:35:51 +0000 |
|---|---|---|
| committer | goodger <goodger@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2003-06-29 23:35:51 +0000 |
| commit | 19f88581ed6bf946c0d8c10cfc8ed1acbdfd1da9 (patch) | |
| tree | 80f07bf0bc2aae1c94db29ffc330ca0ed5c9c5d8 /docutils/tools | |
| parent | 9dcd8cd00266ca5b2d3cb8fee4cccae24eecfefc (diff) | |
| download | docutils-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-x | docutils/tools/rst2latex.py | 11 |
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 |
