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.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS,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 81A0830CC2 for ; Thu, 31 Oct 2024 21:37:38 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 2CF414855D6 for ; Thu, 31 Oct 2024 21:34:54 +0100 (CET) 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 :list-unsubscribe:list-subscribe:list-post:list-owner:list-help :list-archive:archived-at:list-id:subject:subject:reply-to :precedence:in-reply-to:from:from:references:content-language :user-agent:mime-version:date:date:message-id:received:received :received:received:received:received:received; s=cgl; t= 1730406893; x=1732998894; bh=W0PrIEQqq7S7/CYn3jXaOdLcxgxYe5l4KBT OBp4NuE0=; b=HP+Y/jmzEs3Wu6RK7eZ4toDi3ukgGEsj4L0RfC9wZfmuF0HcDsQ IxOyzvxCTl+h+S9zBdn/BgQdTzOPzkIv3Qsk0JZgHJGCZCUt70p3F+1u147fVuGM N00aVfV0IoSa6+kAIlWo8/GS+/SJsE0irk01ZE3z05LmiRoC7azCxrrU= X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Authentication-Results: cgl.ntg.nl (amavisd-new); dkim=fail (2048-bit key) reason="fail (message has been altered)" header.d=xs4all.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 B78r6H27qjXh for ; Thu, 31 Oct 2024 21:34:53 +0100 (CET) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 234E34855DE for ; Thu, 31 Oct 2024 21:33:50 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id D688C4853C5 for ; Thu, 31 Oct 2024 21:33:04 +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 daPZoO0Jn8it for ; Thu, 31 Oct 2024 21:33:04 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=195.121.94.185; helo=ewsoutbound.kpnmail.nl; envelope-from=j.hagen@xs4all.nl; receiver= Received: from ewsoutbound.kpnmail.nl (ewsoutbound.kpnmail.nl [195.121.94.185]) (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 86CBA4853C0 for ; Thu, 31 Oct 2024 21:33:04 +0100 (CET) X-KPN-MessageId: 547dcce0-97c7-11ef-8d51-005056999439 Received: from smtp.kpnmail.nl (unknown [10.31.155.6]) by ewsoutbound.so.kpn.org (Halon) with ESMTPS id 547dcce0-97c7-11ef-8d51-005056999439; Thu, 31 Oct 2024 21:33:04 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xs4all.nl; s=xs4all01; h=content-type:from:to:subject:mime-version:date:message-id; bh=7JtBl8cXTLTvbu4qjjMR0pfIfNz+juBXeNZ1ILFkUc4=; b=dau47BJLdeq4wGmUnYMcKhgSQUYxtgx5zqdKMk2C0mpRg33EaaCiOII2Zy8kqbpv63SlOd+WI+a0u Jnjt9Klv4NSBPMCH1AtjxGU1Cd2iuBz+5ApFlYUKKcybUSLtWw4PbTHcjhx50ecvKvVlGRSMYDz2MZ TJNAmFI4wO6Bxptq2+Y4/kkf6HB5hMs4hKiDasVQ7vQ2O5hdz13MUs74PiHw/H/JUfPGgTCbmO234c UjhCEGiWs11bRJuJbkHRU1PALGQCICAMDToOwbHgvyx/L3OpaOeo5UaLwjThPfmUKNaqmeDY0UsgQi fI5oFX7rfqR7PwaF0Atkhw+dMP3hQlA== X-KPN-MID: 33|rHc1iBLk6R14EVrf48xZdk83wu7Jd54EjDF9SjRquduXPsIZ1woYF5RgFRHtEMN oLBHm672ZueZJX1sAbFFxpjb2uvpYlttS8L16MFFCsZs= X-KPN-VerifiedSender: Yes X-CMASSUN: 33|v74tstcX6HPC73ingZ2eoAip6OPulwAv3/PxR1YVVhXR4Rf2T2U5iG37oOsWlMg a0ZUHe/Iq/X+JNL8z01i5oA== X-Originating-IP: 213.125.29.162 Received: from [10.100.1.105] (d57d1da2.static.ziggozakelijk.nl [213.125.29.162]) by smtp.xs4all.nl (Halon) with ESMTPSA id 53f9c161-97c7-11ef-8884-00505699772e; Thu, 31 Oct 2024 21:33:03 +0100 (CET) Message-ID: Date: Thu, 31 Oct 2024 21:33:01 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: nl To: ntg-context@ntg.nl References: <5701d9d5-e86d-4b1a-8c99-4bbdafe28e15@t-online.de> From: Hans Hagen In-Reply-To: <5701d9d5-e86d-4b1a-8c99-4bbdafe28e15@t-online.de> Message-ID-Hash: BVWS6532K6QE4AU3I4XZ7CB7OS3LF4AI X-Message-ID-Hash: BVWS6532K6QE4AU3I4XZ7CB7OS3LF4AI X-MailFrom: j.hagen@xs4all.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: penalties 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"; format="flowed" Content-Transfer-Encoding: 7bit On 10/31/2024 7:26 PM, Thomas Meyer wrote: > Hi folks, > > following today's update, > > \startsetups[grid][mypenalties] > \setdefaultpenalties > \setpenalties\widowpenalties{2}{10000} > \setpenalties\clubpenalties {2}{10000} > \stopsetups > > \setuplayout[grid=yes, setups=mypenalties] does \startsetups[mypenalties] \setdefaultpenalties \setpenalties\widowpenalties{2}{10000} \setpenalties\clubpenalties {2}{10000} \stopsetups work? this [grid] was only used for this case and has been dropped in favour of more powerful par passes and specification definitions this setup approach was also sensitive for order > doesn't work any longer, I think. Can anyone confirm this. There is > another problem (page break in the paragraph) that I have yet to verify. We now have so call \specificationdef's that work as shown below: \starttext \showmakeup[vpenalty] \specificationdef \MyWidowPenalties \widowpenalties 3 10000 10000 0 \specificationdef \MyClubPenalties \clubpenalties 3 10000 10000 0 { \samplefile {tufte} } \page { \MyWidowPenalties \MyClubPenalties \samplefile {tufte} } \page { \lesswidowpenalties \lessclubpenalties \samplefile {tufte} } \page { \setupalign[lesswidows,lessclubs,lessorphans] \samplefile {tufte} } \page \stoptext predefined new alignment keys are: defaultwidows defaultclubs defaultbroken lesswidows lessclubs lessbroken lessorphans lessorphans:2 lessorphans:3 lessorphans:4 strictwidows strictwidows:2 strictwidows:3 strictwidows:4 strictclubs strictclubs:2 strictclubs:3 strictclubs:4 strictbroken so a 'global' setupalign can be used 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 ___________________________________________________________________________________