summaryrefslogtreecommitdiff
path: root/support/chktex/Test.pcre.out
blob: 2f47f60de110c8459f0ce6756811d805067f49bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
Message 30 in Test.tex: Multiple spaces detected in input.
    o To test the program upon it  
 ^^^
Message 30 in Test.tex: Multiple spaces detected in input.
    o To show off some of the features  
 ^^^
Message 22 in Test.tex: Comment displayed.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  
^
Message 22 in Test.tex: Comment displayed.
% Warning 1  
^
Message 1 in Test.tex: Command terminated with space.
\foo This is an error.  
    ^
Message 1 in Test.tex: Command terminated with space.
So is this \foo  
               ^
Message 46 in Test.tex: Use \( ... \) instead of $ ... $.
\smallskip This is a not. $\foo Neither$ is this.  
                          ^^^^^^^^^^^^^^
Message 22 in Test.tex: Comment displayed.
% Warning 2  
^
Message 2 in Test.tex: Non-breaking space (`~') should have been used.
This is a faulty reference to \ref{foo}  
                             ^
Message 22 in Test.tex: Comment displayed.
% Warning 3  
^
Message 46 in Test.tex: Use \( ... \) instead of $ ... $.
$[(ab)^{-1}]^{-2}$  is not beautiful  
^^^^^^^^^^^^^^^^^^
Message 3 in Test.tex: You should enclose the previous parenthesis with `{}'.
$[(ab)^{-1}]^{-2}$  is not beautiful  
     ^
Message 3 in Test.tex: You should enclose the previous parenthesis with `{}'.
$[(ab)^{-1}]^{-2}$  is not beautiful  
           ^
Message 30 in Test.tex: Multiple spaces detected in input.
$[(ab)^{-1}]^{-2}$  is not beautiful  
                  ^^
Message 46 in Test.tex: Use \( ... \) instead of $ ... $.
${{[{(ab)}^{-1}]}}^{-2}$ is beautiful  
^^^^^^^^^^^^^^^^^^^^^^^^
Message 22 in Test.tex: Comment displayed.
% Warning 4-6, 28  
^
Message 6 in Test.tex: No italic correction (`\/') found.
Testing {\it italic} in \/ this {\em sentence\/}, as {\em you \/ see\/}.  
                   ^
Message 42 in Test.tex: You should remove spaces in front of `\/'
Testing {\it italic} in \/ this {\em sentence\/}, as {\em you \/ see\/}.  
                       ^
Message 4 in Test.tex: Italic correction (`\/') found in non-italic buffer.
Testing {\it italic} in \/ this {\em sentence\/}, as {\em you \/ see\/}.  
                        ^^
Message 28 in Test.tex: Don't use \/ in front of small punctuation.
Testing {\it italic} in \/ this {\em sentence\/}, as {\em you \/ see\/}.  
                                             ^^
Message 42 in Test.tex: You should remove spaces in front of `\/'
Testing {\it italic} in \/ this {\em sentence\/}, as {\em you \/ see\/}.  
                                                             ^
Message 5 in Test.tex: Italic correction (`\/') found more than once.
Testing {\it italic} in \/ this {\em sentence\/}, as {\em you \/ see\/}.  
                                                                    ^^
Message 22 in Test.tex: Comment displayed.
% LaTeX2e  
^
Message 42 in Test.tex: You should remove spaces in front of `\/'
Testing \textem{italic} in \/ this \textit{sentence\/}, as \textem{you \/ see\/}.  
                          ^
Message 4 in Test.tex: Italic correction (`\/') found in non-italic buffer.
Testing \textem{italic} in \/ this \textit{sentence\/}, as \textem{you \/ see\/}.  
                           ^^
Message 4 in Test.tex: Italic correction (`\/') found in non-italic buffer.
Testing \textem{italic} in \/ this \textit{sentence\/}, as \textem{you \/ see\/}.  
                                                   ^^
Message 42 in Test.tex: You should remove spaces in front of `\/'
Testing \textem{italic} in \/ this \textit{sentence\/}, as \textem{you \/ see\/}.  
                                                                      ^
Message 4 in Test.tex: Italic correction (`\/') found in non-italic buffer.
Testing \textem{italic} in \/ this \textit{sentence\/}, as \textem{you \/ see\/}.  
                                                                       ^^
Message 4 in Test.tex: Italic correction (`\/') found in non-italic buffer.
Testing \textem{italic} in \/ this \textit{sentence\/}, as \textem{you \/ see\/}.  
                                                                             ^^
Message 4 in Test.tex: Italic correction (`\/') found in non-italic buffer.
Testing \textem{italic\/} in this \textit{sentence}, as \textem{you see}.  
                      ^^
Message 22 in Test.tex: Comment displayed.
% Warning 7  
^
Message 7 in Test.tex: Accent command `\'' needs use of `\i'.
This \'is a test of $\hat{j}$ accents.  
     ^^
Message 46 in Test.tex: Use \( ... \) instead of $ ... $.
This \'is a test of $\hat{j}$ accents.  
                    ^^^^^^^^^
Message 7 in Test.tex: Accent command `\hat' needs use of `\jmath'.
This \'is a test of $\hat{j}$ accents.  
                     ^^^^
Message 46 in Test.tex: Use \( ... \) instead of $ ... $.
This \'{\i}s a test of $\hat{\jmath}$ accents.  
                       ^^^^^^^^^^^^^^
Message 22 in Test.tex: Comment displayed.
% Warning 8  
^
Message 8 in Test.tex: Wrong length of dash may have been used.
It wasn't anything - just a 2---3 star--shots.  
                   ^
Message 8 in Test.tex: Wrong length of dash may have been used.
It wasn't anything - just a 2---3 star--shots.  
                             ^^^
Message 8 in Test.tex: Wrong length of dash may have been used.
It wasn't anything - just a 2---3 star--shots.  
                                      ^^
Message 22 in Test.tex: Comment displayed.
% From Knuths TeXbook Chapter 14  
^
Message 22 in Test.tex: Comment displayed.
% "How TeX Breaks Paragraphs into Lines", fourth paragraph:  
^
Message 22 in Test.tex: Comment displayed.
% Using DashExcpt  
^
Message 8 in Test.tex: Wrong length of dash may have been used.
The Birch--Swinnerton--Dyer conjecture is not correct.  
         ^^
Message 8 in Test.tex: Wrong length of dash may have been used.
The Birch--Swinnerton--Dyer conjecture is not correct.  
                     ^^
Message 8 in Test.tex: Wrong length of dash may have been used.
The Birch-Swinnerton-Dyer conjecture is not correct (is now caught).  
         ^
Message 22 in Test.tex: Comment displayed.
% Warning 9-10  
^
Message 22 in Test.tex: Comment displayed.
% Brackets:  
^
Message 37 in Test.tex: You should avoid spaces in front of parenthesis.
)}{[])} }}}]]])))  
^
Message 10 in Test.tex: Solo `)' found.
)}{[])} }}}]]])))  
^
Message 10 in Test.tex: Solo `}' found.
)}{[])} }}}]]])))  
 ^
