[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: texi2any's equivalent for texi2html's option `--short-ref`
From: |
Patrice Dumas |
Subject: |
Re: texi2any's equivalent for texi2html's option `--short-ref` |
Date: |
Thu, 6 Jan 2022 21:26:36 +0100 |
On Thu, Jan 06, 2022 at 04:56:34PM +0000, Werner LEMBERG wrote:
>
> `texi2html` had an option `--short-ref` that removed the word
> 'section' in link texts (version 1.82 had also the unfortunate side
> effect of removing tags like `<code>...</code>` from the link texts,
> but this is another story).
>
> Looking up the current git's info pages for texinfo I couldn't find an
> equivalent to that for `texi2any` while outputting HTML. Has this
> feature been removed?
I had a look at the history and this customization never made to
texi2any, however, previously if the reference was to a section, there
was 'section'. This was removed in that commit
https://git.savannah.gnu.org/cgit/texinfo.git/commit/tp/Texinfo/Convert/HTML.pm?id=f97e44597dc6cda93c0bff607ce9599d6ea41069
My feeling is that it is better without section, with more text output
by texi2any, there is also more risk that the output is not what the
user expects.
--
Pat