summaryrefslogtreecommitdiff
path: root/tex/context/base/unic-chi.tex
blob: b8e4986905e7ceb6027dce728ca933d46c378d75 (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
%D \module
%D   [       file=unic-chi,
%D        version=2005.12.14,
%D          title=\CONTEXT\ \UNICODE\ Macros,
%D       subtitle=Chinese Vectors,
%D         author=Hans Hagen,
%D           date=\currentdate,
%D      copyright={PRAGMA}]
%C
%C This module is part of the \CONTEXT\ macro||package and is
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
%C details.

% \def\chineseglyph#1#2#3% #1=hex (we know the font anyway), #2=dec, #3=chr
%   {\uchar{#2}{#3}}
%
% \dostepwiserecurse{78}{159}{1} % 4E-9F
%   {\expanded{\defineunicodecommand \recurselevel\space {\noexpand\chineseglyph{\lchexnumbers{\recurselevel}}}}}

% \dostepwiserecurse{78}{159}{1}{\defineunicodecommand #1 {\uchar}} % 4E-9F

% temp: we need proper ranges

\dostepwiserecurse{40}{159}{1}{\defineunicodecommand #1 {\uchar}}

\endinput