It makes some sense. ;-)
But I have to point out that if you were not explicitly hiding numbers on the subsubsection, an #xref directly to it would have a number that began with "Y." So, in a way, our default behavior provides the information you wish to convey.
There are some semi-comlicated text forms for an #xref but without looking, they may not accomplish what you want.
And what is really so bad about "Chapter Y" being an active link? It does not seem redundant to me, or even that odd.
Procedurally, it may be straightforward to sidestep the various "link manufacture" templates with a trivial one. With markup like @active="no". But there are knock-on effects, like not making knowl content, that require exceptions.
I'm not convinced the intrusion in the code are warranted by the desire to de-activate the link.
If there was a semi-natural way to adjust the markup on the "real" #xref to request "<heading>, Chapter Y" as the link text, that might be more inline with what we do already. (And more complicated to implement!)
Maybe look at the "phrase" options we have (I've not done that).
Rob
On October 4, 2025 1:05:29 AM GMT+02:00, Adam Smith <
aas...@pugetsound.edu> wrote:
>Is there any way to make an <xref> that refers to a certain chapter, but
>without making a link to it?
>
>The reason is because I want to say something like "under the *X* heading