Delila Program: untex

untex program

Documentation for the untex program is below, with links to related programs in the "see also" section.

{version = 1.41; (* of untex.p 2002 Oct 14}

(* begin module describe.untex *)
   untex: remove tex and latex constructs

   untex(input: in, output: out)

   input: a tex or latex file
   output: the file with:
      '\xxx' command words converted to spaces,
      '{$_}' deleted
      '~' converted to spaces
      free floating '.' ',' '(' ')' removed
      comments (%) removed
      \% is turned into % to preserve the percent
      '\xxx{stuff}' is converted to ' stuff' so that \emph{italics} are ok
      '\xxx{\another{thing}}' is converted to '  thing' by recursion.

      multiple spaces are comressed to single spaces.
      multiple lines are compressed to 2 lines (to preserve the
      paragraph structure).
   This reduces the number of words counted by wc to something close to correct.

   Thomas D. Schneider

   citations and comments on lines by themselves leave a blank line.

(* end module describe.untex *)
{This manual page was created by makman 1.45}

{created by htmlink 1.62}