diff options
author | Context Git Mirror Bot <phg42.2a@gmail.com> | 2015-04-08 15:15:05 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2015-04-08 15:15:05 +0200 |
commit | 32948ef106b3d0bbe9c0d7622c292a42080f7dbe (patch) | |
tree | 30df675c0fdcb654b636359aabfb9bb9f1b0a9cc /tex/context/base/back-ini.lua | |
parent | f1cde6067499874bf126dfc6f5bedb598f117073 (diff) | |
download | context-32948ef106b3d0bbe9c0d7622c292a42080f7dbe.tar.gz |
2015-04-08 14:22:00
Diffstat (limited to 'tex/context/base/back-ini.lua')
-rw-r--r-- | tex/context/base/back-ini.lua | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/tex/context/base/back-ini.lua b/tex/context/base/back-ini.lua index 129e7b75c..e8af4d9d9 100644 --- a/tex/context/base/back-ini.lua +++ b/tex/context/base/back-ini.lua @@ -113,6 +113,10 @@ function codeinjections.getmatrix() return 1, 0, 0, 1, 0, 0 end -- can best be here -function commands.setrealspaces(v) - nodes.tasks.setaction("shipouts","nodes.handlers.accessibility",v == interfaces.variables.yes) -end +interfaces.implement { + name = "setrealspaces", + arguments = "string", + actions = function(v) + nodes.tasks.setaction("shipouts","nodes.handlers.accessibility",v == interfaces.variables.yes) + end +} |