diff options
author | Hans Hagen <pragma@wxs.nl> | 2013-09-11 15:37:00 +0200 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2013-09-11 15:37:00 +0200 |
commit | 078e25ebc5db0c7097ba08d9a226c676efe2dad6 (patch) | |
tree | c7ef32352278bb3a5cfa4fc68bf169a006067bcb /tex/context/base/typo-brk.lua | |
parent | 3413278eb3639da93bfa6d31d0abb8f9b41b3150 (diff) | |
download | context-078e25ebc5db0c7097ba08d9a226c676efe2dad6.tar.gz |
beta 2013.09.11 15:37
Diffstat (limited to 'tex/context/base/typo-brk.lua')
-rw-r--r-- | tex/context/base/typo-brk.lua | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/tex/context/base/typo-brk.lua b/tex/context/base/typo-brk.lua index a05cca25b..3558efa8e 100644 --- a/tex/context/base/typo-brk.lua +++ b/tex/context/base/typo-brk.lua @@ -61,7 +61,6 @@ breakpoints.methods = breakpoints.methods or { } local methods = breakpoints.methods local a_breakpoints = attributes.private("breakpoint") -breakpoints.attribute = a_breakpoints storage.register("typesetters/breakpoints/mapping", breakpoints.mapping, "typesetters.breakpoints.mapping") @@ -155,7 +154,7 @@ methods[5] = function(head,start,settings) -- x => p q r return head, start end -local function process(namespace,attribute,head) +function breakpoints.handler(head) local done, numbers = false, languages.numbers local start, n = head, 0 while start do @@ -285,12 +284,6 @@ function breakpoints.set(n) texsetattribute(a_breakpoints,n) end -breakpoints.handler = nodes.installattributehandler { - name = "breakpoint", - namespace = breakpoints, - processor = process, -} - -- function breakpoints.enable() -- tasks.enableaction("processors","typesetters.breakpoints.handler") -- end |