diff options
Diffstat (limited to 'Master/texmf-dist/tex/context/base/mtx-context-arrange.tex')
-rw-r--r-- | Master/texmf-dist/tex/context/base/mtx-context-arrange.tex | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/context/base/mtx-context-arrange.tex b/Master/texmf-dist/tex/context/base/mtx-context-arrange.tex index 9d0bb901bee..73431567d34 100644 --- a/Master/texmf-dist/tex/context/base/mtx-context-arrange.tex +++ b/Master/texmf-dist/tex/context/base/mtx-context-arrange.tex @@ -89,11 +89,15 @@ if document.arguments.sort then table.sort(document.files) end - local emptypages = document.arguments.addempty or "" - local textwidth = document.arguments.textwidth or "0cm" + local emptypages = document.arguments.addempty or "" + local textwidth = document.arguments.textwidth or "0cm" for _, filename in ipairs(document.files) do if not string.find(filename,"^mtx%-context%-") then - fprint("\\insertpages[%s][%s][width=%s]",filename,emptypages,textwidth) + context.insertpages ( + { filename }, + { emptypages }, + { width = textwidth } + ) end end else @@ -103,3 +107,5 @@ \stoptext + + |