Hi,

I want to make a numref to a container.


.. container::
   :name: mycontainer


     spam eggs




Bar
-----


Let's reference :numref:`mycontainer` .


I want it to appear as "Let's reference Cont. 1" . In my conf.py I put 


numfig_format = {'container': 'Cont. %s'}



But that doesn't seem to work, I get 

WARNING: undefined label: mycontainer

I am wondering how to make numref work on containers and other types.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sphinx-users/f6167e37-ef86-416a-9355-7138bfa82345%40googlegroups.com.

Reply via email to