#29 image vertical alignment is reversed

closed-accepted
None
5
2008-08-22
2006-04-21
Edward Loper
No

The 'alignment' attribute for images has opposite
effects in the html writer & the latex writer. I
believe that the HTML writer is correct & the latex
writer is wrong. This patch reverses the effect of
align='top' and align='bottom' in the latex writer.
The following test file will demonstrate the problem,
when run with the latex & html writers, and an
appropriate image file.

test |image| test

.. |image| image:: image.png
:align: top

Discussion

  • Edward Loper
    Edward Loper
    2006-04-24

    Logged In: YES
    user_id=195958

    Forgot to check the box next to 'upload file'

     
  • Logged In: YES
    user_id=147070
    Originator: NO

    patch applied. but top now means "the top of the image is aligned to the baseline" . this does not look nice to me i would try for "the top of the image is aligned to the topline of text"

     
    • assigned_to: nobody --> grubert
    • status: open --> closed-accepted