[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * doc/texinfo.tex (\textdegree): Define using \tc
From: |
Gavin D. Smith |
Subject: |
branch master updated: * doc/texinfo.tex (\textdegree): Define using \tcfont to enable copying the right character from a PDF reader. |
Date: |
Sat, 12 Nov 2022 17:52:05 -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 756de7856d * doc/texinfo.tex (\textdegree): Define using \tcfont to
enable copying the right character from a PDF reader.
756de7856d is described below
commit 756de7856d7c82af6b0d740698eee9472ac13b4b
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Sat Nov 12 22:51:55 2022 +0000
* doc/texinfo.tex (\textdegree): Define using \tcfont to
enable copying the right character from a PDF reader.
---
ChangeLog | 5 +++++
doc/texinfo.tex | 9 +++++----
2 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 7348339455..acee98987d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2022-11-12 Werner Lemberg <wl@gnu.org>
+
+ * doc/texinfo.tex (\textdegree): Define using \tcfont to
+ enable copying the right character from a PDF reader.
+
2022-11-12 Patrice Dumas <pertusus@free.fr>
* util/htmlxref.cnf: add manuals, in particular mono manuals
diff --git a/doc/texinfo.tex b/doc/texinfo.tex
index c3e04d05fb..fbdfab8a8f 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.16}
+\def\texinfoversion{2022-11-12.22}
%
% Copyright 1985, 1986, 1988, 1990-2022 Free Software Foundation, Inc.
%
@@ -3691,9 +3691,10 @@ $$%
% @textdegree - the normal degrees sign.
%
-\def\textdegree{\ifusingtt
- {\hbox to \fontdimen2\font {\ensuremath{^\circ}\hfil}}%
- {\ensuremath{^\circ}}}
+\def\textdegree{%
+ \ifmmode ^\circ
+ \else {\tcfont \char 176}%
+ \fi}
% Laurent Siebenmann reports \Orb undefined with:
% Textures 1.7.7 (preloaded format=plain 93.10.14) (68K) 16 APR 2004 02:38
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: * doc/texinfo.tex (\textdegree): Define using \tcfont to enable copying the right character from a PDF reader.,
Gavin D. Smith <=