texinfo-commits
[Top][All Lists]
Advanced

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

[no subject]


From: Gavin D. Smith
Date: Sat, 17 Dec 2022 12:01:25 -0500 (EST)

branch: master
commit fe0dcface84b460ad6d0ce97ec1f64402044c120
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Sat Dec 17 16:50:16 2022 +0000

    * doc/texinfo.tex (\code, \tclose): Comments changed.
---
 ChangeLog       |  4 ++++
 doc/texinfo.tex | 15 +++++++--------
 2 files changed, 11 insertions(+), 8 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 3e87a81288..f12c680eaa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2022-12-17  Gavin Smith  <gavinsmith0123@gmail.com>
+
+       * doc/texinfo.tex (\code, \tclose): Comments changed.
+
 2022-12-17  Gavin Smith  <gavinsmith0123@gmail.com>
 
        * doc/texinfo.tex (\printdefunline): Call \defcharsdefault
diff --git a/doc/texinfo.tex b/doc/texinfo.tex
index 11976ad636..3a837c2646 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-12-17.16}
+\def\texinfoversion{2022-12-17.17}
 %
 % Copyright 1985, 1986, 1988, 1990-2022 Free Software Foundation, Inc.
 %
@@ -2889,7 +2889,7 @@ end
     % Switch to typewriter.
     \tt
     %
-    % But `\ ' produces the large typewriter interword space.
+    % `\ ' produces the large typewriter interword space.
     \def\ {{\spaceskip = 0pt{} }}%
     %
     \plainfrenchspacing
@@ -2898,15 +2898,14 @@ end
   \null % reset spacefactor to 1000
 }
 
-% We *must* turn on hyphenation at `-' and `_' in @code.
-% (But see \codedashfinish below.)
+% We must turn on hyphenation at `-' and `_' in @code.
 % Otherwise, it is too hard to avoid overfull hboxes
 % in the Emacs manual, the Library manual, etc.
+% We explicitly allow hyphenation at these characters
+% using \discretionary.
 %
-% Unfortunately, TeX uses one parameter (\hyphenchar) to control
-% both hyphenation at - and hyphenation within words.
-% We must therefore turn them both off (\tclose does that)
-% and arrange explicitly to hyphenate at a dash. -- rms.
+% Hyphenation at - and hyphenation within words was turned off
+% by default for the tt fonts using the \hyphenchar parameter of TeX.
 {
   \catcode`\-=\active \catcode`\_=\active
   \catcode`\'=\active \catcode`\`=\active



reply via email to

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