diff options
author | Context Git Mirror Bot <phg42.2a@gmail.com> | 2015-05-03 22:15:05 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2015-05-03 22:15:05 +0200 |
commit | 5f9befc0fd0b4b14d74862c8d3f577569b436cda (patch) | |
tree | be901810b37c84c35558558934738696cde2531a /tex/context/base/syst-aux.lua | |
parent | 66f36353ebae5235cc3bfe5f75b375e175857748 (diff) | |
download | context-5f9befc0fd0b4b14d74862c8d3f577569b436cda.tar.gz |
2015-05-03 21:53:00
Diffstat (limited to 'tex/context/base/syst-aux.lua')
-rw-r--r-- | tex/context/base/syst-aux.lua | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tex/context/base/syst-aux.lua b/tex/context/base/syst-aux.lua index a880bace3..fff9bbb4c 100644 --- a/tex/context/base/syst-aux.lua +++ b/tex/context/base/syst-aux.lua @@ -184,13 +184,13 @@ implement { name = "upper", arguments = "string", actions = { utf.upper, cont implement { name = "lower", arguments = "string", actions = { utf.lower, context } } implement { name = "strip", arguments = "string", actions = { string.strip, context } } -- or utf.strip --- implement { --- name = "converteddimen", --- arguments = { "dimen", "string" }, --- actions = function(dimen,unit) --- context(todimen(dimen,unit or "pt","%0.5f")) -- no unit appended (%F) --- end --- } +implement { + name = "converteddimen", + arguments = { "dimen", "string" }, + actions = function(dimen,unit) + context(number.todimen(dimen,unit or "pt","%0.5f")) -- no unit appended (%F) + end +} -- where, not really the best spot for this: |