diff options
Diffstat (limited to 'tools/rst2s5.py')
-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) |