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/cben/rolehack/mathhack.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/cben/rolehack/mathhack.py')
-rwxr-xr-x | sandbox/cben/rolehack/mathhack.py | 27 |
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}) |