blob: 01a1f5682e29309353d01a45074a76620daa36b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
%D \module
%D [ file=s-languages-frequencies, % s-lan-06,
%D version=2013.03.22,
%D title=\CONTEXT\ Style File,
%D subtitle=Language Frequencies,
%D author=Hans Hagen,
%D date=\currentdate,
%D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]
%C
%C This module is part of the \CONTEXT\ macro||package and is
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
%C details.
\startmodule[languages-frequencies]
\registerctxluafile{s-languages-frequencies}{}
\installmodulecommandluasingle \showfrequencies {moduledata.languages.frequencies.showlist}
\stopmodule
\continueifinputfile{s-languages-frequencies.mkiv}
\usemodule[art-01]
\starttext
\hsize65\averagecharwidth \the\hsize: \input ward \par
\showfrequencies \page
\mainlanguage[de]
\hsize65\averagecharwidth \the\hsize: \input ward \par
\showfrequencies \page
\stoptext
|