[OS X TeX] Word count?

Conrad Scott conrad.scott at dsl.pipex.com
Tue Apr 20 16:49:46 EDT 2004


For doing word counts of LaTeX documents I use the wordcount package  
from CTAN (see  
http://www.ctan.org/tex-archive/help/Catalogue/entries/wordcount.html  
for more information etc.). CTAN also has a package latexcount (see  
http://www.ctan.org/tex-archive/help/Catalogue/entries/ 
latexcount.html), which looks like it should do the same.

These should be a lot more accurate than using "detex | wc -w",  
especially if you have lots of home-grown macros that generate lumps of  
text (as I do). I've no idea what these will do with equations though.

Hope this helps,

// Conrad

-----------------------------------------------------
Please see <http://www.esm.psu.edu/mac-tex/> for list
guidelines, information, and LaTeX/TeX resources.





More information about the MacOSX-TeX mailing list