Thanks Guenter! It works -- and it is better this way. It's sad though figure number extension doesn't support :name:.
On Thursday, August 30, 2012 3:30:25 PM UTC+4, Guenter Milde wrote: > > On 2012-08-28, Boris Kheyfets wrote: > > >> Is it somehow possible to have a figure caption different form the text > of > >> the link to that figure? > > > Oh I found it: > > > See :ref:`link title <figure>`. > > > .. _figure: > > > .. figure:: _static/UnixFileSystem.jpg > > :width: 50% > > :alt: Unix file system > > :align: center > > :name: test name > > > Figure caption > > > The "name" argument should make the preceding target > redundant, try:: > > > See :ref:`link title <figure>`. > > .. figure:: _static/UnixFileSystem.jpg > :width: 50% > :alt: Unix file system > :align: center > :name: figure > > Figure caption > > > Günter > > -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To view this discussion on the web visit https://groups.google.com/d/msg/sphinx-dev/-/tYfn5kq23pQJ. To post to this group, send email to sphinx-dev@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.