<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <font face="Palatino">Doris,<br>
      <br>
      When I need to know the number of words in my documents, I use the
      nifty free "word processor" called Bean.<br>
      <br>
      <a class="moz-txt-link-freetext" href="https://bean-osx.com/Bean.html">https://bean-osx.com/Bean.html</a><br>
      <br>
      It's good for lots of other things that do not need to be so
      pretty as what LaTeX is so good at.<br>
      <br>
      Have fun.<br>
      <br>
      Richard Benish<br>
      <br>
      <br>
    </font><br>
    <div class="moz-cite-prefix">On 11/27/22 10:23 PM, Doris Behrendt
      via MacOSX-TeX wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:0BBF939E-911C-4AEA-83C3-53755696E350@me.com">
      <pre class="moz-quote-pre" wrap="">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?</pre>
    </blockquote>
    <br>
  </body>
</html>