TeXcount is a Perl script that counts words in the text of LaTeX files.

learn more… | top users | synonyms

4
votes
1answer
40 views

Can texcount be used to count sentences and syllables?

I would be interested in calculating Flesch–Kincaid readability tests in latex documents and, besides the number of words, those tests require the number of sentences and syllables in the text. ...
4
votes
1answer
38 views

Can I configure texcount to not ignore certain optional arguments?

Is it possible to configure texcount not to ignore text in optional arguments for certain macros? Consider the following example: \documentclass{article} \begin{document} ...
3
votes
1answer
34 views

Can I configure texcount to double-count text in certain mandatory arguments?

Is it possible to configure texcount to double-count the contents of non-optional arguments for certain macros? Consider the following example: \documentclass{article} \begin{document} ...
8
votes
2answers
252 views

How can I convince texcount that my use of \newcolumntype is perfectly valid syntax?

Note that not counting words is not an option. All journals in my discipline require a word count on submission, as do most anthology editors, conference organisers and other institutional powers. ...
4
votes
1answer
96 views

Using Arara with TexCount

I'm running TeXShop and I have a pretty big document - my PhD thesis. I want to do a word count with regular intervals, not necessarily every time I compile, but I want the information to be ...
2
votes
1answer
37 views

Using Texcount but how do I ignore macro contents?

I am using TexCount to do word counts on my document. I am using a \cmt command to write inline comments so anything in \cmt{} does not get printed. I am using the texcount command %TC: macro \cmd ...
0
votes
0answers
55 views

How to run TeXcount

I'm aware that several similar questions have been asked here before, but after reading the answers to those questions I still didn't manage to get TeXcount to work, so I would love some extra help. ...
1
vote
1answer
49 views

Make texcount ignore appendices

Is it possible to tell texcount to stop counting when it reaches appendices? (i.e. the \appendix command)? I'm using texcount. to check my thesis which is organised so that each chapter has its own ...
1
vote
1answer
85 views

Texcount error 'could not recognise package list'

using texcount in the command line interface produces the error 'could not recognise package list'. I'm using texcount -1 -sum -inc mymainfile.tex which includes several files in a two different ...
0
votes
2answers
47 views

TexCount: Error using envir in an external options file

I am struggling with adding parsing rules to TexCount in an external options file. I am running TexCount as follows: texcount -sub -html -stat -inc -v3 -opt=tcrules master.tex > count.html The ...
1
vote
1answer
112 views

Using Texcount Templates

Anybody have a texcount template they would share? I noticed that the texcount documentation references an option -template="template". I presume this is to enable adding some custom text surrounding ...
4
votes
1answer
113 views

TeXcount problems with $ dollar sign in shell command

I can't get TeXcount to perform a word count on a LaTeX document that runs a Linux shell command to access a shell variable (i.e. the command involves a "$" dollar symbol). example.tex ...
0
votes
1answer
95 views

Counting words with TexCount in quote environment

How can I enter a new counter with texcount to count everything within the \begin{quote} ... \end{quote} environment? I have tried the following, which gives me nil results. %TC:newcounter quote ...
3
votes
2answers
438 views

count words in latex files with input

Hi is there something like texcount to count all the words of a latex file including the ones linked by input and include? Solution for linux as well as for windows are fine for me.
2
votes
1answer
136 views

Can I count text as another category using TeXCount?

I am using TeXCount to perform a word count. I am using %TC:macro \macroname n (http://app.uio.no/ifi/texcount/faq.html#newmacro) to treat macros differently (for example I have a 'to-do' macro). Can ...
4
votes
2answers
89 views

TeXcount counting \multicolumn

When using TeXcount on the following MWE \multicolumn macro is counted as a word and I get: Words in text: 6 What can I do to avoid this behavior and get the correct word count? ...
4
votes
1answer
174 views

How to stop texcount from counting \begin{comment}…\end{comment}

Is there a way to stop texcount from counting words in \begin{comment}...\end{comment} blocks? It seems to skip only comments starting with % Thank you very much in advance!
3
votes
2answers
242 views

“Could not identify document class.” error when trying to count words

I'm trying to count words in a cyrillic LaTeX document with Texcount. I run the command perl texcount.pl index.tex and get following output: D:\wd>perl texcount.pl index.tex !!! Could not ...
3
votes
1answer
210 views

LyX texcount custom converter

Is it possible to define a new Converter in LyX so I can use texcount -sub and produce a .txt file with the statistics of the file? I was thinking in going to Tools -> Preferences -> Converters ...
3
votes
1answer
847 views

Perl File Missing from TeX Live on Windows (TeXcount)

Trying to run TeXcount on Windows 7 with TeX Live results in >texcount Can't locate Win32/Console/ANSI.pm in @INC (@INC contains: C:/texlive/2013/tlpkg/tlperl/lib c:/texlive/2013/tlpkg/tlperl/lib ...
2
votes
0answers
2k views

Using TeXcount with TeXnicCenter [closed]

I am trying to run TeXcount with TeXnicCenter on Windows but cannot find any clear instructions as to how to do this. I have so far installed active perl and TeXcount. In TeXnicCenter I have defined ...
2
votes
1answer
482 views

Counting figures, tables and citations in a document

My idea is to use TeXcount to scan my document and output the number of words, figures, tables, equations and citations. I've been looking at the documentation for TeXcount and it seems that words ...
10
votes
2answers
785 views

TeXcount and biblatex

I have recently switched from BibTeX to the biblatex package (using the Biber back-end) and I can only subscribe what others have already said about its many virtues. This question is not so much ...
1
vote
0answers
182 views

Problem with TeXcount related to file-including commands

I have found TeXcount extremely useful and, for all my needs so far, most accurate. Nonetheless, I have observed a strange behavior with TeXcount 3.0 (beta) when trying to make the script aware of ...