summaryrefslogtreecommitdiff
path: root/sandbox/cben/rolehack/mathhack.py
diff options
context:
space:
mode:
authorwiemann <wiemann@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2005-08-17 13:59:12 +0000
committerwiemann <wiemann@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2005-08-17 13:59:12 +0000
commita4bc0d09f3d1f633a5780976d1f913e083c9564a (patch)
tree1777475e88463b08438f0719be97cc087554eadd /sandbox/cben/rolehack/mathhack.py
parent60c69f8cf97125135948a3d35b7698ee80921137 (diff)
parent2818db9a234cc37008c5f2bb0e821f9b1fa92de2 (diff)
downloaddocutils-0.3.9.tar.gz
re-added docutils-0.3.9 tag one level deeper (without web/ and sandboxes/)docutils-0.3.9
git-svn-id: http://svn.code.sf.net/p/docutils/code/tags/docutils-0.3.9@3815 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'sandbox/cben/rolehack/mathhack.py')
-rwxr-xr-xsandbox/cben/rolehack/mathhack.py27
1 files changed, 0 insertions, 27 deletions
diff --git a/sandbox/cben/rolehack/mathhack.py b/sandbox/cben/rolehack/mathhack.py
deleted file mode 100755
index 0a02f231c..000000000
--- a/sandbox/cben/rolehack/mathhack.py
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/usr/bin/env python
-"""
-.. epigraph::
-
- Using ``raw`` is almost always evidence of a hack in progress. It's not a
- clean solution.
-
- -- David Goodger.
-
-Convert the default and ``texmath`` role to raw latex inline math and the
-``texmath`` directive to display math.
-"""
-
-from rolehack import *
-
-texmath = template('''\
-raw:: latex
-
- $''', '$\n')
-
-texdisplay = template('''\
-raw:: latex
-
- \[ ''', ' \]\n')
-
-main({'texmath': texmath}, texmath,
- {'texmath': texdisplay})