Comprehensive TeX Archive Network

Direc­tory support/match_parens

 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

Down­load the con­tents of this pack­age in one zip archive (58.6k).

match_parens – Find mis­matches of paren­the­ses, braces, (an­gle) brack­ets, in texts

Mis­matches of paren­the­ses, braces, (an­gle) brack­ets, es­pe­cially in sources which may be rich in those, may be dif­fi­cult to trace. This lit­tle Ruby script helps you by writ­ing your text to stan­dard out­put, af­ter adding a left mar­gin to your text, which will nor­mally be al­most empty, but will clearly show any mis­matches.

Li­cense GNU Gen­eral Public Li­cense
Main­tainerWybo H. Dekker
Con­tained inTeX Live as match_parens
Topics sup­port for pack­age or doc­u­ment de­bug­ging
Guest Book Sitemap Contact Contact Author