From: Christian Moe <mail@christianmoe.com>
To: Stefan Vollmar <vollmar@nf.mpg.de>
Cc: Org-mode Mailing List <emacs-orgmode@gnu.org>
Subject: Re: HTML export: links to internal anchors fail when using labels
Date: Thu, 09 May 2013 15:24:35 +0200 [thread overview]
Message-ID: <m2obckwajw.fsf@vpn-client437.uio.no> (raw)
In-Reply-To: <89A8D741-AD13-4294-BA42-37B5101A668A@nf.mpg.de>
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
next prev parent reply other threads:[~2013-05-09 13:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-09 12:56 HTML export: links to internal anchors fail when using labels Stefan Vollmar
2013-05-09 13:24 ` Christian Moe [this message]
2013-05-09 13:51 ` Stefan Vollmar
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2obckwajw.fsf@vpn-client437.uio.no \
--to=mail@christianmoe.com \
--cc=emacs-orgmode@gnu.org \
--cc=vollmar@nf.mpg.de \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).