summaryrefslogtreecommitdiff
path: root/tex/context/modules/mkiv/s-fonts-goodies.mkiv
blob: e596507afa98425d2bd3d8b9aae6e3869588cfaf (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
%D \module
%D   [      file=s-fonts-goodies, % s-fnt-26, s-fnt-28
%D        version=2009.10.26,
%D          title=\CONTEXT\ Style File,
%D       subtitle=Goodies Tables,
%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.

%D More tables will follow here as we have many more goodies by now.

\startmodule[fonts-goodies]

\registerctxluafile{s-fonts-goodies}{}

\installmodulecommandluasingle \showfontgoodiesstylistics   {moduledata.fonts.goodies.showstylistics}
\installmodulecommandluasingle \showfontgoodiesfeaturesets  {moduledata.fonts.goodies.showfeaturesets}
\installmodulecommandluasingle \showfontgoodiescolorschemes {moduledata.fonts.goodies.showcolorschemes}
\installmodulecommandluasingle \showfontgoodiesfiles        {moduledata.fonts.goodies.showfiles}

\stopmodule

\continueifinputfile{s-fonts-goodies.mkiv}

\starttext

    \showfontgoodiesstylistics  [name=husayni]             \page
    \showfontgoodiesfeaturesets [name=husayni]             \page
    \showfontgoodiescolorschemes[name=husayni]             \page

    \showfontgoodiesfiles       [name=antykwapoltawskiego] \page

\stoptext