From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/109804 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Jairo A. del Rio" Newsgroups: gmane.comp.tex.context Subject: Bug (?) using \externalfigure with layers and backgrounds Date: Thu, 3 Dec 2020 12:14:28 -0500 Message-ID: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4130447300000784434==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28746"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Dec 03 18:15:08 2020 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kksCC-0007O4-3a for gctc-ntg-context-518@m.gmane-mx.org; Thu, 03 Dec 2020 18:15:08 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id B1C561AA8B1; Thu, 3 Dec 2020 18:14:44 +0100 (CET) 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 jux_aPjtIggf; Thu, 3 Dec 2020 18:14:42 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id C54701AA8A4; Thu, 3 Dec 2020 18:14:42 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 9B6EA1AA8AA for ; Thu, 3 Dec 2020 18:14:41 +0100 (CET) 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 YeWaBr5CfVdx for ; Thu, 3 Dec 2020 18:14:41 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.128.41; helo=mail-wm1-f41.google.com; envelope-from=jairoadelrio6@gmail.com; receiver= Original-Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 153181AA89E for ; Thu, 3 Dec 2020 18:14:41 +0100 (CET) Original-Received: by mail-wm1-f41.google.com with SMTP id 3so4642366wmg.4 for ; Thu, 03 Dec 2020 09:14:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=wvacDdkbZslCqCsTcJB0kbwTinmo2xUyEN1rp/t7jOs=; b=dnU+AZNKN6xC55UsOZhS09MrKw2Lq5inN4pnmou1mYky2DnYVqQDG5SgdlGbT/KZZ/ 6Av2MBdnB4CjUjKtWgEAWgPoom496IdSYFyxd/MroGTgZbv448DuUp5cbMIdIu7Az5th RzHF+bWabw5Aip933NylVLTeuWRSfGiSo5+MxYrv6QPdvfutftzqzY8gdq9odEhB5TYS 3z6GMDi8lV/wOS8LzsrsjgCFU5Y6BuGa2fWIBCHcdqap6rsSoe3454/MOPPII5he7ane 5mGE5VjBQsSEG/tbcJwT38DUvDL2eugZGvgO6b3eqUsMcCBam3fio2+7ha6CCQ9SOJil 2GMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=wvacDdkbZslCqCsTcJB0kbwTinmo2xUyEN1rp/t7jOs=; b=U9FDMEJXolK0zuoUIT/T8v/v+GWkFU8UHjbXrW1GsCLgKI+P83JfZkI5zNw+C3AS3h /F0SxdgheW+Zkmdjaus6KVHtDdbUwuzdXoZkC8ipUZUxzUBg2eA16tuXT8EFvR66rjnO qJb+0HsL8MDX+4xRZW5Z48JTXSnaKqv2+uH20pf8M9ZHDHyYUQejc/Hm/FMkJq4Fkwsw 7aA9AdQgEWxlwCvZBwr0FbKfV7NhrzH1acsPu8RR2+hb+J8rpt+4OVzLLspjfMF51rW/ 9u1X5o7BY5qybshEWk4pkItlkS79EG45/IKNzSq+th7zxGj+VoDPScU1lbXqGbs4+VKj GqFg== X-Gm-Message-State: AOAM532i71NTbgPknLGzFo3cbhWUMTaGhJunoy3Fn7I5JEUoE22oOFZX JVAtYWoslE+mANHGr03oVPV9rX03S1eAdJdZ3gwCDlbbWfYEaA== X-Google-Smtp-Source: ABdhPJyDzrqx2VE+oFWKcqh4LZp0mYbnOrQXVYRlfAme1uZ3ebqBI+supO6JE0izQjYxqzMUokfYNdx2QHeu9dYVesk= X-Received: by 2002:a05:600c:58e:: with SMTP id o14mr120119wmd.47.1607015680311; Thu, 03 Dec 2020 09:14:40 -0800 (PST) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 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.io gmane.comp.tex.context:109804 Archived-At: --===============4130447300000784434== Content-Type: multipart/alternative; boundary="000000000000c612f805b5927e95" --000000000000c612f805b5927e95 Content-Type: text/plain; charset="UTF-8" Hi everyone. The following \setuppagenumbering[state=stop] \definelayer[mybg] [ repeat=yes, x=0mm, y=0mm, width=\paperwidth, height=\paperheight, ] \setlayer[mybg]{\externalfigure[cow][width=\paperwidth,height=\paperheight]} \setupbackgrounds[page][background=mybg,state=repeat] \setupindenting[yes,small] \startsetups background:default \setupbackgrounds[page][background=mybg,state=repeat] \stopsetups \startsetups background:void \setupbackgrounds[page][background=] \stopsetups \starttext \dorecurse{7}{\input knuth} \page \setups[background:void] \dorecurse{8}{\input tufte} \page \setups[background:default] \dorecurse{7}{\input knuth} \page \stoptext works with a local image (say, if "cow" is in the same folder as the main file), but it doesn't find sample images (cow, hacker, etc.). Is that a bug or an intended result? Thank you in advance. Best regards, Jairo --000000000000c612f805b5927e95 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi everyone. The following

\setuppagenumbering= [state=3Dstop]
\definelayer[mybg]
[
repeat=3Dyes,
x=3D0mm, y= =3D0mm, =C2=A0
width=3D\paperwidth, height=3D\paperheight,
]
\se= tlayer[mybg]{\externalfigure[cow][width=3D\paperwidth,height=3D\paperheight= ]}
\setupbackgrounds[page][background=3Dmybg,state=3Drepeat]
\setupin= denting[yes,small]
\startsetups background:default
\setupbackgrounds[= page][background=3Dmybg,state=3Drepeat]
\stopsetups
\startsetups back= ground:void
\setupbackgrounds[page][background=3D]
\stopsetups
\st= arttext
\dorecurse{7}{\input knuth}
\page
\setups[background:void]=
\dorecurse{8}{\input tufte}
\page
\setups[background:default]
= \dorecurse{7}{\input knuth}
\page
\stoptext

=
works with a local image (say, if "cow" is in the same folde= r as the main file), but it doesn't find sample images (cow, hacker, et= c.). Is that a bug or an intended result? Thank you in advance.

Best regards,

Jairo
--000000000000c612f805b5927e95-- --===============4130447300000784434== 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 X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============4130447300000784434==--