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

Reply via email to