From: Brecht M. <bre...@mo...> - 2015-02-13 21:11:16
|
Hello, I've also been thinking about figure and table numbering. Note that there's already the numfig Sphinx package that could prove useful: http://sourceforge.net/p/numfig/wiki/Home/ On 2015-02-12 13:52:12 +0000, engelbert gruber said: > * add numbering of things into docutils internally for all types/classes > * and let these numbers be accessible The builder should also have access to the element ID's, in case it wants to take care of numbering itself. This is already working well for section numbers. > example:: > > .. figure:: picture.png > :scale: 50 % > :alt: map to buried treasure > > Fig.# This is the caption of the figure (a simple paragraph). I would not include "Fig. #". The backend should add also the "Fig." part. Best regards, Brecht |