Hi Felix, Il giorno Tue, 15 Feb 2011 16:29:55 -0800 (PST) Felix Hummel <hummel.fe...@googlemail.com> ha scritto:
> Hi, > > is there some "sphinxy" way for the Latex builder to get a figure's > name like "Figure 1.1" and not its caption? > > If not: Is there *any* way? > > To make it clean, let me give you an example from the Sphinx docs > [#1]_. > > Suppose we have a figure:: > > .. _my-figure: > > .. figure:: whatever > > Figure caption > > .. [#1] > http://sphinx.pocoo.org/markup/inline.html?highlight=figure#role-ref > > and a reference like:: > > :ref:`my-figure` > > then this reference would yield "Figure Caption". > > I'd like to have "Figure 1.1" (assuming we are in section 1). Maybe > this is just something I overlooked. At best of my knowledge there is no way to do it currently. I would like a lot to have feature like this and also in the past someone asked for it. Probably it would be a good idea to file a ticket for a feature request. ciao -- Antonio Valentino -- 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.