diff options
| author | goodger <goodger@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2005-12-08 04:43:13 +0000 |
|---|---|---|
| committer | goodger <goodger@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2005-12-08 04:43:13 +0000 |
| commit | 118dd3d2aa36cf563590197e28830c1a905f9cd8 (patch) | |
| tree | d60b440574557f4f0dfdb4494e5d37e6d52f2fdf /tools | |
| parent | e571eb6f3616063e8cc1096b3451aa6f3e659858 (diff) | |
| download | docutils-118dd3d2aa36cf563590197e28830c1a905f9cd8.tar.gz | |
merged branches/s5 changes r4011:4155 into trunk/docutils
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4156 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/rst2s5.py | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/tools/rst2s5.py b/tools/rst2s5.py new file mode 100755 index 000000000..b4a9396d1 --- /dev/null +++ b/tools/rst2s5.py @@ -0,0 +1,26 @@ +#!/usr/bin/python + +# Author: Chris Liechti +# Contact: cliechti@gmx.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 slides using +the S5 template system. +""" + +try: + import locale + locale.setlocale(locale.LC_ALL, '') +except: + pass + +from docutils.core import publish_cmdline, default_description + + +description = ('Generates S5 (X)HTML slideshow documents from standalone ' + 'reStructuredText sources. ' + default_description) + +publish_cmdline(writer_name='s5', description=description) |
