Hi there,

I have custom :yref: role that creates hyperlink to given class
documentation (inserting docutils.nodes.reference node; for exact
definition, see 
http://bazaar.launchpad.net/~eudoxos/%2Bjunk/ydoc/annotate/head%3A/conf.py#L25).
It renders fine in HTML, but in LaTeX, there are no hyperlinks at all.

This is part of ReST (http://bazaar.launchpad.net/~eudoxos/%2Bjunk/
ydoc/annotate/head%3A/arch.rst#L43 for full source)

:yref:`Shape`
        represents particle's geometry (neutral with regards to its spatial
orientation), such as :yref:`Sphere`, :yref:`Facet` or
inifinite :yref:`Wall`; it usually does not change during simulation.

This is generated HTML (https://www.yade-dem.org/sphinx/
arch.html#bodies for the full page)

<dt><a class="reference external"
href="yade.wrapper.html#yade.wrapper.Shape">Shape</a></dt>
<dd>represents particle&#8217;s geometry (neutral with regards to its
spatial orientation), such as <a class="reference external"
href="yade.wrapper.html#yade.wrapper.Sphere">Sphere</a>, <a
class="reference external"
href="yade.wrapper.html#yade.wrapper.Facet">Facet</a> or inifinite <a
class="reference external"
href="yade.wrapper.html#yade.wrapper.Wall">Wall</a>; it usually does
not change during simulation.</dd>

And such is LaTeX:

\item[Shape] \leavevmode
represents particle's geometry (neutral with regards to its spatial
orientation), such as Sphere, Facet or inifinite Wall; it usually does
not change during simulation.

I didn't find anything relevant in 
http://sphinx.pocoo.org/config.html#options-for-latex-output.
Did I overlook something?

I am using about 1 week old shinx-domains branch, patched with
http://www.bitbucket.org/birkenfeld/sphinx/issue/362/patch-crash-at-objects-that-dont-have-__self__
.

Thanks for any help.

Václav

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to sphinx-...@googlegroups.com.
To unsubscribe from this group, send email to 
sphinx-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.

Reply via email to