[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] behavior of org-image-actual-size with units in attr_* :width
From: |
Nicolas Goaziou |
Subject: |
Re: [O] behavior of org-image-actual-size with units in attr_* :width |
Date: |
Fri, 03 Oct 2014 10:03:17 +0200 |
Hello,
John Kitchin <address@hidden> writes:
> Nicolas Goaziou <address@hidden> writes:
>
> is it the case that ATTR_HTML width attributes are only in pixels?
No, but it's the only export back-end dedicated to on-screen display.
So, in-buffer width is probably only meaningful there.
> If so, that is certainly an easier modification to make, and would
> solve my problem (we almost exclusively use attr_latex for that
> export).
>
> Your comment inspired me to solve it this way:
>
> #+attr_latex: :width 4in :placement [H]
> #+attr_org: :width 400
> [[./images/batch-multiple.png]]
>
>
> For inline images, the attr_org is found first, but in latex export it
> is ignored and it gets the width there.
>
> Maybe no change is needed at all.
It works but is certainly hackish.
Regards,
--
Nicolas Goaziou