diff options
Diffstat (limited to 'Master/texmf-dist/tex/context/base/data-con.lua')
-rw-r--r-- | Master/texmf-dist/tex/context/base/data-con.lua | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/context/base/data-con.lua b/Master/texmf-dist/tex/context/base/data-con.lua index 354c6807d9f..240538df2db 100644 --- a/Master/texmf-dist/tex/context/base/data-con.lua +++ b/Master/texmf-dist/tex/context/base/data-con.lua @@ -74,11 +74,11 @@ function containers.define(category, subcategory, version, enabled) end end -function containers.is_usable(container, name) +function containers.is_usable(container,name) return container.enabled and caches and caches.is_writable(container.writable, name) end -function containers.is_valid(container, name) +function containers.is_valid(container,name) if name and name ~= "" then local storage = container.storage[name] return storage and storage.cache_version == container.version @@ -133,5 +133,6 @@ function containers.content(container,name) end function containers.cleanname(name) - return (gsub(lower(name),"[^%w%d]+","-")) + -- return (gsub(lower(name),"[^%w]+","-")) + return (gsub(lower(name),"[^%w\128-\255]+","-")) -- more utf friendly end |