detex
Section: User Commands (1)
Updated: 2/27/86
Index
Return to Main Contents
NAME
detex - a filter to strip TeX and LaTeX's commands from a file.
SYNOPSIS
detex [-iw]
file1 [file2 ......]
or
detex [-iw]
< file
DESCRIPTION
TeX and LaTeX have control characters that
spell
and other
troff
-dependent
processors (like diction) do not recognize.
Detex
works as a preprocessor by
filtering those control characters. The output can then be piped to the next
process. The output can be saved by redirecting the standard output.
Detex
does not break the document into individual words. It merely
erases
the control sequences.
The character '%' is recognized as a comment indicator and the commented
text is not passed to the output.
Detex
recognizes and opens files called by TeX's and LaTeX's \input
and \include commands. The
-i
flag makes
detex
ignore these commands.
The file name has to be correct relative to the current working directory.
If it cannot open the file nor file_name.tex, it will give a non-fatal
error message and proceed.
Warning is given if suspected unmatching is detected. Use the
-w
flag to suppress these warnings.
DIAGNOSTICS
Nesting of \input and \include is allowed but the number of opened files
must not exceed the system's limit on the number of simultaneously opened
files (normally < 20).
Material between single or double dollar signs or between \begin{equation} and
\end{equation} is regarded as mathematical
equations and is ignored.
SEE ALSO
texexpand(1), texeqn(1), texmatch(1).
AUTHOR
Kamal Al-Yahya, Stanford University
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- DIAGNOSTICS
-
- SEE ALSO
-
- AUTHOR
-
This document was created by
man2html,
using the manual pages.
Time: 06:21:52 GMT, December 12, 2024