diff options
author | Marius <mariausol@gmail.com> | 2012-06-05 23:00:15 +0300 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2012-06-05 23:00:15 +0300 |
commit | 7eed65970869ede47697d448e88fa4722418b7f3 (patch) | |
tree | 923cbee85f394d0613817412b9188cfb9810d030 /tex/generic | |
parent | 6bfe227f2a770f059502000d4c7f20d5d8ef4024 (diff) | |
download | context-7eed65970869ede47697d448e88fa4722418b7f3.tar.gz |
beta 2012.06.05 21:45
Diffstat (limited to 'tex/generic')
-rw-r--r-- | tex/generic/context/luatex/luatex-fonts-merged.lua | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tex/generic/context/luatex/luatex-fonts-merged.lua b/tex/generic/context/luatex/luatex-fonts-merged.lua index 46ff6c4c2..c77cd4626 100644 --- a/tex/generic/context/luatex/luatex-fonts-merged.lua +++ b/tex/generic/context/luatex/luatex-fonts-merged.lua @@ -1,6 +1,6 @@ -- merged file : luatex-fonts-merged.lua -- parent file : luatex-fonts.lua --- merge date : 06/05/12 17:36:46 +-- merge date : 06/05/12 21:45:24 do -- begin closure to overcome local limits and interference @@ -118,6 +118,11 @@ function string.topattern(str,lowercase,strict) end end + +function string.valid(str,default) + return (type(str) == "string" and str ~= "" and str) or default or nil +end + -- obsolete names: string.quote = string.quoted |