> What then? Is it MathJax, HTML+CSS, PNG, LaTeX, or plain text?
> Could you post an example?

Sure.

Here's a test rst:

Testing math directive:
.. math::

   a^2 + b^2 = c^2

Testing inline math: :math:`\sin\alpha`.


Here's html without docutils.conf:

<p>Testing math directive:</p><div class="math">
\begin{equation*}
a^2 + b^2 = c^2
\end{equation*}</div><p>Testing inline math: <span 
class="math">\(\sin\alpha\)</span>
.</p>


I tried adding docutils.conf to

   - root dir of the doc
   - _static
   - _build

In all of these cases I get the same html.

--
With respect,
Boris.
 

On Wednesday, March 6, 2013 8:44:21 AM UTC+4, Boris Kheyfets wrote:
>
> I'm trying to make use of [sphinxcontrib-mathml](
> https://bitbucket.org/coh/sphinx-contrib-mathml/overview) extension. 
> Here's a test document:
>
>     .. _00mathml:
>
>     ########
>      MathML
>     ########
>
>     Inline test: :math:`a^2 + b^2 = c^2`
>
>     Separate line test:
>
>     .. math::
>
>        a^2 + b^2 = c^2
>
> but during compilation I get
>
>     Exception occurred: File
>     "/home/boris/.local/lib/python2.7/site-packages/docutils/nodes.py",
>     line 1664, in unknown_departure % (self.__class__,
>     node.__class__.__name__)) NotImplementedError:
>     sphinx.writers.html.HTMLTranslator departing unknown node type:
>     displaymath The full traceback has been saved in
>     /tmp/sphinx-err-hi2qJ2.log, if you want to report the issue to the
>     developers. Please also report this if it was a user error, so that
>     a better error message can be provided next time. Either send bugs
>     to the mailing list at
>     <http://groups.google.com/group/sphinx-users/>, or report them in
>     the tracker at <http://bitbucket.org/birkenfeld/sphinx/issues/>.
>     Thanks! make: *** [html] Error 1
>
> Does anyone succedeed in making use of the extension?
>

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sphinx-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to