Re: [NTG-context] lang-wrd.lua - howto count 1-, 2-, and 3-letter words?

2011-03-14 Thread Florian Wobbe
>>> 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 d

Re: [NTG-context] lang-wrd.lua - howto count 1-, 2-, and 3-letter words?

2011-03-14 Thread Reviczky, Adam
>> 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 __

[NTG-context] lang-wrd.lua - howto count 1-, 2-, and 3-letter words?

2011-03-14 Thread Florian Wobbe
Hi, I'd like to ask an early question again in a different way: I need to count every word in a document but lang-wrd.lua counts only words with 4+ letters. So I tried to set "words.threshold = 4" in context/base/lang-wrd.lua to smaller values but this does not change anything. I don't know wh