From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/100968 Path: news.gmane.org!.POSTED!not-for-mail From: Rik Kabel Newsgroups: gmane.comp.tex.context Subject: Bug with \setuptagging and layers Date: Sat, 9 Jun 2018 18:05:01 -0400 Message-ID: <7c640b8b-c07d-8490-04c4-47d10864676b@rik.users.panix.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4922799015448586952==" X-Trace: blaine.gmane.org 1528581813 21069 195.159.176.226 (9 Jun 2018 22:03:33 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 9 Jun 2018 22:03:33 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 To: ConTeXt Original-X-From: ntg-context-bounces@ntg.nl Sun Jun 10 00:03:29 2018 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fRlxI-0005Q0-S9 for gctc-ntg-context-518@m.gmane.org; Sun, 10 Jun 2018 00:03:28 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 1B8AD3470D; Sun, 10 Jun 2018 00:05:20 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id m5keaKLOGCGW; Sun, 10 Jun 2018 00:05:18 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id F22343470E; Sun, 10 Jun 2018 00:05:17 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 098633470C for ; Sun, 10 Jun 2018 00:05:17 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id z4LD02spKKfn for ; Sun, 10 Jun 2018 00:05:16 +0200 (CEST) Original-Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 1189C3470A for ; Sun, 10 Jun 2018 00:05:06 +0200 (CEST) Original-Received: from [192.168.201.199] (cpe-24-194-22-135.nycap.res.rr.com [24.194.22.135]) by mailbackend.panix.com (Postfix) with ESMTPSA id EEBCA37514 for ; Sat, 9 Jun 2018 18:05:04 -0400 (EDT) Content-Language: en-US X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:100968 Archived-At: This is a multi-part message in MIME format. --===============4922799015448586952== Content-Type: multipart/alternative; boundary="------------9FDB703E0CE10D0665C21BED" Content-Language: en-US This is a multi-part message in MIME format. --------------9FDB703E0CE10D0665C21BED Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit When the first line of the following example is removed, all is well. With it present, the image in the layer has the text "image" added to the image. This problem is not present in, inter alia, TL18. \setuptagging         [state=start] \setupexternalfigures [location=default] \definelayout         [testpage] \definelayer          [testpage] [width=\paperwidth,height=\paperheight] \startsetups          [testpage]     \setlayerframed   [testpage] [preset=rightbottom,hoffset=.25in,voffset=.25in, background=color,backgroundcolor=yellow]                       {\externalfigure[cow.pdf]} \stopsetups \setupbackgrounds     [page] [setups=testpage,background={testpage}] \starttext \startmakeup          [testpage] \framed[background=color,backgroundcolor=yellow]                              {\externalfigure[cow.pdf]} \stopmakeup \stoptext -- Rik --------------9FDB703E0CE10D0665C21BED Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

When the first line of the following example is removed, all is well. With it present, the image in the layer has the text "image" added to the image. This problem is not present in, inter alia, TL18.

\setuptagging         [state=start]
\setupexternalfigures [location=default]
\definelayout         [testpage]
\definelayer          [testpage]
                      [width=\paperwidth,height=\paperheight]
\startsetups          [testpage]
    \setlayerframed   [testpage]
                      [preset=rightbottom,hoffset=.25in,voffset=.25in,
                       background=color,backgroundcolor=yellow]
                      {\externalfigure[cow.pdf]}
\stopsetups
\setupbackgrounds     [page]
                      [setups=testpage,background={testpage}]
\starttext
\startmakeup          [testpage]
                      \framed[background=color,backgroundcolor=yellow]
                             {\externalfigure[cow.pdf]}
\stopmakeup
\stoptext

--
Rik

--------------9FDB703E0CE10D0665C21BED-- --===============4922799015448586952== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --===============4922799015448586952==--