summaryrefslogtreecommitdiff
path: root/tex/context/modules/mkxl/s-text-tests.mkxl
blob: 6766a7a0927d0abed63fbaf77805dacc2c4c7b2f (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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
%D \module
%D   [      file=s-text-tests.mkxl,
%D        version=2023.04.11,
%D          title=\CONTEXT\ Style File,
%D       subtitle=Some Text Tests,
%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.

\continueifinputfile{s-text-tests.mkxl}

%D Here we collect some tests that later will become proper macros.

\usebodyfont[bonum]
\usebodyfont[cambria]
\usebodyfont[concrete]
\usebodyfont[dejavu]
\usebodyfont[ebgaramond]
\usebodyfont[erewhon]
\usebodyfont[kpfonts]
\usebodyfont[libertinus]
\usebodyfont[lucida]
\usebodyfont[minion]
\usebodyfont[modern]
\usebodyfont[newcomputermodern-book]
\usebodyfont[pagella]
\usebodyfont[schola]
\usebodyfont[stixtwo]
\usebodyfont[termes]
\usebodyfont[xcharter]

\starttext

\startbuffer
(a) (f) [f] \{f\} f: f; f! f? f\textbar f* f@ f& f/ f\textbackslash
\stopbuffer

\starttexdefinition ugly #1
    \startsubject[title=#1]
        \start
            \switchtobodyfont[#1]
            {\tf \getbuffer}\blank[small]
            {\bf \getbuffer}\blank[small]
            {\it \getbuffer}\blank[small]
            {\bi \getbuffer}\blank[big]
        \stop
    \stopsubject
\stoptexdefinition

\ugly{bonum}
\ugly{cambria}
\ugly{concrete}
\ugly{dejavu}
\ugly{ebgaramond}
\ugly{erewhon}
\ugly{kpfonts}
\ugly{libertinus}
\ugly{lucida}
\ugly{minion}
\ugly{modern}
\ugly{newcomputermodern-book}
\ugly{pagella}
\ugly{schola}
\ugly{stixtwo}
\ugly{termes}
\ugly{xcharter}

\stoptext