[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org c12a159 78/85: ORG-NEWS: Mention proportional image
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org c12a159 78/85: ORG-NEWS: Mention proportional image width display |
Date: |
Mon, 27 Sep 2021 15:57:55 -0400 (EDT) |
branch: externals/org
commit c12a159094eb749495e7cf9db629368b102a9a11
Author: TEC <tec@tecosaur.com>
Commit: TEC <tec@tecosaur.com>
ORG-NEWS: Mention proportional image width display
---
etc/ORG-NEWS | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/etc/ORG-NEWS b/etc/ORG-NEWS
index 375b867..53915d8 100644
--- a/etc/ORG-NEWS
+++ b/etc/ORG-NEWS
@@ -259,6 +259,23 @@ package, to convert pandas Dataframes into orgmode tables:
| 2 | 3 | 6 |
#+end_src
+*** Display images with width proportional to the buffer text width
+
+Previously, if you used a =:width= attribute like =#+attr_html: :width 70%= or
+=#+attr_latex: :width 0.7\linewidth= this would be interpreted as a 70px wide
and
+0.7px wide width specification respectively.
+
+Now, percentages are transformed into floats (i.e. 70% becomes 0.7),
+and float width specifications between 0.0 and 2.0 are now interpreted
+as that portion of the text width in the buffer. For instance, the
+above examples of =70%= and =0.7\linewidth= will result in an image
+with width equal to the pixel-width of the buffer text multiplied by 0.7.
+
+This functionality is implemented in a new function,
+~org-display-inline-image--width~ which contains the width
+determination logic previously in ~org-display-inline-images~ and the
+new behaviour.
+
** New options
*** Option ~org-hidden-keywords~ now also applies to #+SUBTITLE:
- [elpa] externals/org 98fd6d5 56/85: Remove references to deleted packages, (continued)
- [elpa] externals/org 98fd6d5 56/85: Remove references to deleted packages, ELPA Syncer, 2021/09/27
- [elpa] externals/org 6300e0e 84/85: test-org-protocol.el: Decode "+" to " " tests, ELPA Syncer, 2021/09/27
- [elpa] externals/org 4b7d80c 50/85: Add faces to improve contextuality of agenda views, ELPA Syncer, 2021/09/27
- [elpa] externals/org d74a824 54/85: org.el (org-fontify-extend-region): Fix headline fontification in edge case, ELPA Syncer, 2021/09/27
- [elpa] externals/org 54c2327 49/85: Allow :var header args to be assigned to cons cells, ELPA Syncer, 2021/09/27
- [elpa] externals/org e0535fa 39/85: ob-sql.el (org-babel-expand-body:sql): Support :prologue :epilogue, ELPA Syncer, 2021/09/27
- [elpa] externals/org ef66170 42/85: Merge branch 'bugfix', ELPA Syncer, 2021/09/27
- [elpa] externals/org 578d99b 57/85: lisp/ob-tangle.el: Add variable declaration, ELPA Syncer, 2021/09/27
- [elpa] externals/org c21dceb 61/85: lisp/org.el: Fix some compiler warnings, ELPA Syncer, 2021/09/27
- [elpa] externals/org 41f7609 67/85: ob-core: Make recent change compatible with older Emacs versions, ELPA Syncer, 2021/09/27
- [elpa] externals/org c12a159 78/85: ORG-NEWS: Mention proportional image width display,
ELPA Syncer <=