# [TxMt] Word Count ?

Tim Lahey tim.lahey at gmail.com
Thu Nov 30 01:08:52 UTC 2006

No,

I just checked and you're right. Plus, some things are still there
that one wouldn't want. I did however find,

http://catdvi.sourceforge.net/

which is a DVI to plaintext translator. I don't know how well it
works though.

Cheers,

Tim.

> 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
>
>
>
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate
>