From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: "Cook, Malcolm" <MEC@stowers.org>
Cc: "'emacs-orgmode@gnu.org'" <emacs-orgmode@gnu.org>
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 [thread overview]
Message-ID: <878tw7a16b.fsf@saiph.selenimh> (raw)
In-Reply-To: <829050e635aa466994d8b7dfd27173b5@exchsrv2.sgc.loc> (Malcolm Cook's message of "Wed, 3 Aug 2016 23:06:57 +0000")
Hello,
"Cook, Malcolm" <MEC@stowers.org> 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
prev parent reply other threads:[~2016-08-08 12:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-03 23:06 org-html-list-of-tables ODD BEHAVIOR in producing in html export a hyperlinked table of figures to result tables Cook, Malcolm
2016-08-08 12:35 ` Nicolas Goaziou [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878tw7a16b.fsf@saiph.selenimh \
--to=mail@nicolasgoaziou.fr \
--cc=MEC@stowers.org \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.