From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sten Lindner Subject: Re: custom IDs not exported Date: Tue, 1 Nov 2011 18:01:54 +0100 Message-ID: <20111101170154.GC1993@aberdeen> References: <87hb7wq9bc.wl%n142857@gmail.com> <10721.1307848346@alphaville.dokosmarshall.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([140.186.70.92]:45173) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RLHiq-0006Cc-4p for emacs-orgmode@gnu.org; Tue, 01 Nov 2011 13:02:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RLHio-00038F-5U for emacs-orgmode@gnu.org; Tue, 01 Nov 2011 13:02:00 -0400 Received: from smtprelay05.ispgateway.de ([80.67.31.99]:48100) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RLHin-00037j-V5 for emacs-orgmode@gnu.org; Tue, 01 Nov 2011 13:01:58 -0400 Content-Disposition: inline In-Reply-To: <10721.1307848346@alphaville.dokosmarshall.org> 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nick Dokos Cc: org-mode Mailinglist On Sat, Jun 11, 2011 at 11:12:26PM -0400, Nick Dokos wrote: > > I have a minimal patch that I think fixes this problem, but there are > other underscores used in various places in org-html.el so there might > be additional problems. I'd appreciate it if you (and/or others) test it > and report not only on this problem but on any other problems you find. I'm having the same problem when exporting to Docbook, custom IDs are being ignored. For example, when I export some org-mode text using C-c C-e D: * heading1 :PROPERTIES: :CUSTOM_ID: h1 :END: ** heading2 :PROPERTIES: :CUSTOM_ID: h2 :END: some links: - see [[#h1][heading1]] - see [[#h2][heading2]] I' getting the following XML output:
heading1
heading2 some links: see heading1 see heading2
I would expect to see my custom IDs "H1" and "H2" but instead get auto-generated IDs "sec-1" and "sec-1_1". I'm using the latest org-mode version 7.7. best regards, Sten -- Sten Lindner e-mail: s.lindner@stenlindner.de