Debian Codegraph @

texk/chktex/chktex-src/NEWS

raw
1 Development of ChkTeX is now in a maintainance mode. All versions
2 1.6.x are essentially bug fixes. Version 1.7 added some new features.
3
4 1.7.9 (2024-04-26), released by Ivan Andrus <[email protected]>
5
6 * Spell check chktexrc.in
7 * Check SeenSpace instead of the previous character #65570
8 * Treat silent macros as space for the purposes of interword spacing #65500
9 * Mark a regex as being PCRE only #65033
10 * Fix typo in rule message #64810
11
12 1.7.8 (2022-10-17), released by Ivan Andrus <[email protected]>
13
14 * Fix some packaging issues for CTAN
15
16 1.7.7 (2022-10-17), released by Ivan Andrus <[email protected]>
17
18 * Fix false positives
19 * Fix overzealous warning of x between numbers #60184
20 * Handle nested mathmode e.g. \ensuremath #60197
21 * Add many citation commands from biblatex #56608
22 * Add support for breqn package #62631
23 * WipeArg on \graphicspath #47593
24 * WipeArg on LuaTeX macros which contain lua code #53146
25 * Add \itshape to Silent section https://tex.stackexchange.com/questions/627808/why-does-chktex-complain-when-there-is-a-space-after-itshape-but-not-when-bfse
26 * Make QuoteStyle warnings work with end of sentence punctuation #53494
27 * When checking for inter-word spacing, ignore certain punctuation #54751, #53347
28 * Allow \frenchspacing to turn off warning 13 (intersentence spacing)
29 * Don't warn about space before a parenthesis at the beginning of the line if the previous line ended with a comment (and no space) #109479
30 * Make exit status 2 or 3 (not 1) when warnings or errors are found. Some callers expected a return value of 1 to mean an internal error. #53129
31
32 * Fix many bugs
33 * Make ChkTeX process longer lines, especially on Windows. This doesn't fix the problem entirely, but it should amerliorate it to a large extent.
34 * Make file suppressions only apply to the file they are in. This allows putting all the "badness" into one file. #57809
35 * Add check to make sure input is a regular file and not a directory #56520
36 * Add support for relative paths in sub directories #53494
37 * Manage ConTeXt environments separately from LaTeX environments #51179
38 * Change argument order to avoid undefined behavior in va_start()
39
40 * New warnings and features
41 * Add regex for unescaped optional arguments inside optional arguments #56657
42 * Support RC settings on the command line #56486
43 * Warn about phrases that match DashExcpt _except_ for the hyphens #58886
44 * Add CmdSpaceStyle option to Ignore spacing problems after commands #60809, #60380
45 * Add support for finding chktexrc files in XDG locations #61405
46 * Add new warning when ChkTeX gets confused about mathmode
47
48 * Improved documentation
49 * Make chktexrc somewhat literate and creating ChkTeXRC.tex as well.
50 * Make "keywords" link to the appropriate chktexrc variable documentation
51 * Add note about chktexrc and link to documentation in the help message #50004 #61179
52 * Indicate that debug is a bit field instead of a level
53
54 1.7.6 (2016-09-09), released by Ivan Andrus <[email protected]>
55
56 * Properly copy and free strings. This caused incorrect file
57 reporting in some cases #49000
58 * Add "verbatim" commands and environments from tipa #46734
59 * Avoid infinite loop when a regex matches an empty string
60 * Fix crash on invalid regular expression
61 * Add warnings for $$...$$ and $...$ #47044
62 * Update the banner to reflect current bug reporting contacts
63
64 1.7.5 (2015-12-07), released by Ivan Andrus <[email protected]>
65
66 * Track whether the previous line ended in a comment #45980
67 * Add a few source code environments to VerbEnvir
68 * Don't show long line warning if the last line doesn't have a newline #46539
69 * Fix deweb's handling of file names #46043,#46042
70 * Use the exit status to indicate warnings were found #45979
71 * Consider OS X a UNIX
72
73 1.7.4 (2015-04-11), released by Ivan Andrus <[email protected]>
74
75 * Fixed undefined behavior (patch from TeXLive)
76
77 1.7.3 (2015-04-09), released by Ivan Andrus <[email protected]>
78
79 * Fixed memory leaks and a crashing bug #42813
80 * Added ConTeXt \start... \stop... tracking #44517
81 * Added DashExcpt list for exceptions to dash rules #42237
82 * Support \cite with two optional arguments (biblatex) #44413
83 * Removed warning about using \dots instead of .. #40731
84 This incorrectly warns about relative paths
85 * Removed check for intro since it's common in file names #43013
86 * Turn off warning 19 by default #44226
87 Warning 19 is about Latin-1 quotes, but gives false positives
88 for some utf-8 characters.
89
90 1.7.2 (2013-04-17), released by Ivan Andrus <[email protected]>
91
92 * Fixed display bug on platforms where sizeof(int) != sizeof(regoff_t)
93 * Warn that .. should be \dots like lacheck does
94 * Fixed warnings under clang
95 * Incorporated several build related patches from TeX Live
96
97 1.7.1 (2012-08-22), released by Ivan Andrus <[email protected]>
98
99 * Improvements for TeX Live and CTAN
100 * Fixed bug when checking for interword spacing
101 * Added warning when a file has lines that are too long which can cause problems
102 * Added ability to suppress user regular expression warnings by "naming" them
103 * Added ability to suppress warnings for the rest of the file
104 * Allow using PCRE or POSIX ERE or neither (at configure time).
105 Regular expressions can be marked as PCRE or POSIX only.
106 * Allow () to specify an optional argument in WipeArg to support \cmidrule[](){}
107 * Allow regular expressions for Silent keyword, specified in [] for "case insensitive"
108 * Added warning about \hline and vertical rules in tabular environments
109 * I changed user warnings to be post WipeArg (like they were pre
110 1.7.0). I had changed them in 1.7.0 to be pre WipeArg so that I
111 could match things like \label{...}, but this caused many false
112 positives by matching in comments, etc.
113
114 1.7.0 (2012-05-28), released by Ivan Andrus <[email protected]>
115
116 * Added support for user defined regular expression based warnings
117 * Added support for macros like \ensuremath and \text
118 * Added support for suppressing messages on a single line
119
120 1.6.6 (2012-04-07), released by Ivan Andrus <[email protected]>
121
122 * Fixed some memory issues
123 * Do not increase line number when the line was very long
124 * Some fixes for TexLive
125
126 1.6.5 (??), released by Jean-Marc Lasgouttes <[email protected]>
127
128 * Fix bug where ChkTeX generates a warning about missing space before
129 parenthesis when the parenthesis is at start of line.
130 * Update ChkTeX.tex.in to use proper LaTeX2e markup.
131 * Update the build machinery a bit.
132
133 1.6.4 (2007-10-20), released by Baruch Even
134
135 * For some reason 1.6.3 did not include all the changes it was supposed to
136 have, this release should fix it. One such issue is the MacOS X
137 compilation.
138 * Include some updates to the default chktexrc from Jean-Marc Lasgouttes.
139
140 1.6.3, released by Baruch Even
141
142 * Support DESTDIR for installation to help distributions.
143 * Apply old standing patch from Jean-Marc Lasgouttes to compile outside the
144 directory.
145 * Enable compilation on MacOS X.
146 * Fix various coding issues.
147
148
149 Original versions from Jens T. Berger Thielemann:
150 =================================================
151
152 Modifications and additions since v1.6:
153
154 * Improved the build system
155 * Better fixes for memory access errors
156
157 Modifications and additions since v1.5:
158
159 * Fixed a crash when running from emacs
160 * Fixed a crash when checking our own manual
161 * Added \verb* support
162
163 Modifications and additions since v1.4:
164
165 ** New warnings
166
167 * No space or similar in front/after parenthesis.
168 * Demands a consistent quote style.
169 * Double spaces in input which will not be rendered as one.
170 * Punctuation malplaced regarding to math mode.
171 * Warns about TeX primitives.
172 * Space in front of footnotes.
173 * Bogus \left and \right commands.
174
175 ** Program
176
177 * The abbreviation recognizer has (for the last time?) been
178 redesigned. We now produce far less false warnings, catch more
179 cases and do all this faster than before. Seems like a win. Done
180 much of the same with the italic correction detection part,
181 too.
182 * Some bugs have been silently fixed. Hot spots in the program have
183 been optimized; in certain cases this in fact doubles the speed!
184 * Along with this goes more code elegance and utilization of macro
185 processing and the C language. Take a look at Resource.[ch].
186
187 * It's possible to specify separate output-formats depending on
188 whether you are sending the output to a file/pipe or to a
189 terminal.
190
191 * Column positions are finally correct; we now expand tabs
192 correctly.
193 * ChkTeX will now recursively search for \input'ed
194 files, both in the document and on the commandline. See the
195 chktexrc file for more info.
196 * The debug switch is now more intelligent; if you wish to hack
197 a bit on ChkTeX for yourself, it is possible to produce
198 selective debugging output. The feature can also be disabled
199 altogether.
200 * MS-DOS and OS/2 version of the program is now more flexible
201 and well-behaved, thanks to Gerd Boehm.
202 * You may now say -wall to make all messages warnings, and
203 turn them on.
204 * Uses termcap on UNIX boxes; this should ensure that -v2
205 (or more precisely: %i and %I works regardless to
206 what terminal you are using.
207
208 ** Resource file
209
210 * You may now specify both case-sensitive and case-insensitive user
211 patterns in the chktexrc file. In addition; it is now possible to
212 reset/clear lists.
213 * You can now specify how many optional or required arguments
214 WIPEARG should wipe; it also behaves somewhat more intelligently
215 when the arguments stretch over multiple lines.
216 * Global files will be read in addition to local ones. The searching
217 order has also been reversed in order to make this more
218 intelligent.
219
220 ** Other
221
222 * The documentation has been polished and should now be easier
223 to use in practical situations.
224 * check target in Makefile, so you can check that the installation
225 succeeded. In fact, the Makefile has been enhanced in several other
226 ways too, amongst other it is now GNU conforming.
227 * deweb is now documented; you may say "man deweb" to get a few
228 words of advice. The support script (chkweb) does now behave as the
229 remaining package (accepting stdin input and flags).
230 * I've written an Emacs hack which magically adds ChkTeX to the list
231 of AUC-TeX commands; thus making the use of the program even more
232 trivial. For those of you who don't wish to mess with Emacs, I've
233 included a trivial lacheck <-> ChkTeX interface. This means that you
234 now can use ChkTeX just as easily as lacheck when you're running
235 AUC-TeX.
236 * Added an ARexx script which lets ChkTeX talk to VBrowse, the
237 message browser of Volker Barthelmann's freely distributable ANSI
238 C compiler. The browser itself is available on Aminet as
239 dev/c/vbcc.lha.