Did you define (or un-define) the numfig_format in your conf.py?

numfig_format = {'figure': 'Figure %s',
                 'table': 'Table %s',
                 'code-block': 'Code %s',
                }



On Wednesday, August 10, 2016 at 5:53:14 PM UTC-7, Warren Block wrote:
>
> Trying to figure out where an extra "Figure 1" is appearing in figure 
> captions.  For example 
>
>    :numref:`Figure %s <fig1>` shows what we are talking about. 
>
>    .. _fig1 
>
>    .. figure:: images/sample.png 
>
>       Sample Caption 
>
> The HTML produced (wrapped for clarity): 
>
> <p class="caption"> 
>    <span class="caption-number">Fig. 3.1.1 </span> 
>    <span class="caption-text">Figure 1: Sample Caption</span> 
> </p> 
>
> conf.py just has 
>
>    numfig = True 
>    numfig_secnum_depth = (2) 
>
> I don't see "Figure" in the CSS. 
>
> Any idea on where that extra "Figure 1:" is coming from? 
>
> Thanks! 
>

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to