texeqn(1) UNIX System V(2/2/84) texeqn(1)
NAME
texeqn - extracts displayed equations in TeX and LaTeX documents.
SYNOPSIS
texeqn [-iw] filename
DESCRIPTION
It is sometimes desirable to check only the equations of a document.
Texeqn strips those patterns that constitute displayed equations, i.e.
anything surrounded by two dollar signs, \begin{equation} and
\end{equation}, \begin{eqnarray} and \end{eqnarray}, or
\begin{displaymath} and \end{displaymath}. Note that this also includes
any text that is displayed in this fashion even if it is not an equation.
Macros defines by \def or \newcommand are also stripped, since the user
is likely to use them in those equations. Also, \input and \include
files are inserted unless the -i flag is used.
Warning is given if suspected unmatching is detected. Use the -w flag to
suppress these warnings.
Text commented by '%' is ignored.
Using texeqn alone does not typest the equations. If you want them
typeset use the -eqn option with TEX(1).
DIAGNOSTICS
Displayed equations that are started and ended by user-defined control
sequences are nor recognized.
White spaces within LaTeX's \begin{...} and \end{...} are not allowed
for.
SEE ALSO
TEX(1), detex(1), texexpand(1), texmatch(1)
AUTHOR
Kamal Al-Yahya, Stanford University
10/89 Page 1