[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: stability of toc links
From: |
Samuel Wales |
Subject: |
Re: stability of toc links |
Date: |
Wed, 9 Dec 2020 14:25:14 -0700 |
just so everybody is on the same page, i think carsten is talking
about tec's code that generates html id's that are then used in urls?
imo great idea.
On 12/9/20, Carsten Dominik <dominik@uva.nl> wrote:
> I think we should merge this code into Org.
>
> Kind regards
>
> Carsten
>
> On Wed, Dec 9, 2020 at 3:54 AM TEC <tecosaur@gmail.com> wrote:
>
>>
>> Hi Sam, link stability is a concern I've had too. I currently have a fix
>> (or at the very least, an improvement) for this in my config where I
>> overwrite org-export-get-reference. (see:
>> https://tecosaur.github.io/emacs-config/config.html#nicer-generated-heading
>> ).
>>
>> I raised this on the list a while ago ---
>> https://orgmode.org/list/E1jxAjq-0004Dk-LH@lists.gnu.org/ but there
>> didn't seem to be much interest.
>>
>> All the best,
>> Timothy
>>
>> Samuel Wales <samologist@gmail.com> writes:
>>
>> > when you link to a section using toc, you get a link like
>> >
>> >
>> https://thekafkapandemic.blogspot.com/2020/02/crimes-against-humanity_3.html#org080f0ab
>> >
>> > will these links break if somebody copies them and pastes them
>> > elsewhere? what if you add a section?
>> >
>> > there doesn't seem to be a perfect solution, short of adding custom id
>> > or id to everything, but perhaps a fuzzy hash of the header and
>> > contents of the section could be used? or a strict hash of the
>> > header? is anything like this being done? just curious.
>>
>>
>>
>
--
The Kafka Pandemic
Please learn what misopathy is.
https://thekafkapandemic.blogspot.com/2013/10/why-some-diseases-are-wronged.html
- stability of toc links, Samuel Wales, 2020/12/08
- Re: stability of toc links, Samuel Wales, 2020/12/08
- Re: stability of toc links, TEC, 2020/12/08
- Re: stability of toc links, Diego Zamboni, 2020/12/09
- Re: stability of toc links, Carsten Dominik, 2020/12/09
- Re: stability of toc links,
Samuel Wales <=
- Re: stability of toc links, Carsten Dominik, 2020/12/10
- Re: stability of toc links, TEC, 2020/12/10
- Re: stability of toc links, TEC, 2020/12/10
- Re: stability of toc links, Carsten Dominik, 2020/12/11
- Re: stability of toc links, Carsten Dominik, 2020/12/19
- Re: stability of toc links, Ihor Radchenko, 2020/12/19
- Re: stability of toc links, Dominique Dumont, 2020/12/14