AZ logo

CTAN directory: /support/check-parens

You can get the contents of this directory bundled as a zip file.

Packages in this directory:

Identifier Caption
check-parens Check parentheses in LaTeX.

Files

Name Size* Date UTC Notes
Makefile 1 KiB 2012-Jan-16
README 2 KiB 2012-Jan-07 Shown below
check-parens.cc 12 KiB 2012-Jan-16

  *File sizes in kibibytes.

Contents of README

check-parens
============

Description
-----------

Simple program to check LaTeX code for matching parentheses, etc.
It reports any errors/warnings with precise line:pos numbers to
ease finding LaTeX compilation problems as well as mismatches of
parentheses in mathematical formulas.

Licensing
---------

Copyright (C) 2012 Jaap Eldering (eldering@a-eskwadraat.nl).

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 3, 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.

Installation
------------

Compilation requires a C++ compiler that supports the recent C++11
standard. A recent version (>= 4.4) of GNU g++ is known to work.
Running 'make' in the package directory without arguments should
produce the binary.

This binary should be copied to any place in your environment's PATH,
e.g. $HOME/bin or /usr/local/bin.

Usage
-----

Run 'check-parens --help' for an overview of all options.

Default use is 'check-parens <latexfile.tex>'.

Bugs/feedback
-------------

Any bug reports and other feedback is welcome.
Send me an email: <eldering@a-eskwadraat.nl>