diff options
Diffstat (limited to 'tex/context/base/mkxl/layo-ini.lmt')
-rw-r--r-- | tex/context/base/mkxl/layo-ini.lmt | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tex/context/base/mkxl/layo-ini.lmt b/tex/context/base/mkxl/layo-ini.lmt index 1570075d9..1919558ed 100644 --- a/tex/context/base/mkxl/layo-ini.lmt +++ b/tex/context/base/mkxl/layo-ini.lmt @@ -96,8 +96,12 @@ function layouts.setupcanvas(specification) canvas.marked = specification.print -- local copies = specification.copies - if type(copies) == "number" and copies < 2 then - canvas.copies = false + if type(copies) == "number" then + if copies < 2 then + canvas.copies = false + else + canvas.copies = copies + end end -- local doublesided = specification.doublesided |