[OS X TeX] wordcount

David Derbes derbes.physics at gmail.com
Wed Nov 30 19:37:59 CET 2022


Following on Richard’s suggestion, I’d like to put in a plug for Allan Odgaard’s TextMate:

https://macromates.com <https://macromates.com/>

https://en.wikipedia.org/wiki/TextMate <https://en.wikipedia.org/wiki/TextMate>

It’s free, and very powerful, particularly for multiple-file searches. With two other guys (David Griffiths and Richard Sohn) I helped to edit a massive manuscript (Sidney Coleman’s Lectures on Quantum Field Theory), 50 chapters, appendices, foreword, preface, etc.; 1200 pages near enough, several hundred illustrations. Really helpful for doing the index (which by itself itself took two months of hard work). 

Allan or others in the TextMate community have put together bundles for LaTeX and many another programming language or other (e.g. Python, R). My heart belongs to TeXShop (thank you, Dick!!!) for editing, but for searches and word counts, I found TextMate a little easier to work with. 

David Derbes
friendly neighborhood physics teacher (retired)
Hyde Park, Chicago

> On Nov 28, 2022, at 12:40 AM, Richard Benish <rjbenish at comcast.net> wrote:
> 
> Doris,
> 
> When I need to know the number of words in my documents, I use the nifty free "word processor" called Bean.
> 
> https://bean-osx.com/Bean.html <https://bean-osx.com/Bean.html>
> 
> It's good for lots of other things that do not need to be so pretty as what LaTeX is so good at.
> 
> Have fun.
> 
> Richard Benish
> 
> 
> 
> On 11/27/22 10:23 PM, Doris Behrendt via MacOSX-TeX wrote:
>> Hi list,
>> 
>> how can I count the words of a pdf-Document that I generated with LaTeX?
>> 
>> I tried opening it in MSWord, which showed a always changing number of words, depending on the status of the scrollbar, at the end it gave up scrolling totally;
>> 
>> I also tried this:
>> 
>> ps2ascii file.pdf | wc -w
>> 
>> which worked ok; but I am not sure how pictures and maths etc. are handled when counting like this ...
>> 
>> I also tried some apps, but was not happy, because my file has over 700 pages and most of the apps needed to copy and paste text ...
>> 
>> since my file contains lots of math and lots of code and lots of pictures, I just wanted to ask if anyone of you had to count words of such a document before and how you did it?
> 
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: https://www.tug.org/mactex/faq/index.html
> List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/TeX/
> List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
>                https://email.esm.psu.edu/pipermail/macosx-tex/
> TeX on Mac OS X Website: https://www.tug.org/mactex/index.html
> List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/macostex-archives/attachments/20221130/b158500f/attachment.html>
-------------- next part --------------
----------- Please Consult the Following Before Posting -----------
TeX FAQ: https://www.tug.org/mactex/faq/index.html
List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/TeX/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
                https://email.esm.psu.edu/pipermail/macosx-tex/
TeX on Mac OS X Website: https://www.tug.org/mactex/index.html
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex


More information about the macostex-archives mailing list.