Hello,

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

> I have set this in my init file
>
> (setq org-image-actual-width '(600))
>
> It works great, unless I use:
> #+attr_latex: :width 4in
>
> This makes my images 4 inches wide in LaTeX, but it sets my images to
> approximately 4 pixels wide!
>
> I feel like it is worth modifying the regexp that gets the width to
> catch these cases and fall back on the variable value when they
> exist. Any thoughts?

I wonder if this kludge makes any sense in the general case. As you
noticed, units given in a LaTeX attributes line will probably be
different from pixels.

What about limiting the regexp to ATTR_HTML lines only?


Regards,

-- 
Nicolas Goaziou

Reply via email to