texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: No slant for @key


From: Gavin D. Smith
Subject: branch master updated: No slant for @key
Date: Sun, 02 Jan 2022 07:14:56 -0500

This is an automated email from the git hooks/post-receive script.

gavin pushed a commit to branch master
in repository texinfo.

The following commit(s) were added to refs/heads/master by this push:
     new 73ebe2d939 No slant for @key
73ebe2d939 is described below

commit 73ebe2d93903bab2edfa44bcd01ab765fa991fae
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Sun Jan 2 12:14:31 2022 +0000

    No slant for @key
    
    * doc/texinfo.tex (\key): Unconditionally use (upright) typewriter
    font, regardless of whether @key is inside @kbd or not.
---
 ChangeLog       |  7 +++++++
 doc/texinfo.tex | 11 +++--------
 2 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 11d617d05d..1d96e032e2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2022-01-02  Gavin Smith  <gavinsmith0123@gmail.com>
+
+       No slant for @key
+
+       * doc/texinfo.tex (\key): Unconditionally use (upright) typewriter
+       font, regardless of whether @key is inside @kbd or not.
+
 2022-01-02  Patrice Dumas  <pertusus@free.fr>
 
        * tp/Texinfo/Common.pm (add_preamble_before_content): put code that
diff --git a/doc/texinfo.tex b/doc/texinfo.tex
index e8ba00afa8..951ac11fcf 100644
--- a/doc/texinfo.tex
+++ b/doc/texinfo.tex
@@ -3,7 +3,7 @@
 % Load plain if necessary, i.e., if running under initex.
 \expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi
 %
-\def\texinfoversion{2022-01-01.17}
+\def\texinfoversion{2022-01-02.12}
 %
 % Copyright 1985, 1986, 1988, 1990-2021 Free Software Foundation, Inc.
 %
@@ -3193,14 +3193,9 @@ end
 %    \kern-0.4pt\hrule}%
 %  \kern-.06em\raise0.4pt\hbox{\angleright}}}}
 
-% definition of @key with no lozenge.  If the current font is already
-% monospace, don't change it; that way, we respect @kbdinputstyle.  But
-% if it isn't monospace, then use \tt.
+% definition of @key with no lozenge.
 %
-\def\key#1{{\setregularquotes
-  \nohyphenation
-  \ifmonospace\else\tt\fi
-  #1}\null}
+\def\key#1{{\setregularquotes \nohyphenation \tt #1}\null}
 
 % @clicksequence{File @click{} Open ...}
 \def\clicksequence#1{\begingroup #1\endgroup}



reply via email to

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