From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Unexpected link behavior after exporting Org-mode file to HTML Date: Thu, 18 Sep 2014 22:11:06 +0200 Message-ID: <87oauc8zad.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59488) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XUi2L-00041Y-4v for emacs-orgmode@gnu.org; Thu, 18 Sep 2014 16:10:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XUi2C-0001j6-Ro for emacs-orgmode@gnu.org; Thu, 18 Sep 2014 16:10:40 -0400 Received: from relay5-d.mail.gandi.net ([2001:4b98:c:538::197]:44837) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XUi2C-0001gO-I8 for emacs-orgmode@gnu.org; Thu, 18 Sep 2014 16:10:32 -0400 In-Reply-To: (Bruce Gilstrap's message of "Thu, 18 Sep 2014 10:09:12 -0500") 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: Bruce Gilstrap Cc: emacs-orgmode@gnu.org Hello, Bruce Gilstrap writes: > I am running Org-mode 8.2.7c in Emacs 24.3.1 on Windows 7 Ultimate and > have encountered a peculiarity with how links work in HTML exported > from Org-mode. I searched gmane.emacs.orgmode to see if someone else > has reported this before, but I didn't find anything exactly like > this. Please pardon me if I have missed something. > > I have used org-id extensively to assign unique IDs to headings in > Org-mode files (stored in the :PROPERTIES: drawer of the heading). > Before the new exporter framework was introduced in Org-mode 8.0 all > of these links worked without issue: no matter the level of the > heading's hierarchy, exported-HTML ID-based links worked fine. > However, using the new exporter framework produces different results. > Now, ID-based links always fail when the target heading lies at a > level below the headline level defined in the export settings, which > defaults to level 3 (H:3). Note: This is true only for the exported > HTML; ID-based links work perfectly within Emacs. This should be fixed. Thank you for reporting it. Regards, -- Nicolas Goaziou