From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: org-html-list-of-tables ODD BEHAVIOR in producing in html export a hyperlinked table of figures to result tables Date: Mon, 08 Aug 2016 14:35:24 +0200 Message-ID: <878tw7a16b.fsf@saiph.selenimh> References: <829050e635aa466994d8b7dfd27173b5@exchsrv2.sgc.loc> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41412) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWjmD-0001tM-4y for emacs-orgmode@gnu.org; Mon, 08 Aug 2016 08:35:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bWjm8-00046Q-41 for emacs-orgmode@gnu.org; Mon, 08 Aug 2016 08:35:28 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:40795) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWjm7-00046J-T2 for emacs-orgmode@gnu.org; Mon, 08 Aug 2016 08:35:24 -0400 In-Reply-To: <829050e635aa466994d8b7dfd27173b5@exchsrv2.sgc.loc> (Malcolm Cook's message of "Wed, 3 Aug 2016 23:06:57 +0000") 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" To: "Cook, Malcolm" Cc: "'emacs-orgmode@gnu.org'" Hello, "Cook, Malcolm" writes: > I understand that Including in my org file: > > #+TOC: tables > > Produces a list of all captioned tables in my document. > > If the table lacks a caption, it does not appear in the list of tables. > > Alas, they are not hyperlinked to the table unless I add a #+NAME > directive. Only named tables are anchored. There is nothing to link to from the list of tables if there is no name. We could add anchors to all tables and all code blocks to circumvent this, but I'm not sure this is necessary. > Oddly, the #+NAME: may even be empty, and the hyperlink is created. The empty string is, at the moment, a valid name. Corner cases are usually not satisfactory either way. > Further oddly, even if the #+NAME is empty, its actual value is > ignored.... it is not used as the anchor. Correct. Org provides its own internal labels. #+NAME is for user consumption, when you want to write, e.g., [[name]] > Is all this by design? More or less, yes. Do you see any room for improvement? Regards, -- Nicolas Goaziou