[texinfo.tex 2009-01-01.14]
The input
A @key{foo} B
in PDF shows an extra space after A. Patch below.
BTW, I consider it a bad idea that there is no more any special
indication in the printed output for @key -- this is too Emacs-centric
IMHO. For groff.texinfo I have, for example, this list of escapes in
the index:
\r
\R
\<RET>
\s
\S
\<SP>
In the printed manual, this looks like
\r
\R
\RET
\s
\S
\SP
where everything is typeset in typewriter font. Why not using <RET>
for @key{RET} in the PDF too?
Werner
======================================================================
--- texinfo.tex.old 2009-01-03 18:54:55.000000000 +0100
+++ texinfo.tex 2009-01-05 09:48:20.000000000 +0100
@@ -2585,7 +2585,7 @@
% monospace, don't change it; that way, we respect @kbdinputstyle. But
% if it isn't monospace, then use \tt.
%
-\def\key#1{{\setupmarkupstyle{key}
+\def\key#1{{\setupmarkupstyle{key}%
\nohyphenation
\ifmonospace\else\tt\fi
#1}\null}