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: Wed, 19 Oct 2022 10:05:28 -0400 (EDT)

branch: master
commit 88b93dd78b1e02d2a0c22a1565f436220ddd56cb
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Wed Oct 19 14:50:21 2022 +0100

    * doc/refcard/txicmdcheck: Change "refman" to "appendix" to
    make it easier to find where command is missing from.
---
 ChangeLog               |  5 +++++
 doc/refcard/txicmdcheck | 12 ++++++------
 2 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 2c377aaa65..b603ddf457 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2022-10-19  Gavin Smith  <gavinsmith0123@gmail.com>
+
+       * doc/refcard/txicmdcheck: Change "refman" to "appendix" to
+       make it easier to find where command is missing from.
+
 2022-10-19  Gavin Smith  <gavinsmith0123@gmail.com>
 
        * doc/texinfo.texi (Raw Formatter Commands):
diff --git a/doc/refcard/txicmdcheck b/doc/refcard/txicmdcheck
index 25c5b07c66..61913a9511 100755
--- a/doc/refcard/txicmdcheck
+++ b/doc/refcard/txicmdcheck
@@ -17,7 +17,7 @@
 #
 # Original author: Karl Berry.
 #
-# Kludge of a script to check command lists in refcard vs. refman vs.
+# Kludge of a script to check command lists in refcard vs. appendix vs.
 # tp for consistency. 
 
 exit (&main ());
@@ -27,7 +27,7 @@ sub main {
 
   my %card_cmds = &read_refcard ("txirefcard.tex");
   my %idx_cmds = &read_refidx ("../texinfo.texi");
-  my %man_cmds = &read_refman ("../texinfo.texi");
+  my %man_cmds = &read_appendix ("../texinfo.texi");
   my %tp_cmds = &read_tp ("../../util/txicmdlist");
 
   # find the commands that are covered everywhere.
@@ -69,13 +69,13 @@ sub main {
 
   # now report on commands only in some other subset.
   my @card_only = keys %card_cmds;
-  printf "refcard only %s: @{[sort @card_only]}\n", @card_only + 0;
+  printf "refcard  only %s: @{[sort @card_only]}\n", @card_only + 0;
 
   my @man_only = keys %man_cmds;
-  printf "refman  only %s: @{[sort @man_only]}\n", @man_only + 0;
+  printf "appendix only %s: @{[sort @man_only]}\n", @man_only + 0;
   
   my @tp_only = keys %tp_cmds;
-  printf "tp      only %s: @{[sort @tp_only]}\n", @tp_only + 0;
+  printf "tp       only %s: @{[sort @tp_only]}\n", @tp_only + 0;
   
   return @card_only + @man_only + @tp_only;
 }
@@ -171,7 +171,7 @@ sub read_refidx {
 # Return command names from the @-Command List node in the reference
 # manual as the keys of a hash (empty values).
 # 
-sub read_refman {
+sub read_appendix {
   my ($fname) = @_;
   my @ret = ();
 



reply via email to

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