blob: 115d88f9533af70cec5fa9e9e38c6930ff90959c (
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
|
|
-------:|:--------------------------------------
script:| match_parens - find mismatches of various brackets and quotes
type:| ruby
author:| Wybo Dekker
email:| wybo@dekkerdocumenten.nl
version:| 1.43
license:| Released under the GNU General Public License
Mismatches of parentheses, braces, (angle) brackets, especially in TeX
sources which may be rich in those, may be difficult to trace. This little
script helps you by writing your text to standard output, after adding a
left margin to your text, which will normally be almost empty, but will
clearly show up to 10 mismatches. (Just try me on myself to see that the
parenthesis starting this sentence will not appear to be matched at the end
of the file. If you look at me in the vim editor, then select this
paragraph and try the command: :!%.
Recent changes:
Changes with respect to version 1.41:
- test on more quote characters (single, double, ASCII, Unicode)
- option for changing the character pairs to be tested
- conversion of latex' ``...'' is now an option
- built-in test option --test
|