From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Searching for a headline Date: Sun, 26 Feb 2017 18:28:48 +0100 Message-ID: <874lzgg8tr.fsf@nicolasgoaziou.fr> References: <87efylt1jg.fsf@nicolasgoaziou.fr> <51288adb-b5c7-5850-6a8e-01aa536c43f5@ofosos.org> <8737f0ucs0.fsf@nicolasgoaziou.fr> <8baa10bf-12ce-04b0-f0fd-b6322909433f@ofosos.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53538) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ci2cv-0003HA-SF for emacs-orgmode@gnu.org; Sun, 26 Feb 2017 12:28:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ci2cu-0004JE-RS for emacs-orgmode@gnu.org; Sun, 26 Feb 2017 12:28:53 -0500 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:45592) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ci2cu-0004It-La for emacs-orgmode@gnu.org; Sun, 26 Feb 2017 12:28:52 -0500 In-Reply-To: <8baa10bf-12ce-04b0-f0fd-b6322909433f@ofosos.org> (Mark Meyer's message of "Sun, 26 Feb 2017 17:58:07 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Mark Meyer Cc: emacs-orgmode Mark Meyer writes: > What do you mean by unique name? Is this a property that is available > via org-element or do I have to set this in the source document? According to its docstring, `org-publish-resolve-external-link' is used to resolve the following links: [[file.org::*heading][description]] [[file.org::#custom-id][description]] [[file.org::fuzzy][description]] It is used by the exporter, and it assumes "file.org" belongs to the publishing project. IOW, if you are not writing an export back-end, this is not the right tool. > I'm trying to link to all the headlines from a table of contents (EPUB > expoerter). Basically I'm using a `:completion-function' to generate all > the meta data and I need to link to most of the headlines down to a > certain level during the toc generation. I don't know the EPUB exporter. You probably could modify the Org source itself instead of the output. Regards,