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.6 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,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 0957429903 for ; Wed, 31 Jan 2024 19:21:19 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id D6494484060 for ; Wed, 31 Jan 2024 19:18:16 +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 EWd1AnECpXpj for ; Wed, 31 Jan 2024 19:18:16 +0100 (CET) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 7720C48426E for ; Wed, 31 Jan 2024 19:17:20 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id C3F5E483A60 for ; Wed, 31 Jan 2024 19:16:29 +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 LCbGOKJML-NY for ; Wed, 31 Jan 2024 19:16:29 +0100 (CET) Received: from forward500c.mail.yandex.net (forward500c.mail.yandex.net [178.154.239.208]) (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 58C8C483A5D for ; Wed, 31 Jan 2024 19:16:29 +0100 (CET) Received: from mail-nwsmtp-smtp-production-main-60.sas.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-60.sas.yp-c.yandex.net [IPv6:2a02:6b8:c08:a088:0:640:6c7c:0]) by forward500c.mail.yandex.net (Yandex) with ESMTP id CA3FA61379 for ; Wed, 31 Jan 2024 21:15:53 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-60.sas.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id pFfFIH2OfeA0-B5j6tTLK; Wed, 31 Jan 2024 21:15:53 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=homerow.info; s=mail; t=1706724953; bh=8G3q6Ig0n3+OMJ4xodKIE70mKsl80jJFvaXaK9NbGTU=; h=In-Reply-To:References:To:Date:Message-ID:Subject:From; b=S3Ogf9KHwt2ZcdKAV2uxYzCOwWVawLQnJFhaSfGIFLsIYhx87vCShAj/sUbG0eFRd 6gPWjGnBNssVYLMHjBovP3HAQFcR+c0D8IVfyJi2GEclyS08qBPqLhfKZQuFlC4Z6H Ui5mxVszywEx5s47dwK023ZRGQBd2HpLCIWnQ2cA= Authentication-Results: mail-nwsmtp-smtp-production-main-60.sas.yp-c.yandex.net; dkim=pass header.i=@homerow.info Date: Wed, 31 Jan 2024 19:15:49 +0100 From: Marco Patzer To: mailing list for ConTeXt users Message-ID: <20240131191549.5d8140f4@homerow> In-Reply-To: <20231116135205.4ad27396@homerow> References: <20231116135205.4ad27396@homerow> X-Mailer: Claws Mail 4.2.0 (GTK 3.24.40; x86_64-pc-linux-gnu) MIME-Version: 1.0 Message-ID-Hash: KVMJQAD7K4QL2ZOKWN52YDMK6VSEUJKY X-Message-ID-Hash: KVMJQAD7K4QL2ZOKWN52YDMK6VSEUJKY X-MailFrom: lists@homerow.info 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: textbackground spacing offset List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Thu, 16 Nov 2023 13:52:05 +0100 Marco Patzer wrote: > I'm having problems getting the textbackground spacing offset to work. > Example: > > \setupframedtext > [offset=overlay, > width=max, > depthcorrection=off] > > \setuptextbackground > [location=paragraph, > %% offset=overlay, %% does nothing > %% backgroundoffset=overlay, %% does nothing > %% depthcorrection=off, %% does nothing > %% topoffset=3mm, %% works, but only for positive values > background=, > frame=on] > > \starttext > \startframedtext > \framed{Foo} > \stopframedtext > \starttextbackground > \framed{Foo} > \stoptextbackground > \stoptext > > How do it get the same spacing as in the framedtext case? Is there a solution to this? Or an explanation why the spacing differs? Marco ___________________________________________________________________________________ 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 ___________________________________________________________________________________