texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: * doc/texinfo.tex (\verb): Turn off hyphenation a


From: Gavin D. Smith
Subject: branch master updated: * doc/texinfo.tex (\verb): Turn off hyphenation as this can introduce spurious hyphen glyphs in the output. Allow breaking at spaces by using \obeyspaces rather than \sepspaces. Do not obey line breaks, for consistency with HTML output. Report from Werner.
Date: Sun, 04 Dec 2022 08:04:14 -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 74a23f6b34 * doc/texinfo.tex (\verb): Turn off hyphenation as this can 
introduce spurious hyphen glyphs in the output.  Allow breaking at spaces by 
using \obeyspaces rather than \sepspaces.  Do not obey line breaks, for 
consistency with HTML output.  Report from Werner.
74a23f6b34 is described below

commit 74a23f6b349cde30549f416caf9a5db3664445f8
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Sun Dec 4 13:03:43 2022 +0000

    * doc/texinfo.tex (\verb): Turn off hyphenation as this can
    introduce spurious hyphen glyphs in the output.  Allow breaking
    at spaces by using \obeyspaces rather than \sepspaces.  Do not
    obey line breaks, for consistency with HTML output.  Report from
    Werner.
---
 ChangeLog       |  8 ++++++++
 doc/texinfo.tex | 12 +++++-------
 2 files changed, 13 insertions(+), 7 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 19d8ab4110..fd3a0edefc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2022-12-04  Gavin Smith  <gavinsmith0123@gmail.com>
+
+       * doc/texinfo.tex (\verb): Turn off hyphenation as this can
+       introduce spurious hyphen glyphs in the output.  Allow breaking
+       at spaces by using \obeyspaces rather than \sepspaces.  Do not
+       obey line breaks, for consistency with HTML output.  Report from
+       Werner.
+
 2022-12-03  Gavin Smith  <gavinsmith0123@gmail.com>
 
        * TODO: add @node and HTML splitting
diff --git a/doc/texinfo.tex b/doc/texinfo.tex
index ff3cd71487..5a2b87b0d0 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-03.17}
+\def\texinfoversion{2022-12-04.12}
 %
 % Copyright 1985, 1986, 1988, 1990-2022 Free Software Foundation, Inc.
 %
@@ -7424,15 +7424,13 @@ might help (with 'rm \jobname.?? \jobname.??s')%
 \endgroup
 %
 \def\setupverb{%
-  \tt  % easiest (and conventionally used) font for verbatim
+  \tt
   \def\par{\leavevmode\endgraf}%
   \setcodequotes
   \tabeightspaces
-  % Respect line breaks,
-  % print special symbols as themselves, and
-  % make each space count
-  % must do in this order:
-  \obeylines \uncatcodespecials \sepspaces
+  \nohyphenation
+  % print special symbols as themselves, and make each space count
+  \uncatcodespecials \obeyspaces
 }
 
 % Setup for the @verbatim environment



reply via email to

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