[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: texi2any's equivalent for texi2html's option `--short-ref`
From: |
Gavin Smith |
Subject: |
Re: texi2any's equivalent for texi2html's option `--short-ref` |
Date: |
Thu, 6 Jan 2022 19:51:10 +0000 |
User-agent: |
Mutt/1.9.4 (2018-02-28) |
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?
The manual says there is supposed to be a customization variable
SHORT_REF for this, but I could find no trace of it anywhere in the
source code. It was formerly listed in @obsolete_variables in
tp/Texinfo/Common.pm, but not used for anything that I could see.
I don't understand what this option was supposed to have done; I checked
the HTML output from texi2any and the word "section" didn't appear in the
output for any cross-references.
I tried with both '@xrefautomaticsectiontitle on' and
'@xrefautomaticsectiontitle off' in the document. So I don't understand
what your problem is.