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=-1.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI 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 4A8292C5D5 for ; Wed, 9 Oct 2024 17:16:32 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 1AF9A48565A for ; Wed, 9 Oct 2024 17:07:24 +0200 (CEST) Authentication-Results: cgl.ntg.nl (amavisd-new); dkim=pass (1024-bit key) reason="pass (just generated, assumed good)" header.d=ntg.nl DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ntg.nl; h= content-transfer-encoding:content-type:content-type:from:from :list-unsubscribe:list-subscribe:list-post:list-owner:list-help :list-archive:archived-at:list-id:subject:subject:reply-to :precedence:in-reply-to:references:content-language:mime-version :date:date:message-id:received:received:received:received :received:received:received; s=cgl; t=1728486443; x=1731078444; bh=iFMCDK51gJHJ1YxH23KaIjuYxRZ/PJTOlezjc+mZjNU=; b=XVcvqY+zqG6I k4FJc2MElj+SvMV7idl50gbhoprjhj+UEtjIff1fMNNVZ6qpbKcSRD18iuKTJXwg A3trewV7jpNtjOcEa42WCEM4sZvP1/y3DSTde4EagzCWxpaVYB9yMniYBg9ONH51 LYO6FkvFLxdnUmnlMrZCIXd1dfDgTDs= 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="BnB3+ncP"; dkim=fail (2048-bit key) reason="fail (message has been altered)" header.d=freedom.nl header.b="KC92sLjP" 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 3Q0KSLfunbCd for ; Wed, 9 Oct 2024 17:07:23 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id AC6D8485A43 for ; Wed, 9 Oct 2024 17:06:17 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 170D9485462 for ; Wed, 9 Oct 2024 17:05:35 +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 vyi28Powr1Hh for ; Wed, 9 Oct 2024 17:05:34 +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 B2D554853B0 for ; Wed, 9 Oct 2024 17:04:10 +0200 (CEST) Received: from smtp.freedom.nl (unknown [10.10.4.107]) (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 4XNx4B4Z3yzKx for ; Wed, 9 Oct 2024 15:04:10 +0000 (UTC) Received: from smtp.freedom.nl (smtp.freedom.nl [10.10.4.107]) by freedom.nl (Postfix) with ESMTPSA id 4XNx4B2SHdz1f for ; Wed, 9 Oct 2024 15:04:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=freedom.nl; s=default; t=1728486250; bh=7pc6Qu4nHOic5k5DIc3Fokla2c2LcJzH/I96eIxTgss=; h=Date:Subject:To:References:From:In-Reply-To:From; b=BnB3+ncPUCQeoBcXcdIghvRcC7aKxeMN3O6/87UYB++ciLsylfwV+ImUcnZRb1dEe tIAf8fl8R5YjFh5VxobDaAPyHfjrRcuQcjefpfcpbSgunEtaC4EO2Kx/okusrYnSg/ qX+j0JkCytMeM6GExs6oewrmGYsmx0WmmzmEBQHg= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freedom.nl; s=soverin1; t=1728486250; 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=F9Q3T2lYtP3kEkP/D1TCWhUcYG1OYocpuO3onqUsYnA=; b=KC92sLjPJy/zLGTCRDuo2IAaNXVG9ShFLfrZQjHwidfxhIt6i3gR+MxVrFXTjMrolGKP5O 3dY0dQ2S+8shFcF46fp1Jblq/BOPvRJ1cWEpaTt3HUK956Z41LnqtJTm2D7MW52Gwl0Jwd XsQrefir9C09D+p5G3udfJhWyUkPfl1toMDnWzgjMeXo4svSgYgZ1Y7+0BnjuG7ZOIK+cN h8p8mlCr6Pz9/RMZhzn3ZxmuNpWCwi3/dRvTWtFLao03FkqaWw2KZiVkFYRR9LnKC4j4AH ZP30TAEGQQ8QGIExoSx09qIwHV4Djk2bD2KApYLoT84HoOa5bW1NZjulvV7ETw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freedom.nl; s=default; t=1728486250; 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=F9Q3T2lYtP3kEkP/D1TCWhUcYG1OYocpuO3onqUsYnA=; b=FYKoLzd+DtRuloyNtfID5TKw/HQEpK3mkk8ypNkPLcRuTy7t53MlwosPZiSO0V7bUmdB4f QMPbnuTdAfW3JvE5NApwhbcStR3KuofI1g4c3uk8Qtbx3MKLLRRgwZrXxAuXQLfz3rSKm1 rAOZO/TtyIAKdN/7DzL7MaV+G1jWIbk= ARC-Seal: i=1; s=default; d=freedom.nl; t=1728486250; a=rsa-sha256; cv=none; b=j8fgugOlUIkKrQyTQuD55WHSvipUiaK2bJz9oSGrwdMuSKre62IfSS6BjTFcanK4UPnZJp yq7Ny4VLZVztTvMv1s4Tv0BF92rtEPN8FJ9uuGqmCejcJbaxjM3+01/KLrrc0OvlNj8k1B EVnX0rEP5c1zdGlNMVrXKt6eX34yEYM= ARC-Authentication-Results: i=1; smtp.freedom.nl; auth=pass smtp.mailfrom=j.hagen@freedom.nl Message-ID: <4f93a00d-2154-440d-953f-8876db72549c@freedom.nl> Date: Wed, 9 Oct 2024 17:04:10 +0200 MIME-Version: 1.0 Content-Language: en-US To: ntg-context@ntg.nl References: <7F5D6CFE-6994-4AE2-8EFB-D34385465F90@gmail.com> In-Reply-To: <7F5D6CFE-6994-4AE2-8EFB-D34385465F90@gmail.com> X-Spampanel-Class: ham Message-ID-Hash: HC5XZTVTM7S2R6HIBWZYCKSOQHTBUYDJ X-Message-ID-Hash: HC5XZTVTM7S2R6HIBWZYCKSOQHTBUYDJ 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.9 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Re: widows and orphans in \definestartstop? 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 10/9/2024 1:48 PM, Florian Grammel wrote: > I have defined a simple environment for verse within prose-context. Obviously I never want the first or last lines of the verses to stand as widows or orphans. I could just add \nobreak to every first and last line of verse to achieve this. But I was wondering whether I could change anything of my \definestartstop to do this automatically. Simply adding \nobreak to before= and after= doesn't work. \widowpenalty10000 \clubpenalty 10000 The next upload actually has \setupalign[lesswidows,lessclubs] and such as part of more (also local) control over the par builder. 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 ___________________________________________________________________________________