Re: [sphinx-users] :numref: numbering of Figures in PDF (XeLatex) - error: WARNING: no number is assigned

2017-05-11 Thread Komiya Takeshi
The warning is emitted by Sphinx. So preamble.tex code is not related with the problem. It is caused by only reST notation. Thanks, Takeshi KOMIYA 2017-05-11 21:35 GMT+09:00 Barbara Pilbin : > Thank you so much for trying. It seems like it works for lots of other >

Re: [sphinx-users] :numref: numbering of Figures in PDF (XeLatex) - error: WARNING: no number is assigned

2017-05-11 Thread Barbara Pilbin
Thank you so much for trying. It seems like it works for lots of other people. It makes me wonder if I have something in my preamble.tex or config.py doing something I don't know or understand. I will work on trying to make something small and shareable. (When I get something together, I

[sphinx-users] Conditional text in a template

2017-05-11 Thread Tzach Livyatan
Hello I have a template rst file I'm including from different places. I want to make part of the template optional and to be visible only if included from a spesfic file. My naive approach was to use .. only:: java8install in the included template file, and :java8install: True In the file

Re: [sphinx-users] :numref: numbering of Figures in PDF (XeLatex) - error: WARNING: no number is assigned

2017-05-11 Thread Komiya Takeshi
Hi Barbara, I'd tried to reproduce your problem, but I could not. on my local, it is able to refer the figures. Could you share your project or provide minimal reproducible one? If possible, it would be nice if you file this into our issues list. https://github.com/sphinx-doc/sphinx/issues

Re: [sphinx-users] Which files are involved in search results?

2017-05-11 Thread Komiya Takeshi
Hi, The behavior was also discussed at #3691. It is a breaking change of Sphinx-1.5. https://github.com/sphinx-doc/sphinx/issues/3691 So far, I would not change the behavior. It is required to support multiple mark-ups (like reST, markdown and others). So it is better if