From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Rose Subject: HTML export: internal links broken Date: Wed, 26 Mar 2008 23:50:20 +0100 Message-ID: <87r6dxqevn.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JeeSA-0008TG-Qi for emacs-orgmode@gnu.org; Wed, 26 Mar 2008 18:50:42 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JeeS9-0008Sy-FO for emacs-orgmode@gnu.org; Wed, 26 Mar 2008 18:50:42 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JeeS9-0008Sv-9q for emacs-orgmode@gnu.org; Wed, 26 Mar 2008 18:50:41 -0400 Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1JeeS8-0005tR-Ph for emacs-orgmode@gnu.org; Wed, 26 Mar 2008 18:50:41 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode Mailinglist There is small bug in the XHTML export. Internal links point to nowhere. * Example *** In the orgfile: This [[Some Heading][Link]] should link to '*** Some Heading'. *** After export, HTML file: This Link should link to '*** Some Heading'. There is no anchor defined with that name in the exported HTML. There are two possibilities to change this: 1) define the anchor next to the heading: 2) If the link pionts to a heading, use the ID of the heading in the link: ... Link to '*** Some Heading'. The second one is the one I would prefer, but that would mean to handle links to headings differently from links to user defined anchors. But it would keep the nesting of section containers clean. Regards, Sebastian