From: Sebastian Rose <sebastian_rose@gmx.de>
To: Water Lin <WaterLin@sohu.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Can I change the link name in TOC?
Date: Tue, 09 Nov 2010 10:47:50 +0100 [thread overview]
Message-ID: <87sjzaltfd.fsf@gmx.de> (raw)
In-Reply-To: <84mxpjkwi7.fsf@sohu.com> (Water Lin's message of "Tue, 09 Nov 2010 11:26:40 +0800")
Water Lin <WaterLin@sohu.com> writes:
> While I generate the table of content of my org file, the link of each
> sub-title will be something like #sec-2.2
>
> But when I change the sequence of the title, the anchor will be changed.
>
> I want to maintain permalinks for each anchors. Is it possbile to change
> the #sec-2.2 into something like #test-keywords?
>
> BTW: I am using Chinese for my sub-title, so I think use the title words
> for anchor is not suitable.
>
> Thanks
>
> Water Lin
This is, what custom IDs are for:
--8<---------------cut here---------------start------------->8---
* Headline
:PROPERTIES:
:CUSTOM_ID: myID
:END:
--8<---------------cut here---------------end--------------->8---
Now refer to to "Headline" like this:
<a href="my-file.html#myID">Headline</a>
Sebastian
prev parent reply other threads:[~2010-11-09 9:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-09 3:26 Can I change the link name in TOC? Water Lin
2010-11-09 9:47 ` Sebastian Rose [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=87sjzaltfd.fsf@gmx.de \
--to=sebastian_rose@gmx.de \
--cc=WaterLin@sohu.com \
--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.