Hello,

John Kitchin <jkitc...@andrew.cmu.edu> writes:

> Nicolas Goaziou <m...@nicolasgoaziou.fr> 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

Reply via email to