blob: 669a7b3b8ef48db99e083da3f99c0744cca2c1fa (
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
|
%D \module
%D [ file=s-languages-goodies,
%D version=2021.25.03,
%D title=\CONTEXT\ Style File,
%D subtitle=Language Goodies,
%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-goodies]
\registerctxluafile{s-languages-goodies}{autosuffix}
\installmodulecommandluasingle \showlanguagegoodies {moduledata.languages.goodies.show}
\installmodulecommandluasingle \showlanguageligatures {moduledata.languages.goodies.ligatures}
\stopmodule
\continueifinputfile{s-languages-goodies.mkxl}
\usemodule[art-01]
% \setupbodyfont[libertine]
\setuplanguage[de][goodies={lang-de.llg}]
\setuplanguage[en][goodies={lang-en.llg}]
\mainlanguage[de]
\setupalign[stretch,verytolerant,flushleft,nothyphenated] \dontcomplain
% \startlanguageoptions[de]
% Zapf|innovation
% \stoplanguageoptions
% \tracinghyphenation3 \tracingonline2
\starttext
\showlanguageligatures[language=de,list=ff fi fl fk ft fb ffi ffl fff ffk fft ffb ffh ffj]
\showlanguageligatures[language=en,list=ff fi fl fk ft fb ffi ffl fff ffk fft ffb ffh ffj]
\starttitle[title={DE}]
\start \de \showlanguagegoodies [file={lang-de.llg}] \stop
\stoptitle
\starttitle[title={EN}]
\start \en \showlanguagegoodies[file={lang-en.llg}] \stop
\stoptitle
% oeps effe
% nonexistentffitestcase
% nonexistentffltestcase
\stoptext
|