[3] | 1 | #!/afs/bx.psu.edu/project/pythons/linux-x86_64-ucs4/bin/python2.6 |
---|
| 2 | |
---|
| 3 | # Author: Chris Liechti |
---|
| 4 | # Contact: cliechti@gmx.net |
---|
| 5 | # Revision: $Revision: 4156 $ |
---|
| 6 | # Date: $Date: 2005-12-08 05:43:13 +0100 (Thu, 08 Dec 2005) $ |
---|
| 7 | # Copyright: This module has been placed in the public domain. |
---|
| 8 | |
---|
| 9 | """ |
---|
| 10 | A minimal front end to the Docutils Publisher, producing HTML slides using |
---|
| 11 | the S5 template system. |
---|
| 12 | """ |
---|
| 13 | |
---|
| 14 | try: |
---|
| 15 | import locale |
---|
| 16 | locale.setlocale(locale.LC_ALL, '') |
---|
| 17 | except: |
---|
| 18 | pass |
---|
| 19 | |
---|
| 20 | from docutils.core import publish_cmdline, default_description |
---|
| 21 | |
---|
| 22 | |
---|
| 23 | description = ('Generates S5 (X)HTML slideshow documents from standalone ' |
---|
| 24 | 'reStructuredText sources. ' + default_description) |
---|
| 25 | |
---|
| 26 | publish_cmdline(writer_name='s5', description=description) |
---|