diff options
author | Hans Hagen <pragma@wxs.nl> | 2017-05-13 00:46:22 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2017-05-13 00:46:22 +0200 |
commit | aceba29d651766f5621b9812d4c40e28029bc4ea (patch) | |
tree | c758ab7390365921595c52d4c99f80fb75636c79 /tex/context/base/mkiv/math-noa.lua | |
parent | fdc4bdf67540ac0b5194641a552903faf9aef3a9 (diff) | |
download | context-aceba29d651766f5621b9812d4c40e28029bc4ea.tar.gz |
2017-05-12 22:46:00
Diffstat (limited to 'tex/context/base/mkiv/math-noa.lua')
-rw-r--r-- | tex/context/base/mkiv/math-noa.lua | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/tex/context/base/mkiv/math-noa.lua b/tex/context/base/mkiv/math-noa.lua index 4db35c2d6..f9e8c9f70 100644 --- a/tex/context/base/mkiv/math-noa.lua +++ b/tex/context/base/mkiv/math-noa.lua @@ -585,9 +585,10 @@ do end local newchar = remapalphabets(char,a,g) if newchar then - if characters[newchar] then + local newchardata = characters[newchar] + if newchardata then if trace_remapping then - report_remap("char",font,char,newchar) + report_remap("char",font,char,newchar,newchardata.commands and " (virtual)" or "") end if trace_analyzing then setnodecolor(pointer,"font:isol") @@ -618,6 +619,11 @@ do report_remap("char",font,char,newchar," fails (no fallback style)") end end + elseif trace_remapping then + local chardata = characters[char] + if chardata and chardata.commands then + report_remap("char",font,char,char," (virtual)") + end end end if not characters[char] then |