From: Pablo Palazon <pablo.palazon@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Problems with attachment links in exported files
Date: Sun, 3 Jan 2021 10:12:08 +0100 [thread overview]
Message-ID: <CAOKwhjuHieLP-2=Wbx50gYJLJHQFJ4bhbuYcQaA7o_ZWEMXPuw@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1311 bytes --]
Hi everyone!
I've had a trouble with attachment type link on exporting. I configured
org-attach directory and using org-id and it works great on emacs, all
those links work great. I can see any attach linked on org notes, but in
exported files all those links point to local directory instead of the
right attached folder.
I read this article (
https://vxlabs.com/2020/07/25/emacs-lisp-function-convert-attachment-to-file/)
which talks about that "org-attach-export-link" function will be removed.
I've tried to convert attachment to file links, and it works fine. But I'd
prefer to use attachment links instead of converting them.
I also read this thread (
https://lists.libreplanet.org/archive/html/emacs-orgmode/2020-02/msg00784.html),
but I'm quite sure if all these changes all actually implemented on
org-mode. I tried to use
(add-hook 'org-export-before-parsing-hook 'org-attach-expand-links)
And it works except for inline images, but I don't understand why is not on
org-mode repository code.
Thanks you in advance!. Best regards!
P.D.: I also tried to look up more information about this problem on this
list, I couldn't find anything on the list searcher.
https://lists.gnu.org/archive/cgi-bin/namazu.cgi?query=attachment&submit=Search%21&idxname=emacs-orgmode&max=20&result=normal&sort=score
[-- Attachment #2: Type: text/html, Size: 1948 bytes --]
next reply other threads:[~2021-01-03 9:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-03 9:12 Pablo Palazon [this message]
2021-01-03 20:46 ` Problems with attachment links in exported files Kyle Meyer
2021-01-03 21:53 ` Pablo Palazon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAOKwhjuHieLP-2=Wbx50gYJLJHQFJ4bhbuYcQaA7o_ZWEMXPuw@mail.gmail.com' \
--to=pablo.palazon@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).