[OS X TeX] Word Count possibilities
Dr.John R.Vokey
vokey at uleth.ca
Mon Apr 19 20:28:25 EDT 2004
Unfortunately, although WordService is great, it requires simple text
files, as do all the other suggestions. None of them work on the
finished (i.e., compiled) document, which is, I believe, what Michael
S. Hanson was asking for (and, what I desire as well).
One solution I have come up with is to save the pdf of the compiled
document as plain text from Acrobat, then strip out headers and page
numbers, etc. that Acrobat leaves in for some strange reason, then
highlight and count using WordService. Not very efficient, but it
works.
Detexing the source file is of no use because one needs the count
*after* the TeX commands, especially bibliographic commands, have been
expanded. Hence, another possibility is to TeX4ht the document to html
(which works on the dvi and, hence, after all macros have been fully
expanded) and then read *that* result into Word or whatever to get a
word count. Again, clumsy, but workable.
On 19-Apr-04, at 6:00 PM, TeX on Mac OS X Mailing List wrote:
> Am 19.04.2004 um 17:52 schrieb Michael S. Hanson:
>
>> Is there a word count feature in TeXShop or Preview? I have a
>> journal submission with a strict word limit -- "including all text,
>> figures, tables, and references" as stated in the letter I received
>> from the editorial assistant.
>
> There is quite a number of tools which can do this via the services
> menu -- they all will work in TeXShop and Preview.
>
> Try this one, for example:
> http://www.versiontracker.com/dyn/moreinfo/macosx/10398
> (you will find some more on Versiontracker)
>
> Best regards,
> Matthias
>
--
John R. Vokey, PhD
Professor
B.E.R.G. - Behaviour and Evolution Research Group
Micro-Cognition Laboratory
Department of Psychology & Neuroscience
University of Lethbridge
Lethbridge, Alberta T1K 3M4
CANADA
-----------------------------------------------------
Please see <http://www.esm.psu.edu/mac-tex/> for list
guidelines, information, and LaTeX/TeX resources.
More information about the MacOSX-TeX
mailing list