[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] HTML export: links to internal anchors fail when using labels
From: |
Christian Moe |
Subject: |
Re: [O] HTML export: links to internal anchors fail when using labels |
Date: |
Thu, 09 May 2013 15:24:35 +0200 |
User-agent: |
mu4e 0.9.9.5-dev6; emacs 24.3.1 |
Hi,
Targets like <<myanchor>> used to export to the visible text "myanchor",
so a comment line like
# <<myanchor>>
was needed to hide them. This is no longer the case, and commented
targets are neither necessary, nor do they work. (This change has been
extensively discussed on the list, I think, but perhaps the docs should
make it clearer.)
This now works:
<<myanchor>>Here is some target text.
...
[[myanchor][This is a link.]]
Yours,
Christian
Stefan Vollmar writes:
> Hallo,
>
> with a current version of Org-mode (release_8.0.2-101-gce5988) this seems to
> generate a link when exporting to HTML (as documented and expected):
>
> # <<myanchor>>
> ...
> [[myanchor]] something
>
>
> However, in the following example no link is generated and the text that
> should be the link's label (here: "abc") is set in italic:
>
> # <<myanchor>>
> ...
> [[myanchor][abc]]
>
> This looks like a bug to me.
> Many thanks in advance for any help with this.
>
> Warm regards,
> Stefan