TeXcount is a Perl script that counts the number of words in the text of LaTeX files. It has rules for handling most of the common macros and provides colour coded output indicating which parts have been counted.
Web site and online web service
Go to http://app.uio.no/ifi/texcount/ for more information or to access the script online as a web service.
There is documentation at different levels of detail and technicality:
- QuickReference gives a quick overview of options and TeXcount instructions which may be used to control how TeXcount processes TeX documents.
- TeXcount is the main documentation giving a detailed explanation of how TeXcount processes TeX documents, and how to use options and TeXcount instructions to customise the word counting and reporting the results.
- TechDoc is the technical documentation of the internals of TeXcount.
Additional documentation, including scripts and examples, are available on the TeXcount web site: http://app.uio.no/ifi/texcount/
Questions posted to StackExchange and tagged texcount will automatically notify the TeXcount developer: https://tex.stackexchange.com/questions/tagged/texcount
The package, i.e. the script and all accompanying files, is distributed under the LaTeX Project Public License.
Download the contents of this package in one zip archive (633.8k).
TeXcount – Count words in a LaTeX document
TeXcount is a Perl script that counts words in the text of LaTeX files. It has rules for handling most of the common macros, and can provide colour-coded output showing which parts of the text have been counted.
The package script is available as a Web service via its home page.
The LaTeX Project Public License|
|Maintainer||Einar Andreas Rødland|
|Contained in||TeX Live as texcount|
|MiKTeX as texcount|
count the ‘words’ in a document|