[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: |
Wed, 01 Oct 2014 21:26:42 +0200 |
Hello,
John Kitchin <address@hidden> 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
- Re: [O] behavior of org-image-actual-size with units in attr_* :width,
Nicolas Goaziou <=