On Mon, Jul 13, 2020 at 11:34:16PM +0200, Andreas Falkenhahn wrote:
> On 13.07.2020 at 23:25 Gavin Smith wrote:
>
> > After experimenting a bit I found that the @xref label can be
> > hyphenated. The following input:
> > \input texinfo
> > xxxxxxx xxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxx
> > @xref{easyUnsetOpt_SSL_SessionID_Cache,,onetwothreefourfivesix}.
> > @bye
> > gives a hyphen between "four" and "five" in the output. I would guess
> > that TeX is not finding a good place to hyphenate the output. You can
> > insert explicit hyphenation points like
> > @xref{easyUnsetOpt_SSL_SessionID_Cache,,easy:Unset@-Opt_SSL_SessionID_Cache}
> > However, this might be hard to do automatically.
>
> Yeah, of course I'm looking for an automatic solution because we're
> talking about hundreds of pages here and the layout can change all the
> time...
If you put @code around the label then you can break the lines at the
underscores, like
@xref{easyUnsetOpt_SSL_SessionID_Cache,,@code{easy:UnsetOpt_SSL_SessionID_Cache}}
Could you amend your @see macro accordingly?