summaryrefslogtreecommitdiff
path: root/tex/generic
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2009-08-28 14:44:00 +0200
committerHans Hagen <pragma@wxs.nl>2009-08-28 14:44:00 +0200
commitd4f9912131353d01960eeed7a0d80e7227710b44 (patch)
tree40e91eeeeb5c42b32f062f3669749f91c9bc3a80 /tex/generic
parent431ad6f512041aa658f6b080adbc17c2b4dffba3 (diff)
downloadcontext-d4f9912131353d01960eeed7a0d80e7227710b44.tar.gz
beta 2009.08.28 14:44
Diffstat (limited to 'tex/generic')
-rw-r--r--tex/generic/context/luatex-fonts-merged.lua12
1 files changed, 10 insertions, 2 deletions
diff --git a/tex/generic/context/luatex-fonts-merged.lua b/tex/generic/context/luatex-fonts-merged.lua
index 38fe3078b..3fc613fb8 100644
--- a/tex/generic/context/luatex-fonts-merged.lua
+++ b/tex/generic/context/luatex-fonts-merged.lua
@@ -1,6 +1,6 @@
-- merged file : c:/data/develop/context/texmf/tex/generic/context/luatex-fonts-merged.lua
-- parent file : c:/data/develop/context/texmf/tex/generic/context/luatex-fonts.lua
--- merge date : 08/26/09 01:45:51
+-- merge date : 08/28/09 14:46:34
do -- begin closure to overcome local limits and interference
@@ -52,6 +52,14 @@ function string:unquote()
return (gsub(self,"^([\"\'])(.*)%1$","%2"))
end
+--~ function string:unquote()
+--~ if find(self,"^[\'\"]") then
+--~ return self:sub(2,-2)
+--~ else
+--~ return self
+--~ end
+--~ end
+
function string:quote() -- we could use format("%q")
return '"' .. self:unquote() .. '"'
end
@@ -78,7 +86,7 @@ function string:strip()
end
function string:is_empty()
- return not find(find,"%S")
+ return not find(self,"%S")
end
function string:enhance(pattern,action)