Message 9 in Test.tex: `}' expected, found `)'.
)}{[])} }}}]]])))  
     ^
Message 10 in Test.tex: Solo `}' found.
)}{[])} }}}]]])))  
      ^
Message 10 in Test.tex: Solo `}' found.
)}{[])} }}}]]])))  
        ^
Message 10 in Test.tex: Solo `}' found.
)}{[])} }}}]]])))  
         ^
Message 10 in Test.tex: Solo `}' found.
)}{[])} }}}]]])))  
          ^
Message 10 in Test.tex: Solo `]' found.
)}{[])} }}}]]])))  
           ^
Message 10 in Test.tex: Solo `]' found.
)}{[])} }}}]]])))  
            ^
Message 10 in Test.tex: Solo `]' found.
)}{[])} }}}]]])))  
             ^
Message 10 in Test.tex: Solo `)' found.
)}{[])} }}}]]])))  
              ^
Message 10 in Test.tex: Solo `)' found.
)}{[])} }}}]]])))  
               ^
Message 10 in Test.tex: Solo `)' found.
)}{[])} }}}]]])))  
                ^
Message 44 in Test.tex: User Regex: -3:Optional arguments [] inside optional arguments [] must be enclosed in {}.
{[]} ((([[[{{{}}}]]])))  
        ^^^
