Re: [NTG-context] lang-wrd.lua - howto count 1-, 2-, and 3-letter words?
![](https://secure.gravatar.com/avatar/ffbf1ef49cd9a579a6b2966d8832286e.jpg?s=120&d=mm&r=g)
14 Mar
2011
14 Mar
'11
1:21 p.m.
So I tried to set "words.threshold = 4" in context/base/lang-wrd.lua to smaller values but this does not change anything. You have to regenerate the formats too, after you changed the value.
Otherwise you could use directly in your document: \ctxlua{languages.words.threshold=1} Adam
![](https://secure.gravatar.com/avatar/5705290add533907ed4869f7e9f586c3.jpg?s=120&d=mm&r=g)
14 Mar
14 Mar
2:04 p.m.
New subject: lang-wrd.lua - howto count 1-, 2-, and 3-letter words?
So I tried to set "words.threshold = 4" in context/base/lang-wrd.lua to smaller values but this does not change anything. You have to regenerate the formats too, after you changed the value.
I thought I did but obviously something went wrong. Now it works...
Otherwise you could use directly in your document: \ctxlua{languages.words.threshold=1}
Thanks, exactly what I need! Florian
4873
Age (days ago)
4873
Last active (days ago)
1 comments
2 participants
participants (2)
-
Florian Wobbe
-
Reviczky, Adam