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

2012-04-20 Thread Jelle Huisman
Hello all, Here is another question. Consider this test file: \starttext \setupspellchecking[state=start,method=2] \ctxlua{languages.words.threshold=3} \input knuth \stoptext Typesetting this file produces a word list 'test.words' which ends like this: [threshold]=1, [total]=122,

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

2012-04-20 Thread Philipp Gesang
Hi again, On 2012-04-20 16:32, Jelle Huisman wrote: Hello all, Here is another question. Consider this test file: \starttext \setupspellchecking[state=start,method=2] \ctxlua{languages.words.threshold=3} \input knuth \stoptext Typesetting this file produces a word list 'test.words'

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

2012-04-20 Thread Marco
On 2012-04-20 Jelle Huisman je...@jhnet.nl wrote: 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. I used the word count some time ago. Here's the code I used. I have

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

2012-04-20 Thread Jelle Huisman
On 04/20/2012 04:52 PM, Marco wrote: On 2012-04-20 Jelle Huisman je...@jhnet.nl wrote: 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. I used the word count some

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

2012-04-20 Thread Jelle Huisman
On 04/20/2012 04:53 PM, Philipp Gesang wrote: Hi again, On 2012-04-20 16:32, Jelle Huisman wrote: Hello all, Here is another question. Consider this test file: \starttext \setupspellchecking[state=start,method=2] \ctxlua{languages.words.threshold=3} \input knuth \stoptext