texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: * doc/texinfo.tex (\textdegree, \unicodechardefs)


From: Gavin D. Smith
Subject: branch master updated: * doc/texinfo.tex (\textdegree, \unicodechardefs): Supply definition that looks better in a tt font. Also work inside math. Report from Werner.
Date: Sat, 12 Nov 2022 05:41:46 -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 947ef8b6ac * doc/texinfo.tex (\textdegree, \unicodechardefs): Supply 
definition that looks better in a tt font.  Also work inside math.  Report from 
Werner.
947ef8b6ac is described below

commit 947ef8b6acc5fb7024f31416109fdf80ec2c79ab
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Sat Nov 12 10:41:38 2022 +0000

    * doc/texinfo.tex (\textdegree, \unicodechardefs): Supply definition
    that looks better in a tt font.  Also work inside math.  Report from
    Werner.
---
 ChangeLog       |  6 ++++++
 doc/texinfo.tex | 10 ++++++----
 2 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index db1486edee..91b50666a2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2022-11-12  Gavin Smith  <gavinsmith0123@gmail.com>
+
+       * doc/texinfo.tex (\textdegree, \unicodechardefs): Supply definition
+       that looks better in a tt font.  Also work inside math.  Report from
+       Werner.
+
 2022-11-12  Gavin Smith  <gavinsmith0123@gmail.com>
 
        * NEWS: correct spelling of "@definfoenclose" in most
diff --git a/doc/texinfo.tex b/doc/texinfo.tex
index d0b160a7d8..e9d92149e1 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-11-12.02}
+\def\texinfoversion{2022-11-12.10}
 %
 % Copyright 1985, 1986, 1988, 1990-2022 Free Software Foundation, Inc.
 %
@@ -3691,7 +3691,9 @@ $$%
 
 % @textdegree - the normal degrees sign.
 %
-\def\textdegree{$^\circ$}
+\def\textdegree{\ifusingtt
+  {\hbox to \fontdimen2\font {\ensuremath{^\circ}\hfil}}%
+  {\ensuremath{^\circ}}}
 
 % Laurent Siebenmann reports \Orb undefined with:
 %  Textures 1.7.7 (preloaded format=plain 93.10.14)  (68K)  16 APR 2004 02:38
@@ -10063,7 +10065,7 @@ directory should work if nowhere else does.}
   \gdefchar^^ae{\v Z}
   \gdefchar^^af{\dotaccent Z}
   %
-  \gdefchar^^b0{\textdegree{}}
+  \gdefchar^^b0{\textdegree}
   \gdefchar^^b1{\ogonek{a}}
   \gdefchar^^b2{\ogonek{ }}
   \gdefchar^^b3{\l}
@@ -10486,7 +10488,7 @@ directory should work if nowhere else does.}
   \DeclareUnicodeCharacter{00AE}{\registeredsymbol{}}%
   \DeclareUnicodeCharacter{00AF}{\={ }}%
   %
-  \DeclareUnicodeCharacter{00B0}{\ringaccent{ }}%
+  \DeclareUnicodeCharacter{00B0}{\textdegree}
   \DeclareUnicodeCharacter{00B1}{\ensuremath\pm}%
   \DeclareUnicodeCharacter{00B2}{$^2$}%
   \DeclareUnicodeCharacter{00B3}{$^3$}%



reply via email to

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