2
votes
1answer
76 views

Count “a” in text not in math mode, verbatim or lstlisting

I would like to count the "a" word in a text and put output to the PDF file, eg. This is a document about processing text in TeX. The document has a new macro but $a = 10$ is not counted, nor ...
5
votes
0answers
60 views

Count words in LaTeX with inclusion in LaTeX build process [duplicate]

Possible Duplicate: Dynamically count and return number of words in a section I'd like to include the word count of my LaTeX document in the document itself and not have to worry about ...