From: Kaushal Modi <kaushal.modi@gmail.com>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: emacs-org list <emacs-orgmode@gnu.org>
Subject: Re: Help resolving CUSTOM_ID based links that point to outside current subtree scope
Date: Tue, 01 Aug 2017 11:08:00 +0000 [thread overview]
Message-ID: <CAFyQvY1gggZUFYvVw19tKCVMX2EoNDcfYv_6FW307_15=-6tzQ@mail.gmail.com> (raw)
In-Reply-To: <87tw1rsnhm.fsf@nicolasgoaziou.fr>
[-- Attachment #1: Type: text/plain, Size: 569 bytes --]
On Tue, Aug 1, 2017, 4:26 AM Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
>
> I guess you could write a function that changes custom ID links into
> external links prior to export, e.g., within
> `org-export-before-parsing-hook'.
>
If I understand correctly, it would mean replacing "[[#link]]" with
"[[./current-file.org::#link]]"? (I haven't yet verified if that
#+INCLUDE-like syntax works for links too.)
Also, I am working on implementing this in an exporter backend. So what
would be the canonical way to do that in ox-foo.el?
Thanks.
> --
Kaushal Modi
[-- Attachment #2: Type: text/html, Size: 1168 bytes --]
next prev parent reply other threads:[~2017-08-01 11:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-28 19:17 Help resolving CUSTOM_ID based links that point to outside current subtree scope Kaushal Modi
2017-07-28 19:19 ` Kaushal Modi
2017-08-01 8:25 ` Nicolas Goaziou
2017-08-01 11:08 ` Kaushal Modi [this message]
2017-08-01 16:46 ` Nicolas Goaziou
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='CAFyQvY1gggZUFYvVw19tKCVMX2EoNDcfYv_6FW307_15=-6tzQ@mail.gmail.com' \
--to=kaushal.modi@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=mail@nicolasgoaziou.fr \
/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).