* org-export-resolve-id-link
@ 2016-06-10 20:29 Fabrice Popineau
2016-06-10 21:51 ` org-export-resolve-id-link Nicolas Goaziou
0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Popineau @ 2016-06-10 20:29 UTC (permalink / raw)
To: emacs-orgmode@gnu.org
[-- Attachment #1: Type: text/plain, Size: 480 bytes --]
Again in the need of some hint.
I am exporting some subtree.
There is a custom_id pointing in the same org
file but outside of the subtree.
* Foo
:PROPERTIES:
:CUSTOM_ID: foo
:END:
Lorem ipsum...
* Bar
[[#foo]]
When I try to export the second subtree, I get
an error from #'org-export-resolve-id-link.
(user-error Unable to resolve link: "foo")
What is the easiest way to trap this error
so that I can compute something myself for this link ?
Thanks in advance.
Fabrice
[-- Attachment #2: Type: text/html, Size: 884 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: org-export-resolve-id-link
2016-06-10 20:29 org-export-resolve-id-link Fabrice Popineau
@ 2016-06-10 21:51 ` Nicolas Goaziou
0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2016-06-10 21:51 UTC (permalink / raw)
To: Fabrice Popineau; +Cc: emacs-orgmode@gnu.org
Hello,
Fabrice Popineau <fabrice.popineau@gmail.com> writes:
> Again in the need of some hint.
>
> I am exporting some subtree.
> There is a custom_id pointing in the same org
> file but outside of the subtree.
>
> * Foo
> :PROPERTIES:
> :CUSTOM_ID: foo
> :END:
>
> Lorem ipsum...
>
> * Bar
>
> [[#foo]]
>
> When I try to export the second subtree, I get
> an error from #'org-export-resolve-id-link.
>
> (user-error Unable to resolve link: "foo")
>
> What is the easiest way to trap this error
> so that I can compute something myself for this link ?
With a recent version (i.e., development), you can have a look to
`org-export-with-broken-links'.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-06-10 21:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-10 20:29 org-export-resolve-id-link Fabrice Popineau
2016-06-10 21:51 ` org-export-resolve-id-link Nicolas Goaziou
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).