summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/base/mult-def.mkiv
blob: b2fc1cfcffa38d52cb5daeb7d8e1994677c0c45a (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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
%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

\clf_setuserinterface{\userinterfacetag}{\userresponsestag}

% start todo in mult-def.lua:

\def\v!serifnormal       {serifnormal}
\def\v!serifbold         {serifbold}
\def\v!sansnormal        {sansnormal}
%def\v!sansbold          {sansbold}
\def\v!mononormal        {mononormal}
\def\v!monobold          {monobold}

\def\c!functionstyle     {functionstyle}
\def\c!functioncolor     {functioncolor}

\def\v!extremestretch    {extremestretch}

\def\v!alphabetic        {alphabetic}
\def\v!Alphabetic        {Alphabetic}

\def\c!svgstyle          {svgstyle}

\def\c!translate         {translate}

\def\c!nextleft          {nextleft}
\def\c!nextright         {nextright}
\def\c!nextleftquotation {nextleftquotation}
\def\c!nextrightquotation{nextrightquotation}

\def\c!profile           {profile}

\def\c!fences            {fences}
\def\c!words             {words}
\def\c!characters        {characters}
\def\c!hyphens           {hyphens}
\def\c!joiners           {joiners}
\def\c!leftwords         {leftwords}
\def\c!rightwords        {rightwords}
\def\c!keeptogether      {keeptogether}
\def\c!viewerprefix      {viewerprefix}

\def\v!display           {display}
\def\v!inline            {inline}

\def\v!camel             {camel}

\def\c!dataset           {dataset}
\def\c!sectionblock      {sectionblock}
\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!authorconversion  {authorconversion}
\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\c!properties        {properties}
\def\c!journalconversion {journalconversion}
\def\c!register          {register}
\def\c!note              {note}
\def\c!field             {field}
\def\c!ignore            {ignore}
\def\c!specification     {specification}

\def\c!pageleft          {pageleft}
\def\c!pageright         {pageright}
\def\c!pagesep           {pagesep}
\def\c!lastpagesep       {lastpagesep}
\def\c!finalpagesep      {finalpagesep}
\def\c!pageconnector     {pageconnector}

\def\c!referencemethod   {referencemethod} % forward both

\def\v!dataset           {dataset}
\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\v!norepeat          {norepeat}
\def\v!mixed             {mixed}
\def\v!centerlast        {centerlast}
\def\v!long              {long}
\def\v!box               {box}

\def\v!noline            {noline}
\def\v!noheight          {noheight}
\def\v!nodepth           {nodepth}

\def\v!bookmark          {bookmark}

\def\v!vfenced           {vfenced}
\def\v!bothtext          {bothtext}

\def\s!traditional       {traditional}

\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!letterspacing \else \def\v!letterspacing {letterspacing}  \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

\def\c!etallimit  {etallimit}
\def\c!etaldisplay{etaldisplay}
\def\c!etaltext   {etaltext}
\def\c!etaloption {etaloption}

\ifdefined\v!simplelist\else \def\v!simplelist{simplelist} \fi
\ifdefined\v!sorting   \else \def\v!sorting   {sorting}    \fi
\ifdefined\v!synonym   \else \def\v!synonym   {synonym}    \fi

% stop todo

\protect \endinput