summaryrefslogtreecommitdiff
path: root/tex/context/base/mkxl/mlib-pdf.lmt
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2021-07-10 23:34:30 +0200
committerContext Git Mirror Bot <phg@phi-gamma.net>2021-07-10 23:34:30 +0200
commiteebab79d84255890c1a6d320fba146b1c422c3a6 (patch)
tree1b3b581945b5ac395b36d74b0da10926e9536c9f /tex/context/base/mkxl/mlib-pdf.lmt
parentba4875d8c328257fa3cb4d140d07ced41b8a576c (diff)
downloadcontext-eebab79d84255890c1a6d320fba146b1c422c3a6.tar.gz
2021-07-10 21:49:00
Diffstat (limited to 'tex/context/base/mkxl/mlib-pdf.lmt')
-rw-r--r--tex/context/base/mkxl/mlib-pdf.lmt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tex/context/base/mkxl/mlib-pdf.lmt b/tex/context/base/mkxl/mlib-pdf.lmt
index 11f211b2b..58a1129eb 100644
--- a/tex/context/base/mkxl/mlib-pdf.lmt
+++ b/tex/context/base/mkxl/mlib-pdf.lmt
@@ -388,7 +388,7 @@ function metapost.flush(specification,result)
local textfigure = flusher.textfigure
-- local processspecial = flusher.processspecial or metapost.processspecial
local tocomment = flusher.tocomment
- if type(filtering) ~= "table" then
+ if type(filtering) ~= "table" or not next(filtering) then
filtering = false
end
-- patterns: we always use image 1 and then can use patterns for 2..n (or one number)