summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/base/s-languages-frequencies.lua
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/context/base/s-languages-frequencies.lua')
-rw-r--r--Master/texmf-dist/tex/context/base/s-languages-frequencies.lua33
1 files changed, 0 insertions, 33 deletions
diff --git a/Master/texmf-dist/tex/context/base/s-languages-frequencies.lua b/Master/texmf-dist/tex/context/base/s-languages-frequencies.lua
deleted file mode 100644
index 16213a41271..00000000000
--- a/Master/texmf-dist/tex/context/base/s-languages-frequencies.lua
+++ /dev/null
@@ -1,33 +0,0 @@
-if not modules then modules = { } end modules ['s-languages-frequencies'] = {
- version = 1.001,
- comment = "companion to s-languages-frequencies.mkiv",
- author = "Hans Hagen, PRAGMA-ADE, Hasselt NL",
- copyright = "PRAGMA ADE / ConTeXt Development Team",
- license = "see context related readme files"
-}
-
-moduledata.languages = moduledata.languages or { }
-moduledata.languages.frequencies = moduledata.languages.frequencies or { }
-
-function moduledata.languages.frequencies.showlist(specification)
- specification = interfaces.checkedspecification(specification)
- local t = languages.frequencies.getdata(specification.language or languages.current())
- context.starttabulate { "|lT|cw(2em)|r|" }
- context.NC()
- context.formatted.rlap("%s: %p",t.language,languages.frequencies.averagecharwidth(t.language))
- context.NC()
- context.NC()
- context.NR()
- context.HL()
- for k, v in table.sortedhash(t.frequencies) do
- context.NC()
- context("%U",k)
- context.NC()
- context("%c",k)
- context.NC()
- context("%0.3f",v)
- context.NC()
- context.NR()
- end
- context.stoptabulate()
-end