Water Lin <water...@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 

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to