5 Using ``raw`` is almost always evidence of a hack in progress. It's not a
10 Convert the default and ``texmath`` role to raw latex inline math and the
11 ``texmath`` directive to display math.
14 from rolehack
import *
16 texmath
= template('''\
21 texdisplay
= template('''\
26 main({'texmath': texmath
}, texmath
,
27 {'texmath': texdisplay
})