[OS X TeX] Counting words in a latex file

Peter Dyballa Peter_Dyballa at Web.DE
Thu Jun 1 18:28:22 EDT 2006


Am 01.06.2006 um 23:54 schrieb Jan Erik Moström:

> Is there a simple way of doing a word count in a latex file,  
> preferable one that
> can exclude figures/tables etc?

You could try: cat file.tex | detex | wc. TeXShop uses a similar method.

Some time ago (a year?) this was already a topic on this list ...


I think the only exact method is to let some human being count.  
Oneself is best, no-one else knows what a word is and what not.

--
Greetings

   Pete

The day Microsoft makes something that doesn't suck
is the day they start selling vacuum cleaners.
                                     Ernest Jan Plugge


------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the MacOSX-TeX mailing list