diff options
Diffstat (limited to 'Master/texmf-dist/tex/context/base/mkiv/char-ini.mkiv')
-rw-r--r-- | Master/texmf-dist/tex/context/base/mkiv/char-ini.mkiv | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/Master/texmf-dist/tex/context/base/mkiv/char-ini.mkiv b/Master/texmf-dist/tex/context/base/mkiv/char-ini.mkiv index 0519aaf915f..9c41df67300 100644 --- a/Master/texmf-dist/tex/context/base/mkiv/char-ini.mkiv +++ b/Master/texmf-dist/tex/context/base/mkiv/char-ini.mkiv @@ -42,8 +42,8 @@ % use \normalUchar when possible .. the next one is nice for documents and it also accepts % 0x prefixed numbers -\def\utfchar #1{\clf_utfchar {#1}} -\def\safechar#1{\clf_safechar{#1}} +\def\utfchar #1{\clf_utfchar \numexpr#1\relax} +\def\safechar#1{\clf_safechar\numexpr#1\relax} \unexpanded\def\Ux #1{\Uchar\numexpr"#1\relax} % used in xml \def\eUx#1{\Uchar\numexpr"#1\relax} % used in xml @@ -66,18 +66,6 @@ \normalstartimath\char#1\normalstopimath \fi\fi} -\unexpanded\def\textormathchars#1% - {{\font_text_or_mathchars#1\relax}} - -\unexpanded\def\font_text_or_mathchars#1#2\relax - {\relax\ifmmode - #1#2% - \else\iffontchar\font`#1\relax - #1#2\relax - \else - \normalstartimath#1#2\normalstopimath - \fi\fi} - %D The codes are stored in the format, so we don't need to reinitialize %D them (unless of course we have adapted the table). It is on the agenda %D to do this with \type {tex.lccode} cum suis once they're available. |