[NTG-context] extracting word count from a *.words file

Jelle Huisman jelle at jhnet.nl
Fri Apr 20 22:32:43 CEST 2012

Hello all,

Here is another question. Consider this test file:

\input knuth

Typesetting this file produces a word list 'test.words' which ends like


Is there a way to extract the value for ["total"] ('122' in this case)
so that I can use that value somewhere else, e.g. in a project file
where I want to present a word count.

Thanks for a pointer!


More information about the ntg-context mailing list