[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals-release/org e266fac: ox-texinfo: Property display image
From: |
ELPA Syncer |
Subject: |
[elpa] externals-release/org e266fac: ox-texinfo: Property display images with relative file names |
Date: |
Fri, 30 Apr 2021 09:57:10 -0400 (EDT) |
branch: externals-release/org
commit e266fac1edb9efab4d7b31c682ff857faff57179
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Commit: Nicolas Goaziou <mail@nicolasgoaziou.fr>
ox-texinfo: Property display images with relative file names
* lisp/ox-texinfo.el (org-texinfo--inline-image): Make sure to remove
leading "./" from file name.
Reported-by: Ramesh Nedunchezian <rameshnedunchezian@outlook.com>
<http://lists.gnu.org/r/emacs-orgmode/2021-04/msg00873.html>
---
lisp/ox-texinfo.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/lisp/ox-texinfo.el b/lisp/ox-texinfo.el
index b9c3f1d..3463544 100644
--- a/lisp/ox-texinfo.el
+++ b/lisp/ox-texinfo.el
@@ -1126,7 +1126,9 @@ current state of the export, as a plist."
(path (org-element-property :path link))
(filename
(file-name-sans-extension
- (if (file-name-absolute-p path) (expand-file-name path) path)))
+ (if (file-name-absolute-p path)
+ (expand-file-name path)
+ (file-relative-name path))))
(extension (file-name-extension path))
(attributes (org-export-read-attribute :attr_texinfo parent))
(height (or (plist-get attributes :height) ""))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals-release/org e266fac: ox-texinfo: Property display images with relative file names,
ELPA Syncer <=