%D \module
%D   [     file=enco-ans,
%D      version=2000.5.7, % 1995.1.1,
%D        title=\CONTEXT\ Encoding Macros,
%D     subtitle=\YandY\ texnansi Encoding,
%D       author={Patrick Gundlach, Hans Hagen},
%D         date=\currentdate,
%D    copyright=PRAGMA-ADE]
%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 This is \YandY's texnansi encoding vector, which combines 
%D the best of the ansi encoding vector (prebuilt accented 
%D characters etc.) and some of \TEX's vectors. 

\startmapping[texnansi] 

\definecasemap 228 228 196 \definecasemap 196 228 196  
\definecasemap 235 235 203 \definecasemap 203 235 203
\definecasemap 239 239 207 \definecasemap 207 239 207
\definecasemap 246 246 214 \definecasemap 214 246 214
\definecasemap 252 252 220 \definecasemap 220 252 220
\definecasemap 255 255 159 \definecasemap 159 255 159

\definecasemap 225 225 193 \definecasemap 193 225 193
\definecasemap 233 233 201 \definecasemap 201 233 201
\definecasemap 237 237 205 \definecasemap 205 237 205
\definecasemap 243 243 211 \definecasemap 211 243 211
\definecasemap 250 250 218 \definecasemap 218 250 218
\definecasemap 253 253 221 \definecasemap 221 253 221

\definecasemap 224 224 192 \definecasemap 192 224 192
\definecasemap 232 232 200 \definecasemap 200 232 200
\definecasemap 236 236 204 \definecasemap 204 236 204
\definecasemap 242 242 210 \definecasemap 210 242 210
\definecasemap 249 249 217 \definecasemap 217 249 217

\definecasemap 226 226 194 \definecasemap 194 226 194
\definecasemap 234 234 202 \definecasemap 202 234 202
\definecasemap 238 238 206 \definecasemap 206 238 206
\definecasemap 244 244 212 \definecasemap 212 244 212
\definecasemap 251 251 219 \definecasemap 219 251 219

\definecasemap 227 227 195 \definecasemap 195 227 195
\definecasemap 241 241 209 \definecasemap 209 241 209
\definecasemap 245 245 213 \definecasemap 213 245 213

\stopmapping

\startencoding[texnansi]

\definecharacter textacute         19
\definecharacter textbreve         21
\definecharacter textcaron         20
\definecharacter textcedilla      184  
\definecharacter textcircumflex    94 % 136
\definecharacter textdiaeresis    168
\definecharacter textdotaccent      5
\definecharacter textgrave         18
\definecharacter texthungarumlaut   6
\definecharacter textmacron       175 
\definecharacter textogonek         7
\definecharacter textring          23
\definecharacter texttilde        152

\definecharacter dotlessi          16 % 105 
\definecharacter dotlessj          17

\definecharacter endash           150 % lig
\definecharacter emdash           151 % lig

\definecharacter aeligature       230
\definecharacter AEligature       198
\definecharacter oeligature       156
\definecharacter OEligature       140

\definecharacter ssharp           223

\definecharacter thorn            254
\definecharacter Thorn            222

\definecharacter exclamdown       161
\definecharacter questiondown     191

\definecharacter copyright        169
\definecharacter registered       174
\definecharacter trademark        153

\definecharacter sectionmark      167
\definecharacter paragraphmark    182

\definecharacter onequarter       188
\definecharacter onehalf          189
\definecharacter threequarter     190

\definecharacter onesuperior      185
\definecharacter twosuperior      178
\definecharacter threesuperior    179

\definecharacter textcent         162 % ?
\definecharacter textcurrency     164 
\definecharacter texteuro           1
\definecharacter textflorin       131
\definecharacter textsterling     163
\definecharacter textyen          165 

\definecharacter percent           37
\definecharacter perthousand      137

\definecharacter softhyphen        45 
\definecharacter periodcentered   183

\definecharacter textasciicircum  142 
\definecharacter textasciitilde   158
\definecharacter textbackslash     92  
\definecharacter textbraceleft    123 
\definecharacter textbraceright   125 
\definecharacter textunderscore    95

\definecharacter textbrokenbar    166 
\definecharacter textbullet       149
\definecharacter textdag          134
\definecharacter textddag         135
\definecharacter textdegree       176 
\definecharacter textdiv          247
\definecharacter textellipsis     133
\definecharacter textfraction       4
\definecharacter textlognot       172
\definecharacter textminus        143
\definecharacter textmu           181
\definecharacter textmultiply     215
\definecharacter textpm           177

\definecharacter quotedbl          34
\definecharacter quotedblbase     132
\definecharacter quotedblleft     147
\definecharacter quotedblright    148

\definecharacter quotesingle      129
\definecharacter quotesinglebase  130 

\definecharacter quoteleft        145
\definecharacter quoteright       146

\definecharacter guilsingleleft   139 
\definecharacter guilsingleright  155 
\definecharacter leftguillemot    171
\definecharacter rightguillemot   187

\definecharacter aacute           225
\definecharacter Aacute           193
\definecharacter eacute           233
\definecharacter Eacute           201
\definecharacter iacute           237
\definecharacter Iacute           205
\definecharacter oacute           243
\definecharacter Oacute           211
\definecharacter uacute           250
\definecharacter Uacute           218
\definecharacter yacute           253
\definecharacter Yacute           221

\definecharacter scaron           154
\definecharacter Scaron           138
\definecharacter zcaron           157
\definecharacter Zcaron           141

\definecharacter ccedilla         231
\definecharacter Ccedilla         199

\definecharacter acircumflex      226
\definecharacter Acircumflex      194
\definecharacter ecircumflex      234
\definecharacter Ecircumflex      202
\definecharacter icircumflex      238
\definecharacter Icircumflex      206
\definecharacter ocircumflex      244
\definecharacter Ocircumflex      212
\definecharacter ucircumflex      251
\definecharacter Ucircumflex      219

\definecharacter adiaeresis       228      
\definecharacter Adiaeresis       196      
\definecharacter ediaeresis       235      
\definecharacter Ediaeresis       203
\definecharacter idiaeresis       239
\definecharacter Idiaeresis       207
\definecharacter odiaeresis       246
\definecharacter Odiaeresis       214
\definecharacter udiaeresis       252
\definecharacter Udiaeresis       220
\definecharacter ydiaeresis       255
\definecharacter Ydiaeresis       159

\definecharacter agrave           224
\definecharacter Agrave           192
\definecharacter egrave           232
\definecharacter Egrave           200
\definecharacter igrave           236
\definecharacter Igrave           204
\definecharacter ograve           242
\definecharacter Ograve           210
\definecharacter ugrave           249
\definecharacter Ugrave           217

\definecharacter aring            229
\definecharacter Aring            197

\definecharacter Lstroke          128
\definecharacter lstroke          144
\definecharacter ostroke          248
\definecharacter Ostoke           216

\definecharacter atilde           227
\definecharacter Atilde           195
\definecharacter ntilde           241
\definecharacter Ntilde           209
\definecharacter otilde           245
\definecharacter Otilde           213

\stopencoding

% will be replaced by math collection, fails anyway 

\startencoding[texnansi]

\definecharacter mathgrave       "7060 
\definecharacter mathacute       "70B4 
\definecharacter mathhat         "7088 
\definecharacter mathtilde       "7098 
\definecharacter mathddot        "70A8 
\definecharacter mathbar         "70AF 

\stopencoding

\endinput
