[issue2794] Figure directive not handled for latex writing in Sphinx

2008-05-08 Thread Ali Afshar
New submission from Ali Afshar <[EMAIL PROTECTED]>: .. figure:: directive is not handled when writing to latex, and this directive seems the only way to have a captioned image in rst. I have added a patch that simply handles the figure, and captions. Note that figures have an addi

[issue2747] Documentation of new gobject types fails

2008-05-03 Thread Ali Afshar
Ali Afshar <[EMAIL PROTECTED]> added the comment: I have managed to reduce the bug to a tiuny test case. It seems that this only happens when calling automodule directive on a package, with code in __init__.py which registers a new GType. Moving the code to a a regular module inside a p

[issue2747] Documentation of new gobject types fails

2008-05-03 Thread Ali Afshar
New submission from Ali Afshar <[EMAIL PROTECTED]>: When using the automodule directive on a module that creates new Gobject types (eg custom PyGTK widget), the implicit registration of the imported types fail. (Normally any GObject subclass which has a __gtype_name__ attribute is automat