diff options
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}) |