On Wed, Nov 26, 2008 at 6:53 PM, Alan Bromborsky <[EMAIL PROTECTED]> wrote:
>
> As a test for math in Sphinx I added the following to a .rst file that 
> worked.  When I did
> make html the html file said that ..math:: was an unknown directive.  What 
> did I do wrong (does
> Sphinx have to be initialized in a special way to enable ..math:: ?

Yes, you have to enable the math extension in conf.py. See for example
http://code.google.com/p/mpmath/source/browse/trunk/doc/source/conf.py

Also if you set default_role = 'math' in conf.py, inline formulas can
be entered as `x+y` instead of :math:`x+y`.

Fredrik

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sympy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to