Questions tagged [texcount]
TeXcount is a Perl script that counts words in the text of LaTeX files.
70
questions
0
votes
1
answer
17
views
How to ignore ExPex code in texcount
I'm wondering if it is possible to exclude ExPex code from being counted by texcount? At the moment I'm writing a thesis with lots of linguistic examples, but I need to exclude these from the total ...
1
vote
1
answer
35
views
How to Automatically Analyze Word Frequency Across Multiple Included LaTeX Documents from a Main File
I am looking for an efficient way to analyze the frequency of certain words across a collection of LaTeX documents. I have a main.tex file that includes several other .tex files (using \include and \...
2
votes
1
answer
125
views
How to exclude an environment from texcount wordcount
I'm writing up an academic document for which I have a max wordcount, using Overleaf's texcount with default settings to count words. By default this excludes equations (which is desirable) but this ...
0
votes
1
answer
151
views
Using a batch script in latex \immediate\write18 env [closed]
I am trying to write a script that using texcount will output only the number of characters including spaces. I made a batch script which works, no problems there.
The problem is trying to run it in ...
0
votes
1
answer
540
views
How to include character count with spaces and specify which sections are to be included
I want to add character count including spaces in my report. So far I've found a command, which provides me this:
\documentclass{report}
\begin{document}
}{%
\newcommand{\charactercount}[1]{
\...
0
votes
1
answer
488
views
Counting words with TeXcount in documents using \markdownInput or \verbatiminput
I'm using \markdownInput (via the markdown package) to include Markdown files in a paper on Overleaf. Overleaf uses the TeXcount utility to count the words. But TeXcount doesn't recognize \...
9
votes
1
answer
16k
views
Overleaf wordcount
Performing a wordcount on a latex document on overleaf produces a table of the form:
Total Words:10000
Headers:5
Math Inline:100
Math Display:10
What I'd like to know is if these categories are ...
0
votes
0
answers
181
views
Counting chars + spaces in mainmatter and appendix files
I am trying to make an automatic char count with spaces on my report, so that i get a char count on my main mainmatter displayed and one on my appendix. I have looked at Paul Gessler answer
(Command ...
0
votes
0
answers
115
views
Dynamically returning word counts in table of contents
I'd like to be able to dynamically report in a table of contents the word count by section in my document. This way, when writing a manuscript with chapters, I can see the length of each section (...
1
vote
0
answers
453
views
Texcount error File main.bbl not found in path (in overleaf)
I am trying to add an automatic word count in my overleaf file using Texcount. I have followed the instructions on https://www.overleaf.com/learn/how-to/Is_there_a_way_to_run_a_word_count_that_doesn%...
0
votes
1
answer
590
views
Texcount errors with bibliography
I am trying to run texcount on a large tex file. It works fine when the bibliography is excluded from the count, but with -incbib it gives the following error message:
ERROR: Encountered } without ...
1
vote
1
answer
103
views
Including macros in texcount by regular expression
I would like to include all macros (or \newcommand's) that start with \figure and count them as floats in texcount. For context, have a look in here.
It works if I tell texcount to increment the float ...
1
vote
1
answer
525
views
Getting git-latexdiff and texcount to work together nicely
What is the best way to get git-latexdiff to work nicely with texcount to view changed and deleted word counts between two commits?
1
vote
1
answer
139
views
texcount and latexdiff
I am wondering if there is a way to combine latexdiff and texcount, to count the number of words that have changed between two docs?
This is not the same as the number of words before and after, but ...
2
votes
1
answer
830
views
texcount with bibliography
I am having trouble with getting texcount count the words in the bibliography. I have tried two methods:
The one described on Overleaf: I added %TC:incbib into the preamble and created a file without ...