texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: * doc/texinfo.tex (\doindexsegment): Issue warnin


From: Gavin D. Smith
Subject: branch master updated: * doc/texinfo.tex (\doindexsegment): Issue warning on empty sort key. Suggestion from Werner.
Date: Mon, 07 Nov 2022 11:22:37 -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 a798f902be * doc/texinfo.tex (\doindexsegment): Issue warning on empty 
sort key.  Suggestion from Werner.
a798f902be is described below

commit a798f902be3adc5684a3316003e4ad3f2db1331c
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Mon Nov 7 16:22:27 2022 +0000

    * doc/texinfo.tex (\doindexsegment):
    Issue warning on empty sort key.  Suggestion from Werner.
---
 ChangeLog       | 5 +++++
 doc/texinfo.tex | 7 +++++--
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index c300465803..f67a27b43c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2022-11-06  Gavin Smith  <gavinsmith0123@gmail.com>
+
+       * doc/texinfo.tex (\doindexsegment):
+       Issue warning on empty sort key.  Suggestion from Werner.
+
 2022-11-06  Gavin Smith  <gavinsmith0123@gmail.com>
 
        * doc/texinfo.texi (Indexing Commands):
diff --git a/doc/texinfo.tex b/doc/texinfo.tex
index 596cab3289..94f92dfd82 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-10-18.18}
+\def\texinfoversion{2022-11-07.16}
 %
 % Copyright 1985, 1986, 1988, 1990-2022 Free Software Foundation, Inc.
 %
@@ -5270,7 +5270,10 @@ $$%
         \xdef\trimmed{\segment}%
         \xdef\trimmed{\expandafter\eatspaces\expandafter{\trimmed}}%
         \xdef\indexsortkey{\trimmed}%
-        \ifx\indexsortkey\empty\xdef\indexsortkey{ }\fi
+        \ifx\indexsortkey\empty
+          \message{Empty index sort key near line \the\inputlineno}%
+          \xdef\indexsortkey{ }%
+        \fi
       }\fi
       %
       % Append to \fullindexsortkey.



reply via email to

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