summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/base/mult-def.mkiv
blob: ec33171da8c93bb6a4f92175e465b42b18350eda (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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
%D \module
%D   [       file=mult-def,
%D        version=2008.10.22,
%D          title=\CONTEXT\ Multilingual Macros,
%D       subtitle=Definitions,
%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.

\unprotect

\installcorenamespace{multilingual}

\setvalue{\??multilingual    czech}{cs}
\setvalue{\??multilingual   german}{de}
\setvalue{\??multilingual  english}{en}
\setvalue{\??multilingual   french}{fr}
\setvalue{\??multilingual  italian}{it}
\setvalue{\??multilingual    dutch}{nl}
\setvalue{\??multilingual  persian}{pe}
\setvalue{\??multilingual romanian}{ro}

\def\userinterfacetag{\ifcsname\??multilingual\currentinterface\endcsname\csname\??multilingual\currentinterface\endcsname\else en\fi}
\def\userresponsestag{\ifcsname\??multilingual\currentresponses\endcsname\csname\??multilingual\currentresponses\endcsname\else en\fi}

% \input mult-\userinterfacetag  \relax
% \input mult-m\userresponsestag \relax

\ctxlua{interfaces.setuserinterface("\userinterfacetag","\userresponsestag")}

% start todo:

\def\c!language         {language}
\def\c!compressseparator{compressseparator}
\def\c!renderingsetup   {renderingsetup}
\def\c!filler           {filler}
\def\c!resources        {resources}
\def\c!first            {first}
\def\c!last             {last}
\def\c!quotechar        {quotechar}
\def\c!commentchar      {commentchar}
\def\c!symbolcommand    {symbolcommand}
\def\c!xmlsetup         {xmlsetup}
\def\c!comma            {comma}
\def\c!period           {period}
\def\c!monthconversion  {monthconversion}
\def\c!comment          {comment}
\def\c!textalign        {textalign}
\def\c!up               {up}
\def\c!down             {down}
\def\c!instance         {instance}
\def\c!database         {database}
\def\c!group            {group}
\def\c!groupsuffix      {groupsuffix}

\def\v!compressseparator{compressseparator}
\def\v!notation         {notation}
\def\v!endnote          {endnote}
\def\v!interactive      {interactive}
\def\v!autopunctuation  {autopunctuation}
\def\v!integral         {integral}
\def\v!shiftup          {shiftup}
\def\v!shiftdown        {shiftdown}
\def\v!construction     {construction}
\def\v!unframed         {unframed}
\def\v!chemical         {chemical}
\def\v!chemicals        {chemicals}
\def\v!words            {words}
\def\v!combination      {combination}

\def\s!lcgreek          {lcgreek}
\def\s!ucgreek          {ucgreek}
\def\s!sygreek          {sygreek}
\def\s!italics          {italics}
\def\s!integral         {integral}
\def\s!insert           {insert} % maybe insertclass
\def\s!marker           {marker}

\def\s!mixedcolumn      {mixedcolumn}

\def\s!double           {double}
\def\s!decimal          {decimal}

\def\s!current          {current}

\def\c!HL               {HL}
\def\c!VL               {VL}
\def\c!NL               {NL}

\ifdefined\v!kerncharacters\else \def\v!kerncharacters{kerncharacters} \fi % no time now for translations should be a e! actually
\ifdefined\v!stretched     \else \def\v!stretched     {stretched}      \fi
\ifdefined\v!vulgarfraction\else \def\v!vulgarfraction{vulgarfraction} \fi
\ifdefined\v!block         \else \def\v!block         {block}          \fi
\ifdefined\v!rule          \else \def\v!rule          {rule}           \fi
\ifdefined\v!oldstyle      \else \def\v!oldstyle      {oldstyle}       \fi

% stop todo

\protect \endinput