Thursday, February 19, 2009

latex word counter

In order to count the words you write in your latex file, two steps are needed.

1, install detex by
sudo apt-get install texlive-extra-utils
2, in your latex file directory
detex yourtexfile.tex | wc -w

That is done.

1 comment:

nosper said...

how to set latex in emacs? i am a new linux user. i want to use emacs to write and compile latex. what else should i install ? thanks