[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Unadorned cross-references
From: |
Eli Zaretskii |
Subject: |
Re: Unadorned cross-references |
Date: |
Tue, 01 Jun 2021 15:23:24 +0300 |
> From: Augusto Stoffel <arstoffel@gmail.com>
> Date: Mon, 31 May 2021 22:38:30 +0200
> Cc: Texinfo <bug-texinfo@gnu.org>
>
> Emacs can be easily adapted to handle this new case in Info files:
>
> 1. "*note title: place." will remain being rendered as "see title.",
> where the word "title" has the link face and a button to "place".
> 1. "*note title: place," will remain being rendered as "see title,",
> where the word "title" has the link face and a button to "place".
> 2. "*note title: place#" will be rendered as "title", where the word
> title has the link face and a button to "place". No "see" before,
> and no punctuation after.
>
> Wouldn't that work?
If we are after an Emacs-only solution, then how about teaching Emacs
to detect the uses of "*note" that don't need to be converted to
"see", but can instead be converted to nothing? It's just a matter of
the grammar and syntax of the surrounding text, right?
As an alternative, how about customizing Info-hide-note-references to
the value 'hide', perhaps it gives better results than the default t?
Re: Unadorned cross-references, Augusto Stoffel, 2021/06/01