From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: from cgl.ntg.nl (Cgl.ntg.nl [5.39.185.202]) by inbox.vuxu.org (Postfix) with ESMTP id 7F49A24796 for ; Fri, 21 Jun 2024 16:25:01 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id B9361484647 for ; Fri, 21 Jun 2024 16:24:43 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Authentication-Results: cgl.ntg.nl (amavisd-new); dkim=fail (1024-bit key) reason="fail (message has been altered)" header.d=freedom.nl header.b="Y2eHkIjf"; dkim=fail (2048-bit key) reason="fail (message has been altered)" header.d=freedom.nl header.b="KHvJ/097" Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IDB_L9uHg-4j for ; Fri, 21 Jun 2024 16:24:43 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 29C5E4843E6 for ; Fri, 21 Jun 2024 16:24:33 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 0E816484239 for ; Fri, 21 Jun 2024 16:24:24 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Luia4SQ4oyYq for ; Fri, 21 Jun 2024 16:24:22 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=185.233.34.18; helo=outbound.soverin.net; envelope-from=j.hagen@freedom.nl; receiver= Received: from outbound.soverin.net (outbound.soverin.net [185.233.34.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by cgl.ntg.nl (Postfix) with ESMTPS id BEC61484233 for ; Fri, 21 Jun 2024 16:24:22 +0200 (CEST) Received: from smtp.freedom.nl (c04cst-smtp-frd02.int.sover.in [10.10.4.108]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id 4W5KP21LqBz9m for ; Fri, 21 Jun 2024 14:24:22 +0000 (UTC) Received: from smtp.freedom.nl (smtp.freedom.nl [10.10.4.108]) by freedom.nl (Postfix) with ESMTPSA id 4W5KP15wV2z2xMR for ; Fri, 21 Jun 2024 14:24:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=freedom.nl; s=default; t=1718979862; bh=bXblt58S8kyMRWVZ6OqBchqr8qka56vPlnO5guKOGOQ=; h=Date:Subject:To:References:From:In-Reply-To:From; b=Y2eHkIjf5KBHSm3ACoq5JK3Hqse/tdNhRUHuPW+C6Mh6ICzqVQnDj6Frbg3v9BtFk 8LttFuMOyunvzcNEUa9DstGBpOjJGVNMfn7G4H0hI+qTDAXJn/eaSOlOPy7kIcDmKh SdwTkK83kiACEud9TTiTjJvx1+qHsx4DqES434WY= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freedom.nl; s=soverin1; t=1718979861; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=iTIbFf4hf41MvTA46zVAVvKnQAeLO/TwFJHz4/ZD7Z0=; b=KHvJ/097UL6MawWNzg+Y97xZdP7zC9+jb1zTpQKeO7lClZ63uZhIx340lSij8fIoZ9Iz5m VIN5de+k/965wH7Ka1o1BmXqVhy2+r4YWlXzl+qNDd2nj+7FzDxDjJ60q9SC20GBmx57Yl cF2pGm/N0CDfveDxZQiEoZA0LN8DDDurjeTU8goek7rCi3lXN9SFy0RJ/Nqhob6lXIhDTV QVdWDHUvzPVQdfy6f/j7zKGQ5zbSdgUEHIXiaaUb5S/WxwruFTUhw4U9Dh78dmfUaO7mMJ QwlxHt7wia5QD2fHCPLN7AQ4oMEwdGZYVF97uIyVgilt3fYzeoU2krLngEMgTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freedom.nl; s=default; t=1718979861; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=iTIbFf4hf41MvTA46zVAVvKnQAeLO/TwFJHz4/ZD7Z0=; b=NLKwmHQpf3Uhp5Fm9FJnJ/Buvwbtw6Pe/UMh2niGJwRq1mq0aDA77yLn+2hIhs7xUXMiOv 45U1SdGfNaRfb8lLEESQxTDYeNcD7KXcE7LEuT5UlrBlJVhIhFTghh+XErnb2r1LVStDx6 W7QG7SjrBazxIlk5P978/dJuAgp0HDA= ARC-Seal: i=1; s=default; d=freedom.nl; t=1718979861; a=rsa-sha256; cv=none; b=iT4jD4NiOIQhoHF7mO7HGvPcl2ZR0hRZW3VZtKf7iOMo2NjKAql5kySQywuf1A6nCsZppD nlg4vaN1yUf9z7ldSsv6eZQGrBtkT7ZkgD4e5KL4W+bFl7Ia1LmXZjigNfI0KWPlyT41ly YH5Gl60WxYSMSqiNGHocpEOUt+C1nGc= ARC-Authentication-Results: i=1; smtp.freedom.nl; auth=pass smtp.mailfrom=j.hagen@freedom.nl Message-ID: Date: Fri, 21 Jun 2024 16:24:21 +0200 MIME-Version: 1.0 Content-Language: en-US To: ntg-context@ntg.nl References: <7501902.aoefvbuG5b@falbala> <2373772.2IRrRt1zHL@falbala> <594bb0d9-565a-4550-9e66-ba31790d4a83@xs4all.nl> <48119898.XUcTiDjVJD@falbala> X-Soverin-Authenticated: true In-Reply-To: <48119898.XUcTiDjVJD@falbala> X-Spampanel-Class: ham Message-ID-Hash: UOSR7YTM3FFUQLBPLKUEU3OXJZJU3OCR X-Message-ID-Hash: UOSR7YTM3FFUQLBPLKUEU3OXJZJU3OCR X-MailFrom: j.hagen@freedom.nl X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Re: Transparency in external PDFs does not work List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Hans Hagen via ntg-context Cc: Hans Hagen Content-Type: text/plain; charset="us-ascii"; format="flowed" Content-Transfer-Encoding: 7bit On 6/21/2024 2:41 PM, Gerion Entrup wrote: > Am Mittwoch, 19. Juni 2024, 09:50:33 MESZ schrieb Hans Hagen: >> On 6/18/2024 9:54 AM, Gerion Entrup wrote: >>> Am Montag, 17. Juni 2024, 23:50:16 MESZ schrieb Hans Hagen: >>>> On 6/17/2024 5:07 PM, Gerion Entrup wrote: >>>>> Hi, >>>>> >>>>> I'm using LaTeX-Beamer and TikZ for figure typesetting. >> If you use that kind of simple graphics, you can avoid this transparency >> hacking by using metafun: >> >> \setupbodyfont[dejavu] >> >> \starttext >> >> \startuseMPgraphic{test} >> pickup pencircle scaled 2mm ; >> draw fullcircle scaled 3cm withcolor darkred withstacking 1 ; >> draw fullcircle scaled 2cm withcolor darkblue withstacking 2 ; >> draw textext("one") withcolor darkgreen withstacking 11 ; >> draw textext("two") withcolor darkgreen withstacking 12 ; >> draw textext("three") withcolor darkgreen withstacking 13 ; >> \stopuseMPgraphic >> >> \startTEXpage[offset=.25ts] >> \useMPgraphic{test}{stacking={1,11}} >> \stopTEXpage >> >> \startTEXpage[offset=.25ts] >> \useMPgraphic{test}{stacking={2,12}} >> \stopTEXpage >> >> \startTEXpage[offset=.25ts] >> \useMPgraphic{test}{stacking={1,2,13}} >> \stopTEXpage >> >> \stoptext >> >> It's an already old feature but probably not that well known. If needed >> I can make something similar at the tex end. >> >> Hans > > Thank you for the example, but learning metafun is another chapter and the > graphics are much more complicated than the minimal example given. > > I saw that you pushed an updated version that fixes the bug [1]. Thank you! > > Gerion > > [1] https://github.com/contextgarden/context/commit/0bcdd3ce47a406ed7852724504e3efe28bc2d9e1#diff-603950e83d66ef32e79066259f4f456250f9f3ae795ade93db2df48d0da1034d The next upload will have an example of something similar at the \TEX\ end (i made it a few days ago but no upload yet). An exmaple can (then) be found in: stacking-001.tex in the test suite. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________