[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: A command to indicate a canonical web resource
From: |
David Kastrup |
Subject: |
Re: A command to indicate a canonical web resource |
Date: |
Thu, 11 Dec 2014 09:48:43 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
address@hidden (Karl Berry) writes:
> Sorry, I can't follow how your suggestion is different than using an
> anchor and Texinfo cross-manual reference.
The command is supposed to be a _single_ command per document without
any printed output in the Info. Its purpose is so that the Info reader
is able to propose a corresponding web link (containing the same
content) for the current Info-internal page.
It may work through anchor and cross-manual reference, but then this
anchor would need to have some boilerplate text convention in order to
be clearly recognizable by the Info reader.
Having a dedicated macro produce this reference and the boilerplate text
would make sure that it's recognized. However, Info manuals are not
English-only, so a fully visible standard English boilerplate text might
not be the best idea.
> This sort of thing is precisely why I already went to the trouble of
> creating and maintaining a mapping from texinfo manual names to web
> locations. As you probably know.
I don't. How should I?
> (File htmlxref.cnf on ftp.gnu.org:gnu/texinfo among other places.)
I'll enter that information in the respective bug report for
implementing the functionality in Emacs' info reader.
In the long run, however, I consider it desirable to embed that info in
the Info file itself rather than having to consult a centrally managed
database that is sure to be incomplete, requires work to keep up to
date, and will only cover software of public interest.
--
David Kastrup