Folks,
I suggest to add an option that controls whether `@anchor` honors
`@xrefautomaticsectiontitle on`.
Right now, if `@xrefautomaticsectiontitle` is active and I have
```
@node A
@chapter A
... many pages ...
@anchor{This is a meaningful anchor label}
```
and I reference this with
```
@xref{This is a meaningful anchor label}
```
(i.e., an `@xref` command that doesn't explicitly set the printed
label with its third argument) I see 'This is a meaningful anchor
label' in both the HTML and Info output, but I get 'A' in the
produced PDF.
IMHO, this is counterproductive behaviour because `@anchor` is often
not associated with a heading, and it can easily happen that the label
comes many pages after the last `@node`.
Werner
\input texinfo
@xrefautomaticsectiontitle on
@node Top
@top Top
@page
@node A
@chapter A
A
@page
@anchor{This is a meaningful anchor label}
This is a meaningful anchor label
@page
@node B
@chapter B
B
@xref{This is a meaningful anchor label}
@bye