summaryrefslogtreecommitdiff
path: root/tex/context/base/typo-wrp.lua
diff options
context:
space:
mode:
authorContext Git Mirror Bot <phg42.2a@gmail.com>2015-04-08 15:15:05 +0200
committerContext Git Mirror Bot <phg42.2a@gmail.com>2015-04-08 15:15:05 +0200
commit32948ef106b3d0bbe9c0d7622c292a42080f7dbe (patch)
tree30df675c0fdcb654b636359aabfb9bb9f1b0a9cc /tex/context/base/typo-wrp.lua
parentf1cde6067499874bf126dfc6f5bedb598f117073 (diff)
downloadcontext-32948ef106b3d0bbe9c0d7622c292a42080f7dbe.tar.gz
2015-04-08 14:22:00
Diffstat (limited to 'tex/context/base/typo-wrp.lua')
-rw-r--r--tex/context/base/typo-wrp.lua11
1 files changed, 7 insertions, 4 deletions
diff --git a/tex/context/base/typo-wrp.lua b/tex/context/base/typo-wrp.lua
index 1a3aac386..07639392f 100644
--- a/tex/context/base/typo-wrp.lua
+++ b/tex/context/base/typo-wrp.lua
@@ -67,7 +67,10 @@ function wrappers.handler(head)
return head, true
end
-function commands.enablecrlf()
- nodes.tasks.enableaction("processors","typesetters.wrappers.handler")
- function commands.enablecrlf() end
-end
+interfaces.implement {
+ name = "enablecrlf",
+ onlyonce = true,
+ actions = function()
+ nodes.tasks.enableaction("processors","typesetters.wrappers.handler")
+ end
+}