Hi all,

I'm new to reStructuredText and Sphinx, so it is quite possible that I'm 
doing something wrong but let me explain my problem:


When I use math role following a math directive, generated HTML is 
malformed:

So this .rst:

.. math:: {sp}_{\text{mix}} = \text{ss}*\text{sss}_{2} + \left( 1.0 - 
\text{sss} \right)*\text{sss}_{1}

    :math:`\text{sss}_{\text{sss}} = \text{sss}*s_{2} + \left( 1.0 - 
\text{ss} \right)*s_{1}`
    (gdfgdfgdfgfd)

    :math:`S_{\text{sss}} = \text{ss}*S_{2} + \left( 1.0 - \text{ss} 
\right)*S_{1}`
    (ssssssssssss)

.. math:: {\rho s}_{s} = {\rho s}_{1} + {\rho s}_{2}

Is converted (by Sphinx v1.6.1) to:

<https://lh3.googleusercontent.com/-sOmTS20j_Ao/WRxbW_yIYEI/AAAAAAAAaaA/qmnirzrINFAdV0QfvEcDDb0Rb21QFR2EwCLcB/s1600/Capture.PNG>


Please note how the inline formulas are not rendered correctly. I have 
noticed that if I delete the first formula on the first line, following 
(inline) formulas are rendered correctly.


Can someone tell me if I'm doing something wrong or if this is a bug in 
Sphinx?

Regards,

-- 
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 https://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to