Message 22 in Test.tex: Comment displayed.
% Envs:  
^
Message 9 in Test.tex: `baz' expected, found `quux'.
\begin{quux} \begin{baz} \end{quux} \end{baz} \end{asoi} \begin{dobedo}  
                         ^^^^
Message 9 in Test.tex: `quux' expected, found `baz'.
\begin{quux} \begin{baz} \end{quux} \end{baz} \end{asoi} \begin{dobedo}  
                                    ^^^^
Message 10 in Test.tex: Solo `asoi' found.
\begin{quux} \begin{baz} \end{quux} \end{baz} \end{asoi} \begin{dobedo}  
                                              ^^^^
Message 22 in Test.tex: Comment displayed.
% Warning 47 -- ConTeXt environment mismatch -- split from 9  
^
Message 47 in Test.tex: `section' expected, found `text' (ConTeXt).
\stoptext  
     ^^^^
Message 22 in Test.tex: Comment displayed.
% (Un)fortunately, this is not an error  
^
Message 22 in Test.tex: Comment displayed.
% Warning 11  
^
Message 11 in Test.tex: You should use \ldots to achieve an ellipsis.
Foo...bar. $1,...,3$. $1+...+3$. $1,\cdots,3$. $1\cdot\ldots\cdot3$.  
   ^^^
Message 46 in Test.tex: Use \( ... \) instead of $ ... $.
Foo...bar. $1,...,3$. $1+...+3$. $1,\cdots,3$. $1\cdot\ldots\cdot3$.  
           ^^^^^^^^^
Message 11 in Test.tex: You should use \ldots to achieve an ellipsis.
Foo...bar. $1,...,3$. $1+...+3$. $1,\cdots,3$. $1\cdot\ldots\cdot3$.  
              ^^^
Message 46 in Test.tex: Use \( ... \) instead of $ ... $.
Foo...bar. $1,...,3$. $1+...+3$. $1,\cdots,3$. $1\cdot\ldots\cdot3$.  
                      ^^^^^^^^^
Message 11 in Test.tex: You should use \cdots to achieve an ellipsis.
Foo...bar. $1,...,3$. $1+...+3$. $1,\cdots,3$. $1\cdot\ldots\cdot3$.  
                         ^^^
Message 46 in Test.tex: Use \( ... \) instead of $ ... $.
Foo...bar. $1,...,3$. $1+...+3$. $1,\cdots,3$. $1\cdot\ldots\cdot3$.  
                                 ^^^^^^^^^^^^
Message 11 in Test.tex: You should use \ldots to achieve an ellipsis.
Foo...bar. $1,...,3$. $1+...+3$. $1,\cdots,3$. $1\cdot\ldots\cdot3$.  
                                    ^^^^^^
Message 46 in Test.tex: Use \( ... \) instead of $ ... $.
Foo...bar. $1,...,3$. $1+...+3$. $1,\cdots,3$. $1\cdot\ldots\cdot3$.  
                                               ^^^^^^^^^^^^^^^^^^^^
Message 11 in Test.tex: You should use \cdots to achieve an ellipsis.
Foo...bar. $1,...,3$. $1+...+3$. $1,\cdots,3$. $1\cdot\ldots\cdot3$.  
                                                      ^^^^^^
Message 46 in Test.tex: Use \( ... \) instead of $ ... $.
Foo\dots bar. $1,\ldots,3$. $1+\cdots+3$. $1,\ldots,3$. $1\cdot\cdots\cdot3$.  
              ^^^^^^^^^^^^
Message 46 in Test.tex: Use \( ... \) instead of $ ... $.
Foo\dots bar. $1,\ldots,3$. $1+\cdots+3$. $1,\ldots,3$. $1\cdot\cdots\cdot3$.  
                            ^^^^^^^^^^^^
Message 46 in Test.tex: Use \( ... \) instead of $ ... $.
Foo\dots bar. $1,\ldots,3$. $1+\cdots+3$. $1,\ldots,3$. $1\cdot\cdots\cdot3$.  
                                          ^^^^^^^^^^^^
Message 46 in Test.tex: Use \( ... \) instead of $ ... $.
Foo\dots bar. $1,\ldots,3$. $1+\cdots+3$. $1,\ldots,3$. $1\cdot\cdots\cdot3$.  
                                                        ^^^^^^^^^^^^^^^^^^^^
