From mboxrd@z Thu Jan 1 00:00:00 1970 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: (qmail 30509 invoked from network); 11 Nov 2023 10:06:57 -0000 Received: from cgl.ntg.nl (5.39.185.202) by inbox.vuxu.org with ESMTPUTF8; 11 Nov 2023 10:06:57 -0000 Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 10A2C483978 for ; Sat, 11 Nov 2023 11:04:12 +0100 (CET) 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 Yauyedcpc1oJ for ; Sat, 11 Nov 2023 11:04:11 +0100 (CET) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id C27A3483903 for ; Sat, 11 Nov 2023 11:03:13 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 184E148380F for ; Sat, 11 Nov 2023 11:02:17 +0100 (CET) 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 TMlkxtQ8IEKI for ; Sat, 11 Nov 2023 11:02:16 +0100 (CET) Received: from outbound.soverin.net (outbound.soverin.net [185.233.34.146]) (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 A8EA648380E for ; Sat, 11 Nov 2023 11:02:16 +0100 (CET) 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 4SSB7X43PZz6w for ; Sat, 11 Nov 2023 10:02:16 +0000 (UTC) Received: from smtp.freedom.nl (smtp.freedom.nl [10.10.4.108]) by freedom.nl (Postfix) with ESMTPSA id 4SSB7X1m5kz2xXQ for ; Sat, 11 Nov 2023 10:02:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=freedom.nl; s=default; t=1699696936; bh=O6L1CMgGnd4aa8LhsGvaJyER07N+tB/QwOIDL5pXJdo=; h=Date:Subject:To:References:From:In-Reply-To:From; b=qimZ5NrptrAMQhq7kEsPjLhtA7QRHzjxK0h9Qsu41Dh0c5jbDXQMBvTdnWqA/YUdc EPCyZ0IRy+UdGZ2ji61KyTr9Hdzd+mQQzW8M44tFYwSjHYB+zoSlH41JoRHeRDr9k9 RTyLZtsu9vRdh8unyHf0YvvxV3GoRP6307vML5nI= ARC-Seal: i=1; s=default; d=freedom.nl; t=1699696936; a=rsa-sha256; cv=none; b=c2qsto3na6HUTfke8vZVvdFQD5CiyYCbkIFo4kO7CSI+lbm4C0Mf2n3Gzr3a6sVUH0nvG7 fE8QdMX0TXfEc8TpP+As/ludfyg0owHZ2kuZjxaV2FDo+NgVYllynke7J48D2sTdwRHykb kCyhR3ZJBfHaUZrxaRjTO/mEOXJUk/w= ARC-Authentication-Results: i=1; smtp.freedom.nl; auth=pass smtp.mailfrom=j.hagen@freedom.nl ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freedom.nl; s=default; t=1699696936; 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=QbBohyGOdR9FIatxqOW2zFDiNjD871RyL5MRccqFUsI=; b=Wr/r/7d6BY5gqrcKt18ATv/FVUHdqT/jW6pGMqZamTwtjaqOkODeTB+palrnxGjjVOSeGS GqUDrGEwBTI2zdMnUeFsRsW5zOi5Xvped8lRADm3Z51zZkXLQ6ALgQqo0JmkOEfwmtm1E+ UXAtizloe8pUki4ivBWBAC2R5SrzR1k= Message-ID: Date: Sat, 11 Nov 2023 11:02:15 +0100 MIME-Version: 1.0 Content-Language: en-US To: Pablo Rodriguez via ntg-context References: <460e8894-2796-2abe-20ea-fc3afef2069a@gmx.es> X-Soverin-Authenticated: true In-Reply-To: <460e8894-2796-2abe-20ea-fc3afef2069a@gmx.es> Message-ID-Hash: MTPAHFOA3Z66X55MFTPPQRCAENVIGG4K X-Message-ID-Hash: MTPAHFOA3Z66X55MFTPPQRCAENVIGG4K 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: hard clipping in ConTeXt? 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 11/10/2023 6:17 PM, Pablo Rodriguez via ntg-context wrote: > Dear list, > > I have the following sample: > > \setuplayout[page] > \starttext > \clip[hoffset=5mm, voffset=5mm, width=15mm, height=15mm] > {\externalfigure[xml-mkiv.pdf]} > \stopnotmode > \stoptext > > Using PDF.js (from current Firefox), xpdf, Evince, mupdf-gl, the viewer > is able to find "dealing", altough it cannot be displayed. > > Okular and Sumatra (with Wine in Linux) are not able to find "dealing". > > Is there any way to have a hard clipping in ConTeXt? > > I mean, that only the contents of the clipped section is added to the > resulting PDF document? one has to render a document (page stream) in order to wee what end up where .. a viewer has that info so it can decide to act upon it (apart from some gambling with words clipped in the middle of a character) this is not something for context to provide (it would mean keeping track of what gets clipped, and then compensating for it because it can still contribute to placement of following stuff, and then how about half clipped stuff) if i had a lifespan of 1000 years or were on a boring trip to another planet it might make a nice (although pointless) challenge to keep me occupied 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 ___________________________________________________________________________________