summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/base/lpdf-swf.lua
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/context/base/lpdf-swf.lua')
-rw-r--r--Master/texmf-dist/tex/context/base/lpdf-swf.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/context/base/lpdf-swf.lua b/Master/texmf-dist/tex/context/base/lpdf-swf.lua
index 4bbec8dbe84..12c80036fd2 100644
--- a/Master/texmf-dist/tex/context/base/lpdf-swf.lua
+++ b/Master/texmf-dist/tex/context/base/lpdf-swf.lua
@@ -108,10 +108,10 @@ local function insertswf(spec)
local names = configuration.Assets.Names
local prefix = false
if root ~= "" and root ~= "." then
- prefix = format("^%s/",string.escapedpattern(root,true))
+ prefix = format("^%s/",string.topattern(root))
end
if prefix and trace_swf then
- report_swf("using strip pattern '%s'",prefix)
+ report_swf("using strip pattern %a",prefix)
end
local function add(fullname,strip)
local filename = gsub(fullname,"^%./","")
@@ -124,7 +124,7 @@ local function insertswf(spec)
names[#names+1] = pdfstring(filename)
names[#names+1] = embeddedreference
if trace_swf then
- report_swf("embedding file '%s' as '%s'",fullname,usedname)
+ report_swf("embedding file %a as %a",fullname,usedname)
end
end
relativepaths = resources.relativepaths
@@ -135,7 +135,7 @@ local function insertswf(spec)
for i=1,#relativepaths do
local relativepath = relativepaths[i]
if trace_swf then
- report_swf("checking path '%s' relative to '%s'",relativepath,root)
+ report_swf("checking path %a relative to %a",relativepath,root)
end
local path = file.join(root == "" and "." or root,relativepath)
local files = dir.glob(path .. "/**")
@@ -152,7 +152,7 @@ local function insertswf(spec)
for i=1,#paths do
local path = paths[i]
if trace_swf then
- report_swf("checking path '%s'",path)
+ report_swf("checking path %a",path)
end
local files = dir.glob(path .. "/**")
for i=1,#files do