bug-texinfo
[Top][All Lists]
Advanced

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

@key broken


From: Werner LEMBERG
Subject: @key broken
Date: Mon, 05 Jan 2009 11:20:08 +0100 (CET)

[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}




reply via email to

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