diff options
author | Hans Hagen <pragma@wxs.nl> | 2012-01-24 11:11:00 +0100 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2012-01-24 11:11:00 +0100 |
commit | a09a16817c8461b4f1c518f5dab0fa3f734b62d6 (patch) | |
tree | 5f6402554ed7f5882d29c54b5c9ef4fb663d75d3 /tex/context/base/font-sym.mkvi | |
parent | 2c97049c16bd99dc7226b879c171246e34ec219c (diff) | |
download | context-a09a16817c8461b4f1c518f5dab0fa3f734b62d6.tar.gz |
beta 2012.01.24 11:11
Diffstat (limited to 'tex/context/base/font-sym.mkvi')
-rw-r--r-- | tex/context/base/font-sym.mkvi | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tex/context/base/font-sym.mkvi b/tex/context/base/font-sym.mkvi index 1ce76fc0b..68237c073 100644 --- a/tex/context/base/font-sym.mkvi +++ b/tex/context/base/font-sym.mkvi @@ -228,4 +228,15 @@ %D After which the font is active and the baselines and %D struts are set. +%D \macros{doiffontcharelse} + +\unexpanded\def\doiffontcharelse#specification#unicode% this could be a direct lua call + {\begingroup + \font_basics_define_font_without_parameters{thedefinedfont}{#specification}% + \iffontchar\font#unicode\relax + \endgroup\expandafter\firstoftwoarguments + \else + \endgroup\expandafter\secondoftwoarguments + \fi} + \protect \endinput |