summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/mtx-context-copy.tex
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2019-12-24 21:10:09 +0100
committerContext Git Mirror Bot <phg@phi-gamma.net>2019-12-24 21:10:09 +0100
commitd40e81dea53da7bbc91df306814003f7720a167f (patch)
tree8aed8a716370cac0d04145a72405c1beed11b94d /tex/context/base/mkiv/mtx-context-copy.tex
parentd1f4da02201fd33c139ee1756296e8df53580ff7 (diff)
downloadcontext-d40e81dea53da7bbc91df306814003f7720a167f.tar.gz
2019-12-24 19:54:00
Diffstat (limited to 'tex/context/base/mkiv/mtx-context-copy.tex')
-rw-r--r--tex/context/base/mkiv/mtx-context-copy.tex4
1 files changed, 3 insertions, 1 deletions
diff --git a/tex/context/base/mkiv/mtx-context-copy.tex b/tex/context/base/mkiv/mtx-context-copy.tex
index 8e4336609..d29f1d07c 100644
--- a/tex/context/base/mkiv/mtx-context-copy.tex
+++ b/tex/context/base/mkiv/mtx-context-copy.tex
@@ -56,6 +56,8 @@
\startluacode
+ local find = string.find
+
if #document.files == 0 then
context("no files given")
else
@@ -64,7 +66,7 @@
end
for i=1,#document.files do
local filename = document.files[i]
- if not string.find(filename,"^mtx%-context%-") then
+ if not find(filename,"^mtx%-context%-") and not find(filename,"^context%-extra") then
logs.report("copy",filename)
context.getfiguredimensions
{ filename }