Bugs item #3368872, was opened at 2011-07-16 10:45
Message generated for change (Comment added) made by milde
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=422030&aid=3368872&group_id=38414
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
>Resolution: Out of Date
Priority: 2
Private: No
Submitted By: sirex ()
Assigned to: Nobody/Anonymous (nobody)
Summary: Styling figure
Initial Comment:
If I user :figwidth: image option, then in generated html I get figure div width, without units, just number. I use HTML5 doctype and Firefox 5.0, and this number, without any unit is not recognized.
I think, that this:
<div class="figure" style="width: 123">
Should be changed to:
<div class="figure" style="width: 123px">
At least for me this change solves problem.
----------------------------------------------------------------------
>Comment By: Günter Milde (milde)
Date: 2012-01-23 03:55
Message:
I closed the bug for now, as I cannot reproduce without a minimal example.
Please reopen (with a minimal example: input+output+command line
arguments), if the problem persists.
----------------------------------------------------------------------
Comment By: Günter Milde (milde)
Date: 2011-07-20 14:33
Message:
I can't reproduce the problem: on my devel version, the input ::
.. figure:: wasistad.pdf
:figwidth: 23
produces the HTML element::
<div class="figure" style="width: 23px">
<img alt="wasistad.pdf" src="wasistad.pdf" />
</div>
with the default unit px added.
Please add a minimal example (rst-input, html-output) that shows the
problem.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=422030&aid=3368872&group_id=38414
|