[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Counting words in LaTex mode
From: |
Anders Johansson |
Subject: |
Re: Counting words in LaTex mode |
Date: |
Fri, 20 Apr 2001 16:11:24 +0800 (WST) |
Hi Kalyan,
I've solved it:
Some versions of detex works with LaTeX documents as well:
detex myfile.tex | wc -w
A version of detex that can handle LaTeX can be downloaded from
ftp.sunsite.kth.se/2/tex/support/detex/
Thanks,
//Anders
>Hi Anders,
> If you are using tetex as your TeX engine, you can
>run your file through detex or delatex.
>>detex -wl myfile.tex |cat|sort -uf > myfile.words
>
>The file myfile.words will contain an alphabetical listing
>of all words in your document *no repitions* though.
>
> Is this what you wanted? It's not an Elisp-based
>solution, of course: but might help you.
>
> Cheers.
> Kalyan