[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Counting words in LaTex mode
From: |
F. Xavier Noria |
Subject: |
Re: Counting words in LaTex mode |
Date: |
Wed, 18 Apr 2001 15:56:03 +0200 |
Anders Johansson wrote:
> Has anyone written a lisp function for counting the number of words
> in a LaTex document? If so where can I get it? I tried using wc but the
> result is not correct. I think wc is counting the formatting commands and
> other stuff as well.
This is not Lisp, but perhaps you have `untex' in your system. Does
untex file.tex | wc -w
help? You can remove all math with the -m flag if you wish (and there
are some other options, see man untex).
-- fxn