Hi Fiona, 

Thank you for example files. I found the behavior is a bug of Sphinx.

If you specify both :nowrap: and :label: option at the same time,
we can't reference the equation even if labeled.

I fixed it at stable branch. So it will be fixed in next stable release.

Sorry for inconvenience. And thank you for good report.

Thanks,
Takeshi KOMIYA

2016年8月31日水曜日 10時18分54秒 UTC+9 Komiya Takeshi:
>
> Hi, 
>
> Yes, please :-)
>
> Takeshi KOMIYA
>
> 2016年8月31日水曜日 8時27分55秒 UTC+9 Fiona Hanington:
>>
>> Hi
>> I am having trouble posting a zip file. Can I send to you directly?
>> Fiona
>>
>> On Monday, 29 August 2016 19:30:40 UTC-7, Komiya Takeshi wrote:
>>>
>>> Hi,
>>>
>>> Did you try to reference equations between different document?
>>> If true, current release does not support it. Please wait next major 
>>> release.
>>>
>>> Otherwise it's strange. Could you share any example of your docs?
>>> It seems the code you pasted here includes needless spaces.
>>> I want to see actually used document.
>>>
>>> Thanks,
>>> Takeshi KOMIYA
>>>
>>> 2016年8月30日火曜日 6時24分41秒 UTC+9 Fiona Hanington:
>>>>
>>>> hi there - I am having trouble getting xrefs to equations to work. 
>>>>  googling lead me here: 
>>>> http://www.sphinx-doc.org/en/stable/ext/math.html#module-sphinx.ext.mathbase,
>>>>  
>>>> which shows this example
>>>>
>>>>
>>>> .. math:: e^{i\pi} + 1 = 0
>>>>  : label: euler
>>>>
>>>> Euler's identity, equation :eq:`euler`, was elected one of the most
>>>> beautiful mathematical formulas. (edited)
>>>>
>>>>
>>>> but when I build a PDF, I get (??) instead of the equ number.
>>>>
>>>>
>>>> My extensions are: extensions = ['sphinx.ext.autodoc',
>>>>             'sphinx.ext.doctest',
>>>>             'sphinx.ext.intersphinx',
>>>>             'sphinx.ext.todo',
>>>>             'sphinx.ext.ifconfig',
>>>>             'sphinx.ext.viewcode',
>>>>             'sphinx.ext.mathjax']
>>>>
>>>>
>>>> any ideas what's going wrong here?  thanks in advance
>>>>
>>>> Fiona
>>>>
>>>

-- 
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