
Ps - A nice alternative would be to send a DDE command ("open("%bm.wc")") to TeXnicCenter itself, but I wasn't able to get this to run, neither by commandline argument with "/ddecmd" nor by a DDE Open command. Find (Ctrl+ F) Count occurrences, Enter the text in the find box and click the button Case sensitive, Toggle button for case sensitive search.
Word count texstudio software#
However, these documents are produced from software that parses. To display the results, in the Viewer tab simply put your favourite text editor (e.g., "notepad++.exe") with appropriate argument (for notepad++, it's simply "%bm.wc"). Other formats can be produced, such as RTF (which can be used in Microsoft Word) and HTML. In detail: Define a new TeXnicCenter output profile (e.g., "LaTeX => word count") with LaTeX, BibTeX and MakeIndex disabled, and set the Postprocessor to run Perl with argument "\ %pm" and redirection to "%bm.wc".

This is much more than what you get using approaches based on untex | wc. You can also try echo 'test' > count.txt just to see if it actually runs. You would want to increase the numbers for the first two boxes, in your case, I believe. Under Language -> Internal Grammar check, you will find the options to increase/decrease the length of the scope of word repetition check. George Grtzer, who uses both bean and sheep as counter names in his LaTeX. In the Configure TeXstudio menu, check the bottom left box that says Show Advanced Options. I have compared the output to MS Word and LibreOffice Writer, and they are mostly the same. It can also do word count on specific selection. It refers to words as 'phrases' and offers different options and filters. Eg try running just texcount -o count.txt \jobname.tex and see if this still fails. use of parenthetical comments and the word so, and generally use a more. It is located in the menus under Tools -> Word Analysis. That is, you get word counts for each hierarchical level (total, per chapter, per section, down to subsubsections). Try reducing the example, and try to see what's the simplest case that still fails.

The best solution seems a perl script called that counts words through the logical structure of a latex document or project.

Regarding word counting in TeXnicCenter: Defining an output profile with a word counting script works absolutely smoothly for me.
