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 8259864837b461d7460e7187ee132ef826208ef3
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Sat Dec 17 17:01:15 2022 +0000

    * doc/texinfo.tex (\-): Provide definition of @- to allow
    a hyphen to be printed for optional line breaks.  From Werner.
---
 ChangeLog       | 5 +++++
 doc/texinfo.tex | 5 ++++-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index f12c680eaa..57671f5deb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2022-12-17  Gavin Smith  <gavinsmith0123@gmail.com>
+
+       * doc/texinfo.tex (\-): Provide definition of @- to allow
+       a hyphen to be printed for optional line breaks.  From Werner.
+
 2022-12-17  Gavin Smith  <gavinsmith0123@gmail.com>
 
        * doc/texinfo.tex (\code, \tclose): Comments changed.
diff --git a/doc/texinfo.tex b/doc/texinfo.tex
index 3a837c2646..dcedf2d724 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.17}
+\def\texinfoversion{2022-12-17.18}
 %
 % Copyright 1985, 1986, 1988, 1990-2022 Free Software Foundation, Inc.
 %
@@ -591,6 +591,9 @@
 % @/ allows a line break.
 \let\/=\allowbreak
 
+% @- allows explicit insertion of hyphenation points
+\def\-{\discretionary{\normaldash}{}{}}%
+
 % @. is an end-of-sentence period.
 \def\.{.\spacefactor=\endofsentencespacefactor\space}
 



reply via email to

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