summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/font-uni.mkiv
blob: 91a488ff205e4c9e03de4b2f21ed1bb39eab163e (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
%D \module
%D   [       file=font-uni,
%D        version=2008.11.03, % 1999.10.10,
%D          title=\CONTEXT\ Font Macros,
%D       subtitle=\UNICODE,
%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.

\writestatus{loading}{ConTeXt Font Macros / Unicode}

%D In \MKIV\ we only provide the \type {\uchar} macro and implement it as just
%D an \UTF\ converter. We expand it so best not use not use it for active
%D characters. In practice this command is probably never used anyway but we keep
%D if for old styles.

\unprotect

\def\uchar#1#2{\clf_uchar\numexpr#1\relax\numexpr#2\relax}

\let\uc\uchar

\protect \endinput