From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: Bug: HTML export ignoring CUSTOM_ID properties Date: Fri, 17 Apr 2015 02:20:59 +0200 Message-ID: <87lhhrr4es.fsf@gmx.us> References: <87wq1bfypx.fsf@jack.tftorrey.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60632) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yiu1y-0002Gj-8s for emacs-orgmode@gnu.org; Thu, 16 Apr 2015 20:21:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yiu1v-0004aS-3L for emacs-orgmode@gnu.org; Thu, 16 Apr 2015 20:21:14 -0400 Received: from plane.gmane.org ([80.91.229.3]:41905) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yiu1u-0004aJ-SV for emacs-orgmode@gnu.org; Thu, 16 Apr 2015 20:21:11 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Yiu1q-000344-4h for emacs-orgmode@gnu.org; Fri, 17 Apr 2015 02:21:06 +0200 Received: from 46.166.188.202 ([46.166.188.202]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 17 Apr 2015 02:21:06 +0200 Received: from rasmus by 46.166.188.202 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 17 Apr 2015 02:21:06 +0200 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: emacs-orgmode@gnu.org Hi, tftorrey@tftorrey.com (T.F. Torrey) writes: > With the latest from Git master, the HTML export ignores CUSTOM_ID > properties for subtrees. I've seen list traffic that the names of the > export ID's are being changed, but this is not intentional, right? It doesn't ignore it, but it is translate to a generic anchor as needed. Previously, both a generic anchor and the custom_id would be inserted in html. E.g. for a headline with id "h1":

The problem is that we don't know that h1 is unique. However, in html custom_id serves as an important measure to facilitate css customization, e.g. on a section level-basis. Thus, I think it is a bug, unless there is a better way to allow per-section css. I will look at this later unless somebody beets me to it. —Rasmus -- Send from my Emacs