summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/base/math-noa.lua
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-04-19 23:37:39 +0000
committerKarl Berry <karl@freefriends.org>2013-04-19 23:37:39 +0000
commit69de3344104bfec286cbe7ea63f03fab58d3c1ec (patch)
tree14d60f3983479b6a35b024ed1c170d109b86d4e9 /Master/texmf-dist/tex/context/base/math-noa.lua
parent9ff55323bdb88ede985266ee9123bc2cdda58848 (diff)
context update from cont-tmf.zip of Apr 20 01:16, 11085698 bytes
git-svn-id: svn://tug.org/texlive/trunk@30044 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/context/base/math-noa.lua')
-rw-r--r--Master/texmf-dist/tex/context/base/math-noa.lua46
1 files changed, 3 insertions, 43 deletions
diff --git a/Master/texmf-dist/tex/context/base/math-noa.lua b/Master/texmf-dist/tex/context/base/math-noa.lua
index 2371110c14e..b309ba0777d 100644
--- a/Master/texmf-dist/tex/context/base/math-noa.lua
+++ b/Master/texmf-dist/tex/context/base/math-noa.lua
@@ -205,6 +205,9 @@ noads.process = processnoads
-- 3-5 bold
-- 6-8 pseudobold
+-- this could best be integrated in the remapper, and if we run into problems, we
+-- might as well do this
+
local families = { }
local a_mathfamily = attributes.private("mathfamily")
local boldmap = mathematics.boldmap
@@ -295,9 +298,6 @@ local remapalphabets = mathematics.remapalphabets
local fallbackstyleattr = mathematics.fallbackstyleattr
local setnodecolor = nodes.tracers.colors.set
---~ This does not work out well, as there are no fallbacks. Ok, we could
---~ define a poor mans simplify mechanism.
-
local function checked(pointer)
local char = pointer.char
local fam = pointer.fam
@@ -320,46 +320,6 @@ local function checked(pointer)
end
end
--- processors.relocate[math_char] = function(pointer)
--- local g = pointer[a_mathgreek] or 0
--- local a = pointer[a_mathalphabet] or 0
--- if a > 0 or g > 0 then
--- if a > 0 then
--- pointer[a_mathgreek] = 0
--- end
--- if g > 0 then
--- pointer[a_mathalphabet] = 0
--- end
--- local char = pointer.char
--- local newchar = remapalphabets(char,a,g)
--- if newchar then
--- local fam = pointer.fam
--- local id = font_of_family(fam)
--- local characters = fontcharacters[id]
--- if characters and characters[newchar] then
--- if trace_remapping then
--- report_remap("char",id,char,newchar)
--- end
--- if trace_analyzing then
--- setnodecolor(pointer,"font:isol")
--- end
--- pointer.char = newchar
--- return true
--- else
--- if trace_remapping then
--- report_remap("char",id,char,newchar," fails")
--- end
--- end
--- end
--- end
--- if trace_analyzing then
--- setnodecolor(pointer,"font:medi")
--- end
--- if check_coverage then
--- return checked(pointer)
--- end
--- end
-
processors.relocate[math_char] = function(pointer)
local g = pointer[a_mathgreek] or 0
local a = pointer[a_mathalphabet] or 0