From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Lundin Subject: Anchors/targets in org-export/publish Date: Thu, 13 Nov 2008 10:36:41 -0600 Message-ID: <874p2blh0m.fsf@fastmail.fm> 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 1L0fBV-0007wU-Gy for emacs-orgmode@gnu.org; Thu, 13 Nov 2008 11:36:45 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L0fBT-0007vy-Ou for emacs-orgmode@gnu.org; Thu, 13 Nov 2008 11:36:44 -0500 Received: from [199.232.76.173] (port=46673 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L0fBT-0007vt-FW for emacs-orgmode@gnu.org; Thu, 13 Nov 2008 11:36:43 -0500 Received: from out5.smtp.messagingengine.com ([66.111.4.29]:60466) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L0fBT-0007P2-Mm for emacs-orgmode@gnu.org; Thu, 13 Nov 2008 11:36:43 -0500 Received: from matt-desktop (vu019215.valpo.edu [152.228.168.123]) by mail.messagingengine.com (Postfix) with ESMTPA id CC81F46B70 for ; Thu, 13 Nov 2008 11:36:39 -0500 (EST) 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@gnu.org Question about org-export: I'd like to create invisible radio targets to html anchor links using org-export. E.g., # <> should become Currently, however, there are a couple of behaviors of org-exp.el that make this difficult. 1) Org-export does convert invisible targets, but it puts paragraph tags around the anchor, thus creating an empty line in the html export, which messes up the layout.

 

2) If the commented radio target is directly beneath or above a headline, it is not exported. I checked org-exp.el and this seems to be an intentional behavior. I'm not sure I understand the reasons behind this, as it prevents one from giving custom anchors to headlines. This is especially important if one wants to be able to create permalinks to headlines from other pages. Thanks. Any feedback would be greatly appreciated. Matt