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

closed-works-for-me
None
5
2010-03-31
2007-02-19
No

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

Discussion

  • 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
     

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

Sign up for the SourceForge newsletter:





No, thanks