[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Can I change the link name in TOC?
From: |
Sebastian Rose |
Subject: |
Re: [Orgmode] Can I change the link name in TOC? |
Date: |
Tue, 09 Nov 2010 10:47:50 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Water Lin <address@hidden> 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