Issues

Issue #372 resolved

LaTeX: doesn't create hyperlinks to images

eudoxos
created an issue

Following the pypy docs at http://packages.python.org/an_example_pypi_project/sphinx.html#images, I insert image like

{{{ .. _img-yade-iter-loop: .. figure:: fig/yade-iter-loop.*

In this sentence, I refer to img. img-yade-iter-loop_, blah etc. }}}

It works fine in HTML (as shown in the referenced pypy example itself), but not in LaTeX, of which source contains

{{{ In this sentence, I refer to img. img-yade-iter-loop, blah etc. }}}

(without the trailing _).

Moreover, the anchor (\label) is placed oudside the figure environment, for which \ref will not generate correct latexly reference text (i.e. the figure number).

Comments (2)

  1. Log in to comment