[TxMt] Word Count ?

Charilaos Skiadas skiadas at hanover.edu
Thu Nov 30 00:50:19 UTC 2006


On Nov 29, 2006, at 7:33 PM, Tim Lahey wrote:

> Probably the easiest thing to do is make a command
> that runs detex on the document (which strips the commands out)
> and pipe that through the word count.

That assumes one is not using commands that automatically generate  
text. I.e. what happens if I do:

\newcommand{\this}{Hi there! }

and then the document contains:

\this\this\this

I would guess detex will not count those 6 words, will it?

Haris





More information about the textmate mailing list