From eec06cd3ed759e8101b6cafa16d46884e479a4f6 Mon Sep 17 00:00:00 2001
From: Hans Hagen <pragma@wxs.nl>
Date: Wed, 15 May 2002 00:00:00 +0200
Subject: stable 2002.05.15

---
 tex/context/base/hand-ini.tex | 11 +++++++++++
 1 file changed, 11 insertions(+)

(limited to 'tex/context/base/hand-ini.tex')

diff --git a/tex/context/base/hand-ini.tex b/tex/context/base/hand-ini.tex
index d2d02ee54..863b83de5 100644
--- a/tex/context/base/hand-ini.tex
+++ b/tex/context/base/hand-ini.tex
@@ -313,6 +313,17 @@
 \def\usehandling[#1]%
   {\processcommalist[#1]\dousehandling}
 
+%D New: 
+
+\def\overloadcharacter#1 #2 %
+  {\setfonttoks
+   \doifnumberelse{\string#2}
+     {\appendtoks\dooverloadcharacter{#1}{\char#2 }\to\fonttoks}
+     {\appendtoks\dooverloadcharacter{#1}{#2}\to\fonttoks}}
+
+\def\dooverloadcharacter#1%
+  {\setvalue{\characterencoding\string#1}}
+
 %D Let's now see if this macro works: 
 
 \setupfonthandling[\s!default][\c!links=1,\c!rechts=1]
-- 
cgit v1.2.3

