[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Is there a way to make @see support hyphenation?
From: |
Gavin Smith |
Subject: |
Re: Is there a way to make @see support hyphenation? |
Date: |
Mon, 13 Jul 2020 22:59:00 +0100 |
User-agent: |
Mutt/1.9.4 (2018-02-28) |
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?