On Sep 3, 1:40 pm, Rob Beezer <goo...@beezer.cotse.net> wrote:
> On Sep 3, 1:22 pm, John Cremona <john.crem...@gmail.com> wrote:
>
> > I have never used Ondrej's :math: in front, but maybe I should have.
>
> I recall seeing somewhere that in ReST/Sphinx you can configure a
> default "mode" for the backticks,

Right: in the file SAGE_ROOT/devel/sage/doc/common/conf.py, there are
the lines

# The reST default role (used for this markup: `text`) to use for all
documents.
default_role = 'math'

So in Sage docstrings you don't need ":math:".

  John

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to