Open main menu

Changes

215 bytes added ,  15:30, 8 June 2020
m
no edit summary
\starttext
\input knuth
 \ctxlua{ context.par() local data = dofiletable.load(file.addsuffix(tex.jobname,"\jobname.words"; )) context(data and data.totalor "nothing")}
\stoptext
</texcode>
 
The wordcount appears in your file and a file containing 'statistics' is created
and saved with the extension .words.
See [http://archive.contextgarden.net/message/20120420.205210.27d80733.en.html ntg-context from 2012-04-20].
 
[[Category:Tools]]