diff options
author | Hans Hagen <pragma@wxs.nl> | 2012-11-07 23:16:00 +0100 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2012-11-07 23:16:00 +0100 |
commit | 7322c8238e527f50b0cd50b35b231b2734a869ba (patch) | |
tree | 9bfd100e686d7e8e10672ab8e953a9ea67a5394e /tex/context/base/node-tra.lua | |
parent | 1fcc520803951a61b5a08baf6c1cdac8f7111e75 (diff) | |
download | context-7322c8238e527f50b0cd50b35b231b2734a869ba.tar.gz |
beta 2012.11.07 23:16
Diffstat (limited to 'tex/context/base/node-tra.lua')
-rw-r--r-- | tex/context/base/node-tra.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tex/context/base/node-tra.lua b/tex/context/base/node-tra.lua index 6b5f49964..7d5630eaa 100644 --- a/tex/context/base/node-tra.lua +++ b/tex/context/base/node-tra.lua @@ -730,9 +730,11 @@ function colors.set(n,c,s) end set_attribute(n,a_color,mc) end + return n end function colors.setlist(n,c,s) + local f = n while n do local mc = m_color[c] if not mc then @@ -745,10 +747,12 @@ function colors.setlist(n,c,s) end n = n.next end + return f end function colors.reset(n) unset_attribute(n,a_color) + return n end -- maybe @@ -766,9 +770,11 @@ function transparencies.set(n,t) else set_attribute(n,a_transparency,mt) end + return n end function transparencies.setlist(n,c,s) + local f = n while n do local mt = m_transparency[c] if not mt then @@ -778,10 +784,12 @@ function transparencies.setlist(n,c,s) end n = n.next end + return f end function transparencies.reset(n) unset_attribute(n,a_transparency) + return n end -- for the moment here |