TransWikia.com

Counting words do not appear with texcount (using TeXstudio)

TeX - LaTeX Asked by Rui on January 5, 2021

I am trying to get the words cumber per section using the following lines:

newcommandwordcount{
    immediatewrite18{texcount -sub=section jobname.tex  | grep "Section" | sed -e 's/+.*//' | sed -n thesection p > 'count.txt'}
    (input{count.txt}words)}

as in: Dynamically count words in chapter and insert word count at start of chapter
or wordcount by section when sections were formally known as chapter

however, the words are not counted. But no error pops up.

In the pdf output it appears:

no words example

Many thanks in advance for your suggestions

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP