#13 HTML Writer: a <div> for .. figure::


Text doesn't flow around a

.. figure:: blah
:align: right

some caption

the same way it does for

.. image:: blah
:align: right

This problem could be fixed by wrapping a <div class="figure-right"> around all such figures (similarly for left-aligned ones) and adding the following to the standard stylesheet:

div.figure-right { float: right; clear: right; }
div.figure-left { float: left; clear: left; }

Right now I have to fake it by wrapping all such figures in

.. class:: figure-right


  • Günter Milde

    Günter Milde - 2010-03-31

    Wrapping around figures works now in firefox, midori, opera, and konqueror.
    Do you still have problems in a different browser?

  • Günter Milde

    Günter Milde - 2010-03-31
    • status: open --> closed-works-for-me

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks