[texhax] word count

Aditya Mahajan adityam at umich.edu
Sun Dec 31 01:13:42 CET 2006

On Sat, 30 Dec 2006, Karl Berry wrote:

>     Do you know how to count the words in a TeX document or a DVI file.
> Here's the FAQ entry on the topic:
> http://www.tex.ac.uk/cgi-bin/texfaq2html?label=wordcount

Here is a solution by Hans Hagen, posted on the ConTeXt mailing list. 
The question was how to count words inside an environment (e.g. 
abstract). Like any other word counting solution, it will not give the 
"correct" answer if you have math inside the environment.



More information about the texhax mailing list