All of the docstrings need to be processed by the proccess_docstring*
functions in sage/doc/common/conf.py file. These are what's used to
convert the dollar signs in to the appropriate restructured text
format.
--Mike
The following
`\$...\$` and `\$\$...\$\$`
almost works for me in both live and static docs with Sphinx 0.6.3:
http://trac.sagemath.org/sage_trac/ticket/6586
But the dollar signs appear to be slightly different.
I think the discrepancy stems from our current use of jsMath's
* easy/load.js for the static docs
* jsMath.js for the live docs
and whether/how the tex2math plug-in runs:
http://www.math.union.edu/~dpvc/jsMath/authors/easy-config.html
http://www.math.union.edu/~dpvc/jsMath/authors/autoload.html
http://www.math.union.edu/~dpvc/jsMath/authors/tex2math.html
Relevant tickets for equalizing the behavior:
http://trac.sagemath.org/sage_trac/ticket/4714
http://trac.sagemath.org/sage_trac/ticket/6673
I don't know which settings are best for us.