[Tuglist] Re: your mail

TUGIndia tuglist@mail.gnu.org.in
Tue, 14 Aug 2001 07:07:40 +0530 (IST)


On Mon, 13 Aug 2001 at 10:45, Ms Sunetra Sarkar wrote:

   is there any way to get a word count of the text part from
   the tex file?

grab the utility, `detex' from your favorite CTAN mirror (there is
one below your nose ;)

   CTAN:/tex-archive/support/detex/

compile to generate the binary detex.

And issue the command:

 detex <foo.tex> | wc -w

will get you the number of words in foo.tex.