texlive[71501] Build/source/texk: chktex 1.7.9
commits+kakuto at tug.org
commits+kakuto at tug.org
Wed Jun 12 10:45:56 CEST 2024
Revision: 71501
https://tug.org/svn/texlive?view=revision&revision=71501
Author: kakuto
Date: 2024-06-12 10:45:56 +0200 (Wed, 12 Jun 2024)
Log Message:
-----------
chktex 1.7.9
Modified Paths:
--------------
trunk/Build/source/texk/README
trunk/Build/source/texk/chktex/ChangeLog
trunk/Build/source/texk/chktex/ChkTeX.pdf
trunk/Build/source/texk/chktex/TLpatches/ChangeLog
trunk/Build/source/texk/chktex/TLpatches/TL-Changes
trunk/Build/source/texk/chktex/chktex-src/FindErrs.c
trunk/Build/source/texk/chktex/chktex-src/NEWS
trunk/Build/source/texk/chktex/chktex-src/Test.nore.out
trunk/Build/source/texk/chktex/chktex-src/Test.pcre.out
trunk/Build/source/texk/chktex/chktex-src/Test.posix-ere.out
trunk/Build/source/texk/chktex/chktex-src/Test.tex
trunk/Build/source/texk/chktex/chktex-src/chktexrc.in
trunk/Build/source/texk/chktex/chktex-src/configure.ac
trunk/Build/source/texk/chktex/chktexrc
trunk/Build/source/texk/chktex/configure
trunk/Build/source/texk/chktex/version.ac
Added Paths:
-----------
trunk/Build/source/texk/chktex/TLpatches/patch-03-late-decl
trunk/Build/source/texk/chktex/chktex-src/test-all.sh
Removed Paths:
-------------
trunk/Build/source/texk/chktex/chktex-src/lacheck
Modified: trunk/Build/source/texk/README
===================================================================
--- trunk/Build/source/texk/README 2024-06-12 08:40:30 UTC (rev 71500)
+++ trunk/Build/source/texk/README 2024-06-12 08:45:56 UTC (rev 71501)
@@ -25,7 +25,7 @@
bibtex-x - maintained here, contains
bibtex8, bibtexu
-chktex 1.7.8 - checked 15dec22
+chktex 1.7.9 - checked 12jun24
https://mirror.ctan.org/support/chktex/
https://download.savannah.gnu.org/releases/chktex/
Modified: trunk/Build/source/texk/chktex/ChangeLog
===================================================================
--- trunk/Build/source/texk/chktex/ChangeLog 2024-06-12 08:40:30 UTC (rev 71500)
+++ trunk/Build/source/texk/chktex/ChangeLog 2024-06-12 08:45:56 UTC (rev 71501)
@@ -1,3 +1,8 @@
+2024-06-12 Alira Kakuto <kakuto at jcom.zaq.ne.jp>
+
+ * Import ChkTeX 1.7.9.
+ * version.ac: adapted.
+
2022-12-15 Hironobu Yamashita <h.y.acetaminophen at gmail.com>
* Import ChkTeX 1.7.8.
Modified: trunk/Build/source/texk/chktex/ChkTeX.pdf
===================================================================
(Binary files differ)
Modified: trunk/Build/source/texk/chktex/TLpatches/ChangeLog
===================================================================
--- trunk/Build/source/texk/chktex/TLpatches/ChangeLog 2024-06-12 08:40:30 UTC (rev 71500)
+++ trunk/Build/source/texk/chktex/TLpatches/ChangeLog 2024-06-12 08:45:56 UTC (rev 71501)
@@ -1,3 +1,9 @@
+2024-06-12 Akira Kakuto <kakuto at jcom.zaq.ne.jp>
+
+ * Import chktex-1.7.9.
+ * patch-03-late-decl: Revive once more to support old
+ compilers.
+
2022-12-15 Hironobu Yamashita <h.y.acetaminophen at gmail.com>
* Import chktex-1.7.8.
Modified: trunk/Build/source/texk/chktex/TLpatches/TL-Changes
===================================================================
--- trunk/Build/source/texk/chktex/TLpatches/TL-Changes 2024-06-12 08:40:30 UTC (rev 71500)
+++ trunk/Build/source/texk/chktex/TLpatches/TL-Changes 2024-06-12 08:45:56 UTC (rev 71501)
@@ -1,6 +1,5 @@
-Changes applied to the chktex-1.7.8 tree as obtained from:
- http://mirror.ctan.org/support/chktex/
- http://download.savannah.gnu.org/releases/chktex/chktex-1.7.8.tar.gz
+Changes applied to the chktex-1.7.9 tree as obtained from:
+ http://mirror.ctan.org/support/chktex.zip
Remove:
aclocal.m4
Added: trunk/Build/source/texk/chktex/TLpatches/patch-03-late-decl
===================================================================
--- trunk/Build/source/texk/chktex/TLpatches/patch-03-late-decl (rev 0)
+++ trunk/Build/source/texk/chktex/TLpatches/patch-03-late-decl 2024-06-12 08:45:56 UTC (rev 71501)
@@ -0,0 +1,44 @@
+diff -ur chktex/FindErrs.c chktex-src/FindErrs.c
+--- chktex/FindErrs.c Sat Apr 27 02:28:46 2024
++++ chktex-src/FindErrs.c Wed Jun 12 17:25:32 2024
+@@ -351,6 +351,7 @@
+
+ EscapePtr = TmpPtr; /* Save it for later */
+ while ((TmpPtr = strstr(TmpPtr, FileSuppDelim))) {
++ uint64_t errbit;
+ TmpPtr += STRLEN(FileSuppDelim);
+ error = atoi(TmpPtr);
+
+@@ -358,7 +359,7 @@
+ {
+ PrintPrgErr(pmSuppTooHigh, error, MaxSuppressionBits);
+ }
+- uint64_t errbit = ((uint64_t)1 << abs(error));
++ errbit = ((uint64_t)1 << abs(error));
+ if (error > 0)
+ {
+ *(uint64_t *)StkTop(&FileSuppStack) |= errbit;
+@@ -1133,19 +1134,21 @@
+ * this on the first dash */
+ if (*TmpPtr != '-')
+ {
++ struct WordList *el;
+ /* PrePtr now points to the beginning of the hyphenated phrase */
+ PrePtr = ++TmpPtr;
+
+- struct WordList *el = &DashExcpt;
++ el = &DashExcpt;
+
+ FORWL(i, *el)
+ {
++ int FoundHyphenDiff;
+ char *e = el->Stack.Data[i];
+ TmpPtr = PrePtr;
+
+ /* Walk through the strings until we find a
+ * mismatch. */
+- int FoundHyphenDiff = FALSE;
++ FoundHyphenDiff = FALSE;
+ while (*e && *TmpPtr && *e == *TmpPtr)
+ {
+ /* Skip past characters that are the same */
Modified: trunk/Build/source/texk/chktex/chktex-src/FindErrs.c
===================================================================
--- trunk/Build/source/texk/chktex/chktex-src/FindErrs.c 2024-06-12 08:40:30 UTC (rev 71500)
+++ trunk/Build/source/texk/chktex/chktex-src/FindErrs.c 2024-06-12 08:45:56 UTC (rev 71501)
@@ -351,6 +351,7 @@
EscapePtr = TmpPtr; /* Save it for later */
while ((TmpPtr = strstr(TmpPtr, FileSuppDelim))) {
+ uint64_t errbit;
TmpPtr += STRLEN(FileSuppDelim);
error = atoi(TmpPtr);
@@ -358,7 +359,7 @@
{
PrintPrgErr(pmSuppTooHigh, error, MaxSuppressionBits);
}
- uint64_t errbit = ((uint64_t)1 << abs(error));
+ errbit = ((uint64_t)1 << abs(error));
if (error > 0)
{
*(uint64_t *)StkTop(&FileSuppStack) |= errbit;
@@ -662,7 +663,7 @@
PSERR(CmdPtr - Buf, CmdLen, emNoArgFound);
}
- if (HasWord(CmdBuffer, &NotPreSpaced) && isspace((unsigned char)CmdPtr[-1]))
+ if (HasWord(CmdBuffer, &NotPreSpaced) && SeenSpace)
PSERRA(CmdPtr - Buf - 1, 1, emRemPSSpace, CmdBuffer);
if ((TmpPtr = HasWord(CmdBuffer, &NoCharNext)))
@@ -1133,19 +1134,21 @@
* this on the first dash */
if (*TmpPtr != '-')
{
+ struct WordList *el;
/* PrePtr now points to the beginning of the hyphenated phrase */
PrePtr = ++TmpPtr;
- struct WordList *el = &DashExcpt;
+ el = &DashExcpt;
FORWL(i, *el)
{
+ int FoundHyphenDiff;
char *e = el->Stack.Data[i];
TmpPtr = PrePtr;
/* Walk through the strings until we find a
* mismatch. */
- int FoundHyphenDiff = FALSE;
+ FoundHyphenDiff = FALSE;
while (*e && *TmpPtr && *e == *TmpPtr)
{
/* Skip past characters that are the same */
@@ -1586,11 +1589,22 @@
strchr(LTX_BosPunc, TmpC)));
if (islower((unsigned char)*TmpPtr))
{
+ /* If it's a silent macro, count it as space. */
+ int IsSilent = FALSE;
+ if (*(TmpPtr - 1) == '\\')
+ {
+ GetLTXToken(TmpPtr - 1, CmdBuffer);
+ IsSilent = CheckSilentRegex();
+ }
+
/* Ignore spacing problems after commands if desired */
TmpPtr = PrePtr;
SKIP_BACK(TmpPtr, TmpC, istex(TmpC));
- if (*TmpPtr != '\\' || (CmdSpace & csInterWord))
+ if (!IsSilent &&
+ (*TmpPtr != '\\' || (CmdSpace & csInterWord)))
+ {
PSERR(BufPtr - Buf, 1, emInterWord);
+ }
}
else
CheckAbbrevs(&BufPtr[-1]);
Modified: trunk/Build/source/texk/chktex/chktex-src/NEWS
===================================================================
--- trunk/Build/source/texk/chktex/chktex-src/NEWS 2024-06-12 08:40:30 UTC (rev 71500)
+++ trunk/Build/source/texk/chktex/chktex-src/NEWS 2024-06-12 08:45:56 UTC (rev 71501)
@@ -1,6 +1,14 @@
Development of ChkTeX is now in a maintainance mode. All versions
1.6.x are essentially bug fixes. Version 1.7 added some new features.
+1.7.9 (2024-04-26), released by Ivan Andrus <darthandrus at gmail.com>
+
+ * Spell check chktexrc.in
+ * Check SeenSpace instead of the previous character #65570
+ * Treat silent macros as space for the purposes of interword spacing #65500
+ * Mark a regex as being PCRE only #65033
+ * Fix typo in rule message #64810
+
1.7.8 (2022-10-17), released by Ivan Andrus <darthandrus at gmail.com>
* Fix some packaging issues for CTAN
Modified: trunk/Build/source/texk/chktex/chktex-src/Test.nore.out
===================================================================
--- trunk/Build/source/texk/chktex/chktex-src/Test.nore.out 2024-06-12 08:40:30 UTC (rev 71500)
+++ trunk/Build/source/texk/chktex/chktex-src/Test.nore.out 2024-06-12 08:45:56 UTC (rev 71501)
@@ -293,6 +293,9 @@
% ignore commands by default
^
Message 22 in Test.tex: Comment displayed.
+% Bug 65500
+^
+Message 22 in Test.tex: Comment displayed.
% Warning 13
^
Message 13 in Test.tex: Intersentence spacing (`\@') should perhaps be used.
@@ -557,6 +560,9 @@
This is a footnote \footnote{foo}.
^
Message 22 in Test.tex: Comment displayed.
+This is a footnote%
+ ^
+Message 22 in Test.tex: Comment displayed.
% Warning 43
^
Message 46 in Test.tex: Use \( ... \) instead of $ ... $.
Modified: trunk/Build/source/texk/chktex/chktex-src/Test.pcre.out
===================================================================
--- trunk/Build/source/texk/chktex/chktex-src/Test.pcre.out 2024-06-12 08:40:30 UTC (rev 71500)
+++ trunk/Build/source/texk/chktex/chktex-src/Test.pcre.out 2024-06-12 08:45:56 UTC (rev 71501)
@@ -284,6 +284,9 @@
% ignore commands by default
^
Message 22 in Test.tex: Comment displayed.
+% Bug 65500
+^
+Message 22 in Test.tex: Comment displayed.
% Warning 13
^
Message 13 in Test.tex: Intersentence spacing (`\@') should perhaps be used.
@@ -548,6 +551,9 @@
This is a footnote \footnote{foo}.
^
Message 22 in Test.tex: Comment displayed.
+This is a footnote%
+ ^
+Message 22 in Test.tex: Comment displayed.
% Warning 43
^
Message 46 in Test.tex: Use \( ... \) instead of $ ... $.
@@ -682,7 +688,7 @@
Message 44 in Test.tex: User Regex: -2:Vertical rules in tables are ugly.
\begin{tabular*}{1.0\linewidth}[h]{|c|cc|}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-Message 44 in Test.tex: User Regex: -2:Use \toprule, midrule, or \bottomrule from booktabs.
+Message 44 in Test.tex: User Regex: -2:Use \toprule, \midrule, or \bottomrule from booktabs.
\hline
^^^^^^
Message 22 in Test.tex: Comment displayed.
Modified: trunk/Build/source/texk/chktex/chktex-src/Test.posix-ere.out
===================================================================
--- trunk/Build/source/texk/chktex/chktex-src/Test.posix-ere.out 2024-06-12 08:40:30 UTC (rev 71500)
+++ trunk/Build/source/texk/chktex/chktex-src/Test.posix-ere.out 2024-06-12 08:45:56 UTC (rev 71501)
@@ -281,6 +281,9 @@
% ignore commands by default
^
Message 22 in Test.tex: Comment displayed.
+% Bug 65500
+^
+Message 22 in Test.tex: Comment displayed.
% Warning 13
^
Message 13 in Test.tex: Intersentence spacing (`\@') should perhaps be used.
@@ -545,6 +548,9 @@
This is a footnote \footnote{foo}.
^
Message 22 in Test.tex: Comment displayed.
+This is a footnote%
+ ^
+Message 22 in Test.tex: Comment displayed.
% Warning 43
^
Message 46 in Test.tex: Use \( ... \) instead of $ ... $.
@@ -664,7 +670,7 @@
Message 44 in Test.tex: User Regex: -2:Vertical rules in tables are ugly.
\begin{tabular*}{1.0\linewidth}[h]{|c|cc|}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-Message 44 in Test.tex: User Regex: -2:Use \toprule, midrule, or \bottomrule from booktabs.
+Message 44 in Test.tex: User Regex: -2:Use \toprule, \midrule, or \bottomrule from booktabs.
\hline
^^^^^^
Message 22 in Test.tex: Comment displayed.
Modified: trunk/Build/source/texk/chktex/chktex-src/Test.tex
===================================================================
--- trunk/Build/source/texk/chktex/chktex-src/Test.tex 2024-06-12 08:40:30 UTC (rev 71500)
+++ trunk/Build/source/texk/chktex/chktex-src/Test.tex 2024-06-12 08:45:56 UTC (rev 71501)
@@ -95,6 +95,14 @@
% ignore commands by default
\Mr. ``X'' and \Mrs. \(Y\)
+
+% Bug 65500
+\begin{tabular}{lp}
+1 & foo. \\
+2 & bar. \newline kjl
+\end{tabular}
+
+
% Warning 13
Look at THIS! It's an error.
@@ -213,7 +221,10 @@
% Warning 42
This is a footnote \footnote{foo}.
This is a footnote\footnote{foo}.
+This is a footnote%
+ \footnote{foo}.
+
% Warning 43
Here is a mistake $\left{x\right}$.
This one triggers warning 22 $\left\{x\right\}$.
Modified: trunk/Build/source/texk/chktex/chktex-src/chktexrc.in
===================================================================
--- trunk/Build/source/texk/chktex/chktex-src/chktexrc.in 2024-06-12 08:40:30 UTC (rev 71500)
+++ trunk/Build/source/texk/chktex/chktex-src/chktexrc.in 2024-06-12 08:45:56 UTC (rev 71501)
@@ -3,14 +3,14 @@
##### TODO: Use something besides errexam?
##### TODO: Color/frame for default value
###############################################################################
-#### This fiie is input to a simple "tangle" process. The extions of .in is
+#### This file is input to a simple "tangle" process. The extensions of .in is
#### a little misleading in that it's not managed by autotools or m4. Sorry.
####
#### Two different files are created from this file by calling MakeChkTeXRC.pl
-#### 1. chktexrc, a self-documenting chktecrc example
+#### 1. chktexrc, a self-documenting chktexrc example
#### a. Lines with 3 (or more) leading #'s are discarded
#### b. Other lines are kept as is
-#### 2. ChkTeXRC.tex, LaTeX documentation for chktecrc.
+#### 2. ChkTeXRC.tex, LaTeX documentation for chktexrc.
#### a. Lines with 4 (or more) leading #'s are discarded
#### b. Lines with 0 or 2 (exactly) leading #'s are discarded
#### c. Lines with 1 or 3 (exactly) leading #'s are turned in (LaTeX-only) lines
@@ -44,11 +44,11 @@
### \subsubsection{The \rsrc\ file format}
## chktexrc file format
#
-# The chktecrc file is essentially a bunch of variable assignments.
+# The chktexrc file is essentially a bunch of variable assignments.
# There are two types of variables, those that take single items and
# those that take lists.
#
-# In turn, there are two types of lists, case-sensitive and case-insentive.
+# In turn, there are two types of lists, case-sensitive and case-insensitive.
# Case-sensitive lists are delimited by @verb@{@endverb@ and @verb@}@endverb@
# while case-insensitive are delimited by @verb@[@endverb@ and @verb@]@endverb at .
# Only some variables support case insensitive lists, since in many
@@ -58,7 +58,7 @@
#
# Variables can be set with or without an equals sign. If included, the
# @verb@=@endverb@ causes the variable to be overwritten. This is the only thing
-# that makes sense for varibles taking a single item and so we always
+# that makes sense for variables taking a single item and so we always
# include it in that case. For list variables, omitting the equals
# sign will cause the items in the list to be appended instead of
# overwriting the entire list.
@@ -89,7 +89,7 @@
# You can use double quotes @verb@"@endverb@ to surround an item with spaces, or you can
# escape spaces as described later.
#
-# Detection of tokens like @verb@}@endverb@ are somewhat context sensitve---they
+# Detection of tokens like @verb@}@endverb@ are somewhat context sensitive---they
# have to be preceded by a space (or newline). This allows them to be
# part of an item without escaping. Since some variables require such
# characters, this generally makes life easier.
@@ -129,7 +129,7 @@
### \subsubsection{Settings in the \rsrc\ file}
## Available Settings
#
-# All avaiable settings follow.
+# All available settings follow.
#
## QuoteStyle
@@ -171,12 +171,12 @@
### \medskip
### \begin{chktexrcsimplevar}{CmdSpaceStyle}
#
-# How to treat a command is followed by punction. In all cases the
+# How to treat a command is followed by punctuation. In all cases the
# warnings are also governed by the main warning settings, namely
# warnings 12 and 13 about interword and intersentence spacings.
### These can be found on page~\pageref{warn:interword}.
#
-# If set to Ignore, then it won't print any warnings when pucntuation
+# If set to Ignore, then it won't print any warnings when punctuation
# follows a command.
#
#
@@ -308,13 +308,13 @@
# POSIX:([^[:alnum:]]|^)intro([^[:alnum:]]|$)
# Pretty tables--see http://texdoc.net/texmf-dist/doc/latex/booktabs/booktabs.pdf
- (?!#-2:Use! \toprule,! midrule,! or! \bottomrule! from! booktabs)\\hline
+ (?!#-2:Use! \toprule,! \midrule,! or! \bottomrule! from! booktabs)\\hline
# This relies on it being on a single line, and not having anything
# else on that line. With PCRE we could match balanced [] and {},
# but I wonder if it's worth the complexity...
(?!#-2:Vertical! rules! in! tables! are! ugly)\\begin\{(array|tabularx?\*?)\}(\[.*\])?\{.*\|.*\}
- (?!#-3:Optional! arguments! []! inside! optional! arguments! []! must! be! enclosed! in! {})\[(?!![^\]\[{}]*{(?!![^\]\[{}]*}))[^\]]*\[
+ (?!#-3:Optional! arguments! []! inside! optional! arguments! []! must! be! enclosed! in! {})PCRE:\[(?!![^\]\[{}]*{(?!![^\]\[{}]*}))[^\]]*\[
}
### \end{verbatim}
@@ -567,7 +567,7 @@
# star variant, two optional arguments, and one required argument.
#
# These commands may be ``evaluated'' before they're wiped, so you will
-# typically list filehandling commands and similar here.
+# typically list file handling commands and similar here.
#
### \chktexrcdefault\begin{verbatim}
WipeArg
@@ -759,7 +759,7 @@
### \begin{chktexrclistvar}{IJAccent}
#
# Commands which add accents above characters. This means that @verb@\i at endverb@ or @verb@\j at endverb@
-# (@verb@\imath at endverb@ and @verb@\jmath at endverb@ in mathmode) should be used instead of @verb at i@endverb@ and @verb at j@endverb at .
+# (@verb@\imath at endverb@ and @verb@\jmath at endverb@ in math mode) should be used instead of @verb at i@endverb@ and @verb at j@endverb at .
#
# Other accent commands such as @verb@\c at endverb@, @verb@\d at endverb@, and @verb@\b at endverb@, put their accent under
# the character, and thus should be used with normal @verb at i@endverb at s and @verb at j@endverb at s.
@@ -810,7 +810,7 @@
# needs italic correction in the end).
#
# This is currently empty, since @verb@\textit at endverb@, @verb@\textsl at endverb@, and @verb@\emph at endverb@
-# automatically add italic corecction.
+# automatically add italic correction.
#
### \chktexrcdefault\begin{verbatim}
ItalCmd
@@ -963,7 +963,7 @@
#
# The arguments of commands listed in at ref@WipeArg at endref@, as well as
# @verb@\verb+...+ at endverb@ commands, are replaced with an innocuous character
-# to prevent that data from inadvertantly producing a warning.
+# to prevent that data from inadvertently producing a warning.
#
# This should not contain an alphabetic character (in case the user
# writes (@verb@\foo\verb+bar+ at endverb@), neither should it contain be one of
Modified: trunk/Build/source/texk/chktex/chktex-src/configure.ac
===================================================================
--- trunk/Build/source/texk/chktex/chktex-src/configure.ac 2024-06-12 08:40:30 UTC (rev 71500)
+++ trunk/Build/source/texk/chktex/chktex-src/configure.ac 2024-06-12 08:45:56 UTC (rev 71501)
@@ -27,7 +27,7 @@
dnl Process this file with autoconf to produce a configure script.
-AC_INIT([ChkTeX],[1.7.8])
+AC_INIT([ChkTeX],[1.7.9])
AC_SUBST(SCRIPTS)
AC_SUBST(BUILT_SCRIPTS)
AC_SUBST(CLEAN)
Deleted: trunk/Build/source/texk/chktex/chktex-src/lacheck
===================================================================
--- trunk/Build/source/texk/chktex/chktex-src/lacheck 2024-06-12 08:40:30 UTC (rev 71500)
+++ trunk/Build/source/texk/chktex/chktex-src/lacheck 2024-06-12 08:45:56 UTC (rev 71501)
@@ -1,27 +0,0 @@
-#! /bin/sh
-
-# lacheck replacement 1.0, lacheck <-> ChkTeX interface (UNIX).
-# Copyright (C) 1996 Jens T. Berger Thielemann
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# Contact the author at:
-# Jens Berger
-# Spektrumvn. 4
-# N-0666 Oslo
-# Norway
-# E-mail: <jensthi at ifi.uio.no>
-
-chktex -v3 $*
Added: trunk/Build/source/texk/chktex/chktex-src/test-all.sh
===================================================================
--- trunk/Build/source/texk/chktex/chktex-src/test-all.sh (rev 0)
+++ trunk/Build/source/texk/chktex/chktex-src/test-all.sh 2024-06-12 08:45:56 UTC (rev 71501)
@@ -0,0 +1,19 @@
+#!/usr/local/bin/bash
+
+set -e
+
+# All 3 RE options
+./configure --disable-pcre --disable-posixre
+make check
+
+./configure --disable-pcre --enable-posixre
+make check
+
+./configure --enable-pcre
+make check
+
+# Out of directory build
+mkdir -p build
+cd build
+../configure --enable-pcre
+make check
Modified: trunk/Build/source/texk/chktex/chktexrc
===================================================================
--- trunk/Build/source/texk/chktex/chktexrc 2024-06-12 08:40:30 UTC (rev 71500)
+++ trunk/Build/source/texk/chktex/chktexrc 2024-06-12 08:45:56 UTC (rev 71501)
@@ -19,11 +19,11 @@
## chktexrc file format
#
-# The chktecrc file is essentially a bunch of variable assignments.
+# The chktexrc file is essentially a bunch of variable assignments.
# There are two types of variables, those that take single items and
# those that take lists.
#
-# In turn, there are two types of lists, case-sensitive and case-insentive.
+# In turn, there are two types of lists, case-sensitive and case-insensitive.
# Case-sensitive lists are delimited by `{' and `}'
# while case-insensitive are delimited by `[' and `]'.
# Only some variables support case insensitive lists, since in many
@@ -33,7 +33,7 @@
#
# Variables can be set with or without an equals sign. If included, the
# `=' causes the variable to be overwritten. This is the only thing
-# that makes sense for varibles taking a single item and so we always
+# that makes sense for variables taking a single item and so we always
# include it in that case. For list variables, omitting the equals
# sign will cause the items in the list to be appended instead of
# overwriting the entire list.
@@ -62,7 +62,7 @@
# You can use double quotes `"' to surround an item with spaces, or you can
# escape spaces as described later.
#
-# Detection of tokens like `}' are somewhat context sensitve---they
+# Detection of tokens like `}' are somewhat context sensitive---they
# have to be preceded by a space (or newline). This allows them to be
# part of an item without escaping. Since some variables require such
# characters, this generally makes life easier.
@@ -98,7 +98,7 @@
## Available Settings
#
-# All avaiable settings follow.
+# All available settings follow.
#
## QuoteStyle
@@ -125,11 +125,11 @@
## CmdSpaceStyle
#
-# How to treat a command is followed by punction. In all cases the
+# How to treat a command is followed by punctuation. In all cases the
# warnings are also governed by the main warning settings, namely
# warnings 12 and 13 about interword and intersentence spacings.
#
-# If set to Ignore, then it won't print any warnings when pucntuation
+# If set to Ignore, then it won't print any warnings when punctuation
# follows a command.
#
#
@@ -238,13 +238,13 @@
# POSIX:([^[:alnum:]]|^)intro([^[:alnum:]]|$)
# Pretty tables--see http://texdoc.net/texmf-dist/doc/latex/booktabs/booktabs.pdf
- (?!#-2:Use! \toprule,! midrule,! or! \bottomrule! from! booktabs)\\hline
+ (?!#-2:Use! \toprule,! \midrule,! or! \bottomrule! from! booktabs)\\hline
# This relies on it being on a single line, and not having anything
# else on that line. With PCRE we could match balanced [] and {},
# but I wonder if it's worth the complexity...
(?!#-2:Vertical! rules! in! tables! are! ugly)\\begin\{(array|tabularx?\*?)\}(\[.*\])?\{.*\|.*\}
- (?!#-3:Optional! arguments! []! inside! optional! arguments! []! must! be! enclosed! in! {})\[(?!![^\]\[{}]*{(?!![^\]\[{}]*}))[^\]]*\[
+ (?!#-3:Optional! arguments! []! inside! optional! arguments! []! must! be! enclosed! in! {})PCRE:\[(?!![^\]\[{}]*{(?!![^\]\[{}]*}))[^\]]*\[
}
@@ -453,7 +453,7 @@
# star variant, two optional arguments, and one required argument.
#
# These commands may be ``evaluated'' before they're wiped, so you will
-# typically list filehandling commands and similar here.
+# typically list file handling commands and similar here.
#
WipeArg
{
@@ -617,7 +617,7 @@
## IJAccent
#
# Commands which add accents above characters. This means that `\i' or `\j'
-# (`\imath' and `\jmath' in mathmode) should be used instead of `i' and `j'.
+# (`\imath' and `\jmath' in math mode) should be used instead of `i' and `j'.
#
# Other accent commands such as `\c', `\d', and `\b', put their accent under
# the character, and thus should be used with normal `i's and `j's.
@@ -656,7 +656,7 @@
# needs italic correction in the end).
#
# This is currently empty, since `\textit', `\textsl', and `\emph'
-# automatically add italic corecction.
+# automatically add italic correction.
#
ItalCmd
{
@@ -771,7 +771,7 @@
#
# The arguments of commands listed in WipeArg, as well as
# `\verb+...+' commands, are replaced with an innocuous character
-# to prevent that data from inadvertantly producing a warning.
+# to prevent that data from inadvertently producing a warning.
#
# This should not contain an alphabetic character (in case the user
# writes (`\foo\verb+bar+'), neither should it contain be one of
Modified: trunk/Build/source/texk/chktex/configure
===================================================================
--- trunk/Build/source/texk/chktex/configure 2024-06-12 08:40:30 UTC (rev 71500)
+++ trunk/Build/source/texk/chktex/configure 2024-06-12 08:45:56 UTC (rev 71501)
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.72 for ChkTeX (TeX Live) 1.7.8.
+# Generated by GNU Autoconf 2.72 for ChkTeX (TeX Live) 1.7.9.
#
# Report bugs to <tex-k at tug.org>.
#
@@ -614,8 +614,8 @@
# Identity of this package.
PACKAGE_NAME='ChkTeX (TeX Live)'
PACKAGE_TARNAME='chktex--tex-live-'
-PACKAGE_VERSION='1.7.8'
-PACKAGE_STRING='ChkTeX (TeX Live) 1.7.8'
+PACKAGE_VERSION='1.7.9'
+PACKAGE_STRING='ChkTeX (TeX Live) 1.7.9'
PACKAGE_BUGREPORT='tex-k at tug.org'
PACKAGE_URL=''
@@ -1374,7 +1374,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-'configure' configures ChkTeX (TeX Live) 1.7.8 to adapt to many kinds of systems.
+'configure' configures ChkTeX (TeX Live) 1.7.9 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1446,7 +1446,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of ChkTeX (TeX Live) 1.7.8:";;
+ short | recursive ) echo "Configuration of ChkTeX (TeX Live) 1.7.9:";;
esac
cat <<\_ACEOF
@@ -1567,7 +1567,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-ChkTeX (TeX Live) configure 1.7.8
+ChkTeX (TeX Live) configure 1.7.9
generated by GNU Autoconf 2.72
Copyright (C) 2023 Free Software Foundation, Inc.
@@ -2109,7 +2109,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by ChkTeX (TeX Live) $as_me 1.7.8, which was
+It was created by ChkTeX (TeX Live) $as_me 1.7.9, which was
generated by GNU Autoconf 2.72. Invocation command line was
$ $0$ac_configure_args_raw
@@ -8823,7 +8823,7 @@
# Define the identity of the package.
PACKAGE='chktex--tex-live-'
- VERSION='1.7.8'
+ VERSION='1.7.9'
printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
@@ -15585,7 +15585,7 @@
Report bugs to <bug-libtool at gnu.org>."
lt_cl_version="\
-ChkTeX (TeX Live) config.lt 1.7.8
+ChkTeX (TeX Live) config.lt 1.7.9
configured by $0, generated by GNU Autoconf 2.72.
Copyright (C) 2011 Free Software Foundation, Inc.
@@ -17215,7 +17215,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by ChkTeX (TeX Live) $as_me 1.7.8, which was
+This file was extended by ChkTeX (TeX Live) $as_me 1.7.9, which was
generated by GNU Autoconf 2.72. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -17283,7 +17283,7 @@
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config='$ac_cs_config_escaped'
ac_cs_version="\\
-ChkTeX (TeX Live) config.status 1.7.8
+ChkTeX (TeX Live) config.status 1.7.9
configured by $0, generated by GNU Autoconf 2.72,
with options \\"\$ac_cs_config\\"
Modified: trunk/Build/source/texk/chktex/version.ac
===================================================================
--- trunk/Build/source/texk/chktex/version.ac 2024-06-12 08:40:30 UTC (rev 71500)
+++ trunk/Build/source/texk/chktex/version.ac 2024-06-12 08:45:56 UTC (rev 71501)
@@ -9,4 +9,4 @@
dnl --------------------------------------------------------
dnl
dnl m4-include this file to define the current chktex version
-m4_define([chktex_version], [1.7.8])
+m4_define([chktex_version], [1.7.9])
More information about the tex-live-commits
mailing list.