From: Gregor Zattler <telegraph@gmx.net>
To: Ihor Radchenko <yantar92@posteo.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: [FR] stable literal hrefs in HTML export of direct links and usage of link description instead of numbered links in case of shortend link syntax
Date: Mon, 02 Sep 2024 13:00:20 +0200 [thread overview]
Message-ID: <8734mi48xn.fsf@no.lan> (raw)
In-Reply-To: <87seuxlsza.fsf@localhost>
Hi Ihor,
* Ihor Radchenko <yantar92@posteo.net> [2024-08-21; 16:51 GMT]:
> Gregor Zattler <telegraph@gmx.net> writes:
>> I write a piece documentation with a
>> glossary in form of a description list
>> and want to able to link to the
>> descriptions. The thing is then
>> exported to HTML.
>>
>> The only way to do that I found was with
>> direct links, but this
>>
>> 1. does not allow for stable hrefs
[...]
> You can customize `org-html-prefer-user-labels' to suppress
> automatically generated IDs in your scenario.
thanks, that helps.
>> 1. that instead of a random id the link
>> description is used as a href and
>> therefore be stable between different
>> exports, and
[...]
> Of course, we might also go into previously discussed idea to generate
> valid IDs based on the text (we usually talk about it in the context of
> headline IDs), but that will simply be a repetition of the previous
> threads like
> https://list.orgmode.org/orgmode/87wnrhl7z7.fsf@catern.com/
> https://list.orgmode.org/orgmode/CAJcAo8tXVW39h18FUXLtwoDYNKQsFHqCp+YDiyWfLee29B1PRw@mail.gmail.com/
thanks, interesting read, mostly above
my level of knowledge, but FWIW I agree with
your proposal
https://yhetil.org/87fsfutwin.fsf@localhost
to generate links from
(washed/sanitized) text plus additional
randomization added.
Regards, Gregor
prev parent reply other threads:[~2024-09-02 11:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-20 15:04 [FR] stable literal hrefs in HTML export of direct links and usage of link description instead of numbered links in case of shortend link syntax Gregor Zattler
2024-08-20 18:47 ` Ihor Radchenko
2024-08-21 16:51 ` Ihor Radchenko
2024-09-02 11:00 ` Gregor Zattler [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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8734mi48xn.fsf@no.lan \
--to=telegraph@gmx.net \
--cc=emacs-orgmode@gnu.org \
--cc=yantar92@posteo.net \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).