From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Meyer Subject: Re: Searching for a headline Date: Sun, 26 Feb 2017 18:54:59 +0100 Message-ID: <573a07d1-1d0f-20e0-fc52-eadf5f46955d@ofosos.org> References: <87efylt1jg.fsf@nicolasgoaziou.fr> <51288adb-b5c7-5850-6a8e-01aa536c43f5@ofosos.org> <8737f0ucs0.fsf@nicolasgoaziou.fr> <8baa10bf-12ce-04b0-f0fd-b6322909433f@ofosos.org> <874lzgg8tr.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56646) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ci32G-0001FB-Vr for emacs-orgmode@gnu.org; Sun, 26 Feb 2017 12:55:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ci32D-000153-VX for emacs-orgmode@gnu.org; Sun, 26 Feb 2017 12:55:05 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:46611) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ci32D-00013b-Qj for emacs-orgmode@gnu.org; Sun, 26 Feb 2017 12:55:01 -0500 In-Reply-To: <874lzgg8tr.fsf@nicolasgoaziou.fr> 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: Nicolas Goaziou Cc: emacs-orgmode On 02/26/17 18:28, Nicolas Goaziou wrote: > I don't know the EPUB exporter. You probably could modify the Org source > itself instead of the output. I wrote it yesterday, the code's up at https://github.com/ofosos/org-epub it's a little crufty, because I did write it for org 8 initially. Hmm, I have to think about it. I would like to either have a 1:1 mapping between the elements `org-element' delvers and the links the export backend generates or create a function that runs before the export that generates :custom_id properties for every element that doesn't have one. This was easier in org 8, since every internal link was just something like `sec-8-2'. Thanks for you quick replies. Cheers, Mark -- Mark Meyer mark@ofosos.org