[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: stability of toc links
From: |
Nicolas Goaziou |
Subject: |
Re: stability of toc links |
Date: |
Fri, 30 Apr 2021 13:12:19 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Hello,
Samuel Loury <konubinix@gmail.com> writes:
> The publish feature only means exporting several files at once.
You can publish a single file, too. It makes sense when a file is always
exported to the same location, possibly with the same configuration.
> IIUC, what was written was that when using the publish feature, the exported
> html pages will be coherent and a link in one document pointing to
> another document of the same publish call won't be broken.
>
> But IIUC, publishing the whole stuff again will result in totally
> different links. They will still be coherent and no broken link from one
> document of the whole to another. But a browser bookmark pointing the
> published lot the first time won't work with the same lot the second
> time.
>
> Did I understand correctly?
That's correct.
Org provides a mechanism, called `org-export-get-reference', for
creating internal references, which relies on randomness + cache. But it
explicitly removes internal references not actually used from there (see
`org-publish--store-crossrefs'). Keeping those references instead would
make all links stable, of course.
Regards,
--
Nicolas Goaziou
- Re: stability of toc links, (continued)
- Re: stability of toc links, Samuel Wales, 2021/04/21
- Re: stability of toc links, Samuel Wales, 2021/04/21
- Re: stability of toc links, TRS-80, 2021/04/29
- Re: stability of toc links, Samuel Wales, 2021/04/29
- Re: stability of toc links, TRS-80, 2021/04/29
- Re: stability of toc links, Tim Cross, 2021/04/30
- Re: stability of toc links, Samuel Loury, 2021/04/30
- Re: stability of toc links,
Nicolas Goaziou <=
- Re: stability of toc links, Tim Cross, 2021/04/30
- Re: stability of toc links, Greg Minshall, 2021/04/30
Re: stability of toc links, Samuel Wales, 2021/04/18