From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: HTML export ignoring CUSTOM_ID properties Date: Thu, 23 Apr 2015 21:21:29 +0200 Message-ID: <87pp6u1why.fsf@nicolasgoaziou.fr> References: <87twwefwgz.fsf@jack.tftorrey.com> <871tjhwnd0.fsf@gmx.us> <87k2x62gam.wl-n142857@gmail.com> <877ft6aqp2.fsf@nicolasgoaziou.fr> <87h9s63e4p.wl-n142857@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44642) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YlMfR-0000yy-Po for emacs-orgmode@gnu.org; Thu, 23 Apr 2015 15:20:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YlMfQ-0006UU-Pt for emacs-orgmode@gnu.org; Thu, 23 Apr 2015 15:20:09 -0400 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:60690) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YlMfQ-0006QS-Je for emacs-orgmode@gnu.org; Thu, 23 Apr 2015 15:20:08 -0400 In-Reply-To: <87h9s63e4p.wl-n142857@gmail.com> (Daniel Clemente's message of "Fri, 24 Apr 2015 01:15:18 +0700") 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: Daniel Clemente Cc: tftorrey@tftorrey.com, emacs-orgmode@gnu.org, Rasmus Daniel Clemente writes: > While the two systems work, I don't see either why the #orgheadline129 > system is better than the #sec-1-4-3-1-2. Actually is is better because it is consistent. "sec-1-4-3-1-2" is almost as fragile and doesn't play nice with unnumbered headlines. However, this is not the reason why this change was introduced. I explained it already. > Not important enough to justify a breaking change either. This is not really a breaking change. AFAIK, "sec-x.x.x" labelling was never made public. However, you can use CUSTOM_ID to enforce some label and then refer to it. > IDs are not only internal. CSS knows about it, JS too, and URLs can be > built and shared through the web that include org IDs > (myweb.com/somedoc.html#someid). ID not specified by the user are internal. "sec-x-x" is an internal scheme. You can still use CUSTOM_ID for that. Of course, it is also possible to add an anchor with id "sec-x-x" to numbered headlines only (maybe as an opt-in so newcomers can at least read about it). However, I suspect that a filter can do as well. Regards,