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

Florian Wobbe Florian.Wobbe at awi.de
Mon Mar 14 21:04:58 CET 2011


>>> 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



More information about the ntg-context mailing list