[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [help-texinfo] Want curly braces around key sequences (Was: Overfull

From: Gavin Smith
Subject: Re: [help-texinfo] Want curly braces around key sequences (Was: Overfull vbox in Concept Index leads to a blank page in the middle of the index)
Date: Sat, 2 Jul 2016 19:52:34 +0100

On 28 June 2016 at 20:41, Robert Weiner <address@hidden> wrote:
>>> or you could use @kbd itself in its definition.
> From my .pdf reader, it looks like @kbd and @code use slightly different
> faces.  If that is the case, then we don't yet have a macro that would work.

In case you hadn't already figured it out, the use of @kbd in the
macro would be in a conditional block like @ifnotinfo or @iftex. You
would have a different definition for Info output that didn't use @kbd
and so wouldn't get the single quotes that you don't want.

> Based on the following four lines from texinfo.tex:
> \gdef\markupsetcodequoteleft{\let`\codequoteleft}
> \gdef\markupsetcodequoteright{\let'\codequoteright}
> \let\markupsetuplqkbd     \markupsetcodequoteleft
> \let\markupsetuprqkbd     \markupsetcodequoteright
> it looks like if we could just specify a different left and right quote for
> @kbd, that that would do it.  But these lines are connected to the
> codequote{left,right} definitions which are a bit more complex, so I'm not
> sure how to adapt these.

I wouldn't rely on patching those definitions. They could change in
future versions of texinfo.tex.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]