diff options
author | wiemann <wiemann@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2006-01-09 20:44:25 +0000 |
---|---|---|
committer | wiemann <wiemann@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2006-01-09 20:44:25 +0000 |
commit | d77fdfef70e08114f57cbef5d91707df8717ea9f (patch) | |
tree | 49444e3486c0c333cb7b33dfa721296c08ee4ece /sandbox/aahz/Effective/bug_report.py | |
parent | 53cd16ca6ca5f638cbe5956988e88f9339e355cf (diff) | |
parent | 3993c4097756e9885bcfbd07cb1cc1e4e95e50e4 (diff) | |
download | docutils-0.4.tar.gz |
Release 0.4: tagging released revisiondocutils-0.4
git-svn-id: http://svn.code.sf.net/p/docutils/code/tags/docutils-0.4@4268 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'sandbox/aahz/Effective/bug_report.py')
-rw-r--r-- | sandbox/aahz/Effective/bug_report.py | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/sandbox/aahz/Effective/bug_report.py b/sandbox/aahz/Effective/bug_report.py deleted file mode 100644 index e6f9349f1..000000000 --- a/sandbox/aahz/Effective/bug_report.py +++ /dev/null @@ -1,43 +0,0 @@ -reST_text = """ -``spam`` - -blah blah - -.. index:: - ``xyzzy`` - plugh - spam ``eggs`` -""" - -import sys -import zipfile -from cStringIO import StringIO - -from docutils import core, io - -import EffDirectives -import EffParser -import EffMap - -class MIF: pass -writer = MIF -writer = None - -if writer is MIF: - import MIFwriter as EffWriter - pub = core.Publisher(writer=EffWriter.Writer(EffMap.StyleMap)) -else: - pub = core.Publisher() - pub.set_writer('pseudoxml') - -inliner = EffParser.Inliner() -pub.set_reader('standalone', EffParser.Parser(inliner=inliner), - 'restructuredtext') -settings = pub.get_settings() -#settings.doctitle_xform = 0 -settings.traceback = 1 -pub.source = io.StringInput(reST_text) -pub.destination = io.StringOutput(encoding='utf-8') -content = pub.publish() - -print content |