Dear Günter,
thank you for your kind answer.
> > As many of my constributors are mathematicians, or are used to working
> > with Latex, it is much more natural for them to use the $...$ markup
> > instead of the :math:`...` markup for inline formulas.
>
> > Currently I solve this by a simple Python preprocessing script that
> > convert pairs of $ into the correct role, but I was wondering if there
> > was a more clean solution to achieve this.
>
> You can define a "default role" like::
>
> .. defaultrole:: math
>
> and then write::
>
> As `1+1=2`, ...
>
> without the math pre or postfix.
I am currently using the default role for literal, so people don't have
to type ``...`` for inline code, this markup appears even more often
than the math.
>
> There is no easy way to define new "special characters" and there are
> currently no plans to use $math$ markers in rst.
>
> Hope this helps a bit,
I definately does, because then I will just stick with my simple
preprocessing script, and not delve further into the inner workings of
docutils.
Cheers,
Peter.
