texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: * doc/refcard/txicmdcheck (read_refidx): filter o


From: Patrice Dumas
Subject: branch master updated: * doc/refcard/txicmdcheck (read_refidx): filter out @sortas.
Date: Fri, 21 Oct 2022 12:33:53 -0400

This is an automated email from the git hooks/post-receive script.

pertusus pushed a commit to branch master
in repository texinfo.

The following commit(s) were added to refs/heads/master by this push:
     new 67d07bef37 * doc/refcard/txicmdcheck (read_refidx): filter out @sortas.
67d07bef37 is described below

commit 67d07bef374483ae176e9fee2e9a924d9a84f87f
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Fri Oct 21 18:33:42 2022 +0200

    * doc/refcard/txicmdcheck (read_refidx): filter out @sortas.
---
 ChangeLog               | 6 +++++-
 doc/refcard/txicmdcheck | 1 +
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index a622974daa..db938cdbf7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,10 @@
+2022-10-21  Patrice Dumas  <pertusus@free.fr>
+
+       * doc/refcard/txicmdcheck (read_refidx): filter out @sortas.
+
 2022-10-21  Gavin Smith  <gavinsmith0123@gmail.com>
 
-       * doc/texinfo.texi (Inserting a Backslash)
+       * doc/texinfo.texi (Inserting a Backslash):
        Add function index entries for @\.
 
 2022-10-21  Gavin Smith  <gavinsmith0123@gmail.com>
diff --git a/doc/refcard/txicmdcheck b/doc/refcard/txicmdcheck
index 30722afe99..aa2c519827 100755
--- a/doc/refcard/txicmdcheck
+++ b/doc/refcard/txicmdcheck
@@ -160,6 +160,7 @@ sub read_refidx {
     s/\@\{\@\}//;         # remove @{@} used in atchar, etc.
     s/<colon>/:/;         # @:
     s/<newline>/var{whitespace}/;  # special generic entry: @var{whitespace}
+    s/\s*\@sortas{[^}]+}\s*//;  # remove @sortas
     s/^/\@/ unless /^\@/; # prepend @ unless already there (@@ @{ @})
     $ret{$_} = 1;
   }



reply via email to

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