Message 22 in Test.tex: Comment displayed.
% Warning 12  
^
Message 12 in Test.tex: Interword spacing (`\ ') should perhaps be used.
1st. Foo Inc. Ab.cd. foo ab.cd. Foo. bar baz., billy.; bob.: joe.! frank.? james.. george  
    ^
Message 12 in Test.tex: Interword spacing (`\ ') should perhaps be used.
1st. Foo Inc. Ab.cd. foo ab.cd. Foo. bar baz., billy.; bob.: joe.! frank.? james.. george  
                    ^
Message 12 in Test.tex: Interword spacing (`\ ') should perhaps be used.
1st. Foo Inc. Ab.cd. foo ab.cd. Foo. bar baz., billy.; bob.: joe.! frank.? james.. george  
                                    ^
Message 12 in Test.tex: Interword spacing (`\ ') should perhaps be used.
1st. Foo Inc. Ab.cd. foo ab.cd. Foo. bar baz., billy.; bob.: joe.! frank.? james.. george  
                                                           ^
Message 12 in Test.tex: Interword spacing (`\ ') should perhaps be used.
1st. Foo Inc. Ab.cd. foo ab.cd. Foo. bar baz., billy.; bob.: joe.! frank.? james.. george  
                                                                 ^
Message 12 in Test.tex: Interword spacing (`\ ') should perhaps be used.
1st. Foo Inc. Ab.cd. foo ab.cd. Foo. bar baz., billy.; bob.: joe.! frank.? james.. george  
                                                                         ^
Message 12 in Test.tex: Interword spacing (`\ ') should perhaps be used.
1st. Foo Inc. Ab.cd. foo ab.cd. Foo. bar baz., billy.; bob.: joe.! frank.? james.. george  
                                                                                 ^
Message 22 in Test.tex: Comment displayed.
% Bug 54751  
^
Message 12 in Test.tex: Interword spacing (`\ ') should perhaps be used.
Mr. ``X'' and Mrs. \(Y\)  
   ^
Message 12 in Test.tex: Interword spacing (`\ ') should perhaps be used.
Mr. ``X'' and Mrs. \(Y\)  
                  ^
Message 22 in Test.tex: Comment displayed.
% ignore commands by default  
^
Message 22 in Test.tex: Comment displayed.
% Warning 13  
^
Message 13 in Test.tex: Intersentence spacing (`\@') should perhaps be used.
Look at THIS! It's an error.  
            ^
Message 22 in Test.tex: Comment displayed.
% after frenchspacing it's not an error  
^
Message 22 in Test.tex: Comment displayed.
% warning again  
^
Message 13 in Test.tex: Intersentence spacing (`\@') should perhaps be used.
Look at THIS! It's an error.  
            ^
Message 22 in Test.tex: Comment displayed.
% ignore commands by default  
^
Message 21 in Test.tex: This command might not be intended.
Look at \THIS\@! It's not an error. D. E. Knuth.  
             ^^
Message 22 in Test.tex: Comment displayed.
% Warning 14  
^
Message 1 in Test.tex: Command terminated with space.
\hat  
    ^
Message 14 in Test.tex: Could not find argument for command.
\hat  
^^^^
Message 22 in Test.tex: Comment displayed.
% Warning 18,19  
^
Message 18 in Test.tex: Use either `` or '' as an alternative to `"'.
Is this an "example", or is it an ´example´.  
           ^
Message 18 in Test.tex: Use either `` or '' as an alternative to `"'.
Is this an "example", or is it an ´example´.  
                   ^
Message 19 in Test.tex: Use "'" (ASCII 39) instead  of "´" (ASCII 180).
Is this an "example", or is it an ´example´.  
                                  ^
Message 19 in Test.tex: Use "'" (ASCII 39) instead  of "´" (ASCII 180).
Is this an "example", or is it an ´example´.  
                                          ^
Message 22 in Test.tex: Comment displayed.
% Warning 20  
^
Message 20 in Test.tex: User-specified pattern found: \unknown.
That bug is \unknown\ to me.  
            ^^^^^^^^
Message 22 in Test.tex: Comment displayed.
% That bug is \unknown\ to me.  
^
Message 22 in Test.tex: Comment displayed.
% Warning 21  
^
Message 21 in Test.tex: This command might not be intended.
\LaTeX\ is an extension of \TeX\. Right?  
                               ^^
Message 22 in Test.tex: Comment displayed.
% Warning 23  
^
Message 23 in Test.tex: Either `\,`` or ``\,` will look better.
```Hello', I heard him said'', she remembered.  
^^^
Message 22 in Test.tex: Comment displayed.
% Warning 24  
^
Message 24 in Test.tex: Delete this space to maintain correct pagereferences.
Indexing text \index{text} is fun!  
             ^
Message 22 in Test.tex: Comment displayed.
Indexing text%  
             ^
Message 30 in Test.tex: Multiple spaces detected in input.
     \index{text} is fun!  
 ^^^^
Message 24 in Test.tex: Delete this space to maintain correct pagereferences.
     \index{text} is fun!  
    ^
Message 22 in Test.tex: Comment displayed.
% Warning 25  
^
Message 46 in Test.tex: Use \( ... \) instead of $ ... $.
$5\cdot10^10$  
^^^^^^^^^^^^^
Message 25 in Test.tex: You might wish to put this between a pair of `{}'
$5\cdot10^10$  
          ^^
Message 46 in Test.tex: Use \( ... \) instead of $ ... $.
$5\cdot10^{10}$  
^^^^^^^^^^^^^^^
Message 22 in Test.tex: Comment displayed.
% Warning 26  
^
Message 26 in Test.tex: You ought to remove spaces in front of punctuation.
Do you understand ?  
                 ^
Message 22 in Test.tex: Comment displayed.
% Warning 27  
^
Message 1 in input.tex: Command terminated with space.
\this is a test of whether the file is actually inputted...  
     ^
Message 11 in input.tex: You should use \ldots to achieve an ellipsis.
\this is a test of whether the file is actually inputted...  
                                                        ^^^
Message 1 in input.tex: Command terminated with space.
\this is a test of whether the file is actually inputted...  
     ^
Message 11 in input.tex: You should use \ldots to achieve an ellipsis.
\this is a test of whether the file is actually inputted...  
                                                        ^^^
Message 22 in input/file: Comment displayed.
% -*- TeX -*-  
^
Message 22 in input/file: Comment displayed.
% chktex-file 22  
^
Message 22 in Test.tex: Comment displayed.
% Warning 29  
^
Message 29 in Test.tex: $\times$ may look prettier here.
The program opens a screen sized 640x200 pixels  
                                    ^
Message 46 in Test.tex: Use \( ... \) instead of $ ... $.
The program opens a screen sized $640\times200$ pixels  
                                 ^^^^^^^^^^^^^^
Message 46 in Test.tex: Use \( ... \) instead of $ ... $.
Approximately $\frac{2x}{1+x}$ $x$s shouldn't be errors.  
              ^^^^^^^^^^^^^^^^
Message 46 in Test.tex: Use \( ... \) instead of $ ... $.
Approximately $\frac{2x}{1+x}$ $x$s shouldn't be errors.  
                               ^^^
Message 22 in Test.tex: Comment displayed.
% Warning 30  
^
Message 30 in Test.tex: Multiple spaces detected in input.
White           is a beautiful colour.  
     ^^^^^^^^^^^
Message 22 in Test.tex: Comment displayed.
% Warning 31  
^
Message 31 in Test.tex: This text may be ignored.
\end{verbatim} foo bar  
               ^^^^^^^
Message 22 in Test.tex: Comment displayed.
% Warning 32-34  
^
Message 32 in Test.tex: Use ` to begin quotation, not '.
This is either an 'example`, an ''example`` or an `"`example'`'.  
                  ^
Message 33 in Test.tex: Use ' to end quotation, not `.
This is either an 'example`, an ''example`` or an `"`example'`'.  
                          ^
Message 32 in Test.tex: Use ` to begin quotation, not '.
This is either an 'example`, an ''example`` or an `"`example'`'.  
                                ^^
Message 33 in Test.tex: Use ' to end quotation, not `.
This is either an 'example`, an ''example`` or an `"`example'`'.  
                                         ^^
Message 34 in Test.tex: Don't mix quotes.
This is either an 'example`, an ''example`` or an `"`example'`'.  
                                                  ^^^
Message 34 in Test.tex: Don't mix quotes.
This is either an 'example`, an ''example`` or an `"`example'`'.  
                                                            ^^^
Message 22 in Test.tex: Comment displayed.
% Warning 35  
^
Message 46 in Test.tex: Use \( ... \) instead of $ ... $.
$sin^2 + cos^2 = 1$  
^^^^^^^^^^^^^^^^^^^
Message 35 in Test.tex: You should perhaps use `\sin' instead.
$sin^2 + cos^2 = 1$  
 ^^^
Message 35 in Test.tex: You should perhaps use `\cos' instead.
$sin^2 + cos^2 = 1$  
         ^^^
Message 46 in Test.tex: Use \( ... \) instead of $ ... $.
$\sin^2 + \cos^2 = 1$  
^^^^^^^^^^^^^^^^^^^^^
Message 22 in Test.tex: Comment displayed.
% Warning 36-37  
^
Message 36 in Test.tex: You should put a space in front of parenthesis.
This( an example( Nuff said )), illustrates( ``my'' )point.  
    ^
Message 37 in Test.tex: You should avoid spaces after parenthesis.
This( an example( Nuff said )), illustrates( ``my'' )point.  
     ^
Message 36 in Test.tex: You should put a space in front of parenthesis.
This( an example( Nuff said )), illustrates( ``my'' )point.  
                ^
Message 37 in Test.tex: You should avoid spaces after parenthesis.
This( an example( Nuff said )), illustrates( ``my'' )point.  
                 ^
Message 37 in Test.tex: You should avoid spaces in front of parenthesis.
This( an example( Nuff said )), illustrates( ``my'' )point.  
                            ^
Message 36 in Test.tex: You should put a space in front of parenthesis.
This( an example( Nuff said )), illustrates( ``my'' )point.  
                                           ^
Message 37 in Test.tex: You should avoid spaces after parenthesis.
This( an example( Nuff said )), illustrates( ``my'' )point.  
                                            ^
Message 37 in Test.tex: You should avoid spaces in front of parenthesis.
This( an example( Nuff said )), illustrates( ``my'' )point.  
                                                    ^
Message 36 in Test.tex: You should put a space after parenthesis.
This( an example( Nuff said )), illustrates( ``my'' )point.  
                                                     ^
Message 22 in Test.tex: Comment displayed.
% Warning 38  
^
Message 38 in Test.tex: You should not use punctuation in front of quotes.
``An example,'' he said, ``would be great.''  
            ^
Message 38 in Test.tex: You should not use punctuation in front of quotes.
``An example,'' he said, ``would be great.''  
                                         ^
Message 22 in Test.tex: Comment displayed.
% Warning 39  
^
Message 39 in Test.tex: Double space found.
For output codes, see table ~\ref{tab:fmtout}.  
                           ^
Message 22 in Test.tex: Comment displayed.
% Warning 40  
^
Message 46 in Test.tex: Use \( ... \) instead of $ ... $.
$\this,$ and $$this$$.  
^^^^^^^^
Message 40 in Test.tex: You should put punctuation outside inner math mode.
$\this,$ and $$this$$.  
      ^
Message 45 in Test.tex: Use \[ ... \] instead of $$ ... $$.
$\this,$ and $$this$$.  
             ^^^^^^^^
Message 40 in Test.tex: You should put punctuation inside display math mode.
$\this,$ and $$this$$.  
                     ^
Message 46 in Test.tex: Use \( ... \) instead of $ ... $.
$\this$, and $$this.$$  
^^^^^^^
Message 45 in Test.tex: Use \[ ... \] instead of $$ ... $$.
$\this$, and $$this.$$  
             ^^^^^^^^^
Message 22 in Test.tex: Comment displayed.
% Warning 41  
^
Message 1 in Test.tex: Command terminated with space.
foo \above qux  
          ^
Message 41 in Test.tex: You ought to not use primitive TeX in LaTeX code.
foo \above qux  
    ^^^^^^
Message 22 in Test.tex: Comment displayed.
% Warning 42  
^
Message 42 in Test.tex: You should remove spaces in front of `\footnote'
This is a footnote \footnote{foo}.  
                  ^
Message 22 in Test.tex: Comment displayed.
% Warning 43  
^
Message 46 in Test.tex: Use \( ... \) instead of $ ... $.
Here is a mistake $\left{x\right}$.  
                  ^^^^^^^^^^^^^^^^
Message 43 in Test.tex: `\left' is normally not followed by `{'.
Here is a mistake $\left{x\right}$.  
                   ^^^^^
Message 43 in Test.tex: `\right' is normally not followed by `}'.
Here is a mistake $\left{x\right}$.  
                          ^^^^^^
Message 46 in Test.tex: Use \( ... \) instead of $ ... $.
This one triggers warning 22 $\left\{x\right\}$.  
                             ^^^^^^^^^^^^^^^^^^
Message 21 in Test.tex: This command might not be intended.
This one triggers warning 22 $\left\{x\right\}$.  
                                   ^^
Message 21 in Test.tex: This command might not be intended.
This one triggers warning 22 $\left\{x\right\}$.  
                                            ^^
Message 46 in Test.tex: Use \( ... \) instead of $ ... $.
Here \chktex\ doesn't complain $\left\lbrace x\right\rbrace$.  
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Message 22 in Test.tex: Comment displayed.
% Warning 44 -- user regex -- default message  
^
Message 22 in Test.tex: Comment displayed.
% Warning 44 -- user regex -- user message  
^
Message 46 in Test.tex: Use \( ... \) instead of $ ... $.
For every $p\not|n$ you have an ugly prime which doesn't divide $n$.  
          ^^^^^^^^^
Message 46 in Test.tex: Use \( ... \) instead of $ ... $.
For every $p\not|n$ you have an ugly prime which doesn't divide $n$.  
                                                                ^^^
Message 44 in Test.tex: User Regex: Always use \nmid.
For every $p\not|n$ you have an ugly prime which doesn't divide $n$.  
            ^^^^^
Message 46 in Test.tex: Use \( ... \) instead of $ ... $.
For every $p\nmid n$ you have a cute prime which doesn't divide $n$.  
          ^^^^^^^^^^
Message 46 in Test.tex: Use \( ... \) instead of $ ... $.
For every $p\nmid n$ you have a cute prime which doesn't divide $n$.  
                                                                ^^^
Message 22 in Test.tex: Comment displayed.
% Warning about optional arguments inside optional arguments  
^
Message 44 in Test.tex: User Regex: -3:Optional arguments [] inside optional arguments [] must be enclosed in {}.
\begin{something}[\cite2[1231]{adadsd}]\end{something}  
                 ^^^^^^^^
Message 44 in Test.tex: User Regex: -3:Optional arguments [] inside optional arguments [] must be enclosed in {}.
[dasd{dasda[ ads[ dasd ]]}]  
           ^^^^^^
Message 44 in Test.tex: User Regex: -3:Optional arguments [] inside optional arguments [] must be enclosed in {}.
adssd[ {}[]]  
     ^^^^^
Message 44 in Test.tex: User Regex: -3:Optional arguments [] inside optional arguments [] must be enclosed in {}.
\begin{something}[\cite{adadsd}[1231]]\end{something}  
                 ^^^^^^^^^^^^^^^
Message 44 in Test.tex: User Regex: -3:Optional arguments [] inside optional arguments [] must be enclosed in {}.
\begin{something}[ ][\cite{adadsd}[1231]]\end{something}  
                    ^^^^^^^^^^^^^^^
Message 22 in Test.tex: Comment displayed.
% Shouldn't warn  
^
Message 22 in Test.tex: Comment displayed.
% Math mode check  
^
Message 35 in Test.tex: You should perhaps use `\sin' instead.
\ensuremath{sin x\text{is not the same as sin x, but is the same as $sin x$}}  
            ^^^
Message 46 in Test.tex: Use \( ... \) instead of $ ... $.
\ensuremath{sin x\text{is not the same as sin x, but is the same as $sin x$}}  
                                                                    ^^^^^^^
Message 35 in Test.tex: You should perhaps use `\sin' instead.
\ensuremath{sin x\text{is not the same as sin x, but is the same as $sin x$}}  
                                                                     ^^^
Message 46 in Test.tex: Use \( ... \) instead of $ ... $.
Also, $x(3)\text{ is not x(3) but it is $x(3)$}$  
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Message 36 in Test.tex: You should put a space in front of parenthesis.
Also, $x(3)\text{ is not x(3) but it is $x(3)$}$  
                          ^
Message 46 in Test.tex: Use \( ... \) instead of $ ... $.
Also, $x(3)\text{ is not x(3) but it is $x(3)$}$  
                                        ^^^^^^
Message 22 in Test.tex: Comment displayed.
% breqn mode check  
^
Message 35 in Test.tex: You should perhaps use `\sin' instead.
sin x  
^^^
Message 46 in Test.tex: Use \( ... \) instead of $ ... $.
is not the same as sin x, but is the same as $sin x$  
                                             ^^^^^^^
Message 35 in Test.tex: You should perhaps use `\sin' instead.
is not the same as sin x, but is the same as $sin x$  
                                              ^^^
Message 22 in Test.tex: Comment displayed.
This is\\% a comment. Nothing here should be checked(right)?  
         ^
Message 36 in Test.tex: You should put a space in front of parenthesis.
But this is not a \% comment, so we should find this error(right)?  
                                                          ^
Message 22 in Test.tex: Comment displayed.
Here(on this line only)is a warning $sin(x)$ suppressed. % chktex 36 chktex 35  
                                                         ^
Message 46 in Test.tex: Use \( ... \) instead of $ ... $.
Here(on this line only)is a warning $sin(x)$ suppressed. % chktex 36 chktex 35  
                                    ^^^^^^^^
Message 22 in Test.tex: Comment displayed.
Here(on this line only)is a warning $sin(x)$ suppressed. % CHKTEX 35 36  
                                                         ^
Message 36 in Test.tex: You should put a space in front of parenthesis.
Here(on this line only)is a warning $sin(x)$ suppressed. % CHKTEX 35 36  
    ^
Message 36 in Test.tex: You should put a space after parenthesis.
Here(on this line only)is a warning $sin(x)$ suppressed. % CHKTEX 35 36  
                       ^
Message 46 in Test.tex: Use \( ... \) instead of $ ... $.
Here(on this line only)is a warning $sin(x)$ suppressed. % CHKTEX 35 36  
                                    ^^^^^^^^
Message 44 in Test.tex: User Regex: -1:Capitalize before references.
In section~\ref{sec:3} we have a warning.  
   ^^^^^^^^^^^^
Message 22 in Test.tex: Comment displayed.
In section~\ref{sec:4} it is suppressed. % chktex -1  
                                         ^
Message 22 in Test.tex: Comment displayed.
% In section~\ref{sec:5} we don't have a warning.  
^
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.
  \hline  
  ^^^^^^
Message 22 in Test.tex: Comment displayed.
% Verb check  
^
Message 14 in Test.tex: Could not find argument for command.
\verb#  
^^^^^
Message 31 in Test.tex: This text may be ignored.
\end{verbatim} FOO  
               ^^^
Message 22 in Test.tex: Comment displayed.
% WipeArg  
^
Message 22 in Test.tex: Comment displayed.
% Bug 60197 -- "double math mode" should be handled okay  
^
Message 22 in Test.tex: Comment displayed.
% Warning 49  
^
Message 49 in Test.tex: Expected math mode to be on here.
\]  
^
Message 22 in Test.tex: Comment displayed.
% Warning 16,15  
^
Message 45 in Test.tex: Use \[ ... \] instead of $$ ... $$.
$$(  
^^^^^^^
Message 22 in Test.tex: Comment displayed.
% Local Variables:  
^
Message 22 in Test.tex: Comment displayed.
% require-final-newline: nil  
^
Message 22 in Test.tex: Comment displayed.
% End:  
^
Message 22 in Test.tex: Comment displayed.
% There should be no newline at the end of this file to test bug #46539 
^
Message 48 in Test.tex: No match found for `text' (ConTeXt).
\starttext  
      ^^^^
Message 16 in Test.tex: Mathmode still on at end of LaTeX file.


Message 17 in Test.tex: Number of `(' doesn't match the number of `)'!


Message 17 in Test.tex: Number of `[' doesn't match the number of `]'!


Message 17 in Test.tex: Number of `{' doesn't match the number of `}'!