diff options
author | Marius <mariausol@gmail.com> | 2011-01-31 00:18:53 +0200 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2011-01-31 00:18:53 +0200 |
commit | 3019c4ccfb0d984b45670a86d2400a6aacfbaa68 (patch) | |
tree | 92edfef9689a49ee95bc35cbe875a5e0ed0c7121 /scripts/context/stubs/mswin | |
parent | fcf2bf760b1f48c1ba2f5d0a3eed5dacb2751e95 (diff) | |
download | context-3019c4ccfb0d984b45670a86d2400a6aacfbaa68.tar.gz |
beta 2011.01.18 19:34
Diffstat (limited to 'scripts/context/stubs/mswin')
-rw-r--r-- | scripts/context/stubs/mswin/mtxrun.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/context/stubs/mswin/mtxrun.lua b/scripts/context/stubs/mswin/mtxrun.lua index 75a527188..1944436f5 100644 --- a/scripts/context/stubs/mswin/mtxrun.lua +++ b/scripts/context/stubs/mswin/mtxrun.lua @@ -93,9 +93,9 @@ function string.count(str,pattern) -- variant 3 return n end -function string.limit(str,n,sentinel) +function string.limit(str,n,sentinel) -- not utf proof if #str > n then - sentinel = sentinel or " ..." + sentinel = sentinel or "..." return sub(str,1,(n-#sentinel)) .. sentinel else return str @@ -9766,12 +9766,12 @@ local suffixmap = allocate() resolvers.suffixmap = suffixmap local relations = allocate { -- todo: handlers also here core = { - ofm = { + ofm = { -- will become obsolete names = { "ofm", "omega font metric", "omega font metrics" }, variable = 'OFMFONTS', suffixes = { 'ofm', 'tfm' }, }, - ovf = { + ovf = { -- will become obsolete names = { "ovf", "omega virtual font", "omega virtual fonts" }, variable = 'OVFFONTS', suffixes = { 'ovf', 'vf' }, @@ -9821,7 +9821,7 @@ local relations = allocate { -- todo: handlers also here variable = 'TEXFORMATS', suffixes = { 'fmt' }, }, - mem = { + mem = { -- will become obsolete names = { 'mem', "metapost format" }, variable = 'MPMEMS', suffixes = { 'mem' }, |