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: Sun, 25 Dec 2022 12:41:48 -0500 (EST)

branch: master
commit 53af5efe4d249f658a8b3ae53901305fe34898e6
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Sun Dec 25 17:41:38 2022 +0000

    Attempt to fix pre-dumped Texinfo
    
    * doc/texinfo.tex: Remove blank line from end of file.
    (\enablebackslashhack): Comment out ends-of-line.  This should
    stop \fixbackslash being run too early.
    (\fixbackslash): Start definition with a space token.
    
    This has been broken since at least 2017-04-17 when extra
    lines were added to \fixbackslash, so its likely that nobody
    is using Texinfo as a pre-dumped format.
---
 ChangeLog       | 13 +++++++++++++
 doc/texinfo.tex | 10 ++++++----
 2 files changed, 19 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 52c548d414..20e47f0914 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2022-12-25  Gavin Smith  <gavinsmith0123@gmail.com>
+
+       Attempt to fix pre-dumped Texinfo
+
+       * doc/texinfo.tex: Remove blank line from end of file.
+       (\enablebackslashhack): Comment out ends-of-line.  This should
+       stop \fixbackslash being run too early.
+       (\fixbackslash): Start definition with a space token.
+
+       This has been broken since at least 2017-04-17 when extra
+       lines were added to \fixbackslash, so its likely that nobody
+       is using Texinfo as a pre-dumped format.
+
 2022-12-25  Gavin Smith  <gavinsmith0123@gmail.com>
 
        * doc/texinfo.tex: Move definitions of \normaldot, \normalquest
diff --git a/doc/texinfo.tex b/doc/texinfo.tex
index f153c6e934..c3fbe68f3a 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-25.17}
+\def\texinfoversion{2022-12-25.18}
 %
 % Copyright 1985, 1986, 1988, 1990-2022 Free Software Foundation, Inc.
 %
@@ -11737,8 +11737,8 @@ directory should work if nowhere else does.}
   % Definition for a newline in the main Texinfo file.
   @gdef @secondlinenl{@fixbackslash}%
   % In case the first line has a whole-line command on it
-  @let@originalparsearg@parsearg
-  @def@parsearg{@fixbackslash@originalparsearg}
+  @let@originalparsearg@parsearg%
+  @def@parsearg{@fixbackslash@originalparsearg}%
 }}
 
 {@catcode`@^=7 @catcode`@^^M=13%
@@ -11755,6 +11755,9 @@ directory should work if nowhere else does.}
 
 
 @gdef@fixbackslash{%
+
+  % The space token above appears to terminate the filename
+  % when running as "tex '&texinfo' test.texi".
   @ifx\@eatinput @let\ = @ttbackslash @fi
   @catcode13=5 % regular end of line
   @enableemergencynewline
@@ -11802,4 +11805,3 @@ directory should work if nowhere else does.}
 @c End:
 
 @enablebackslashhack
-



reply via email to

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