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.7 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,T_SCC_BODY_TEXT_LINE,URIBL_SBL_A autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 2518 invoked from network); 21 Jul 2023 16:13:34 -0000 Received: from cgl.ntg.nl (5.39.185.202) by inbox.vuxu.org with ESMTPUTF8; 21 Jul 2023 16:13:34 -0000 Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 8B392482A0C for ; Fri, 21 Jul 2023 18:11:59 +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 2vKgSLYFCXbp for ; Fri, 21 Jul 2023 18:11:59 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id BC57A482A5A for ; Fri, 21 Jul 2023 18:11:22 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 03373482870 for ; Fri, 21 Jul 2023 18:10:55 +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 nlf0bH_CUEvM for ; Fri, 21 Jul 2023 18:10:54 +0200 (CEST) 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 9F64F482863 for ; Fri, 21 Jul 2023 18:10:54 +0200 (CEST) Received: from smtp.freedom.nl (c04smtp-lb01.int.sover.in [10.10.4.74]) (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 4R6vg23YX6zBd for ; Fri, 21 Jul 2023 16:10:54 +0000 (UTC) Received: from smtp.freedom.nl (smtp.freedom.nl [10.10.4.108]) by freedom.nl (Postfix) with ESMTPSA id 4R6vg16sqnz6h for ; Fri, 21 Jul 2023 16:10:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=freedom.nl; s=default; t=1689955854; bh=NtXPj/mkktLWwBRooWlO+iKwuvOcOtCO+KZZC1NcpoM=; h=Date:Subject:To:References:From:In-Reply-To:From; b=xqABLTBRQEGEAjXe6xjABg06EHFmNT+9GhGM1uiNZurQBn/otkNmHJoGXJKZIJG4k TSSn7KjHgZbgTy4V9ZTqcSM9yHq+ONv0q7YY2PgxzRVPH4gC6EVzJs7D3vSbdhuQtg xRfGJKYG9uV2Jqhzyv6/RNBQAUec1T9FhBZwd3po= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freedom.nl; s=default; t=1689955854; 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=vZeXxxEnA20U+rgaV53xQRD+sLzht/yg8C1/INRwwaY=; b=Y8WuleUrg6IPjoVPOF/popxOTVY7QxYRcupmbnqtmwt/xIIGnzQR8/sWy0ruNb4hvgeTGF V5/3TfWKcfi2L63kKoVSHsHzY/S3g+v6mOQy4qiBMR8UMFEZzVSTQJ7E+IUDFrNt5ZYNyX 8CwlRQ8n8QUP96jt9UNIs/M5mRiKCN0= ARC-Authentication-Results: i=1; smtp.freedom.nl; auth=pass smtp.mailfrom=j.hagen@freedom.nl ARC-Seal: i=1; s=default; d=freedom.nl; t=1689955854; a=rsa-sha256; cv=none; b=YWj8pxcoGWeux7MuyXm2q+21CQyMbkgtr2KQr04RBf9CmW5KYsdO8ck9XIjMtoJROIV5Gg BFuACoW6MG3GnNFQ3+H9FiELZAKc9Ezx3f/qg20ep+ZOxtFPUJskarQ+4fvYUdyXPE+c2w KlA1z9qDCXTXKBUl+2iFsxGwV3PcF9w= Message-ID: <2aafd425-cae1-1049-2759-d65cd79ebf81@freedom.nl> Date: Fri, 21 Jul 2023 18:10:52 +0200 MIME-Version: 1.0 Content-Language: en-US To: ntg-context@ntg.nl References: <71307b8a-b5cc-dd88-a145-8df34c5af67e@gmail.com> X-Soverin-Authenticated: true In-Reply-To: <71307b8a-b5cc-dd88-a145-8df34c5af67e@gmail.com> X-CMAE-Score: 0 X-CMAE-Analysis: v=2.4 cv=Mfmq+bzf c=1 sm=1 tr=0 ts=64baae0e a=yaeGIPywLLJyAsH1IMTGEA==:117 a=yaeGIPywLLJyAsH1IMTGEA==:17 a=IkcTkHD0fZMA:10 a=YEMqx4UAAAAA:8 a=Uows8UApAAAA:8 a=dRRMisx4ej_un2mAcrIA:9 a=QEXdDO2ut3YA:10 a=V0662LiR8DSfwiDagK97:22 a=oX0v64vK4IwbpfTCMRm2:22 X-Cloudmark-Reporter: TzTHpTSReRd0bFwC4Z9fAWFDcU0= Message-ID-Hash: ADAJAXCCM5BW7HJ5KGIAZL53Q7OLABJW X-Message-ID-Hash: ADAJAXCCM5BW7HJ5KGIAZL53Q7OLABJW 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: Par Builder Tests 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 Hi Keith, Here an example that Mikael made for such a book: \showframe % let's very strict \startsetups [*default] \directsetup{*reset} \frozen\widowpenalty 10000 \frozen\clubpenalty 10000 \frozen\displaywidowpenalty 10000 \frozen\brokenpenalty 0 % \defaultbrokenpenalty \stopsetups % we enable the use of expansion (this feature might become preset % because we now delay setting the vectors anyway so less overhead) \definefontfeature [default] [default] [expansion=quality, protrusion=quality, itlc=yes] % vertical expansion \setuplayout [vz=2] % for which we need: % \setupalign[hanging,depth,stretch,granular] \setupalign[depth,stretch,granular] % here are the passes: \startsetups align:pass:test4 \pretolerance 100 \tolerance 200 \parpasses 4 classes \indecentparpassclasses threshold 0.025pt adjustspacing 3 adjustspacingstep 1 adjustspacingshrink 5 adjustspacingstretch 10 next classes \indecentparpassclasses threshold 0.025pt adjustspacing 3 adjustspacingstep 1 adjustspacingshrink 10 adjustspacingstretch 20 next classes \indecentparpassclasses threshold 0.025pt adjustspacing 3 adjustspacingstep 1 adjustspacingshrink 25 adjustspacingstretch 50 next classes \indecentparpassclasses threshold 0.025pt adjustspacing 3 adjustspacingstep 1 adjustspacingshrink 50 adjustspacingstretch 100 \relax \stopsetups \setupalignpass[test4] \starttext ... \stoptext (work in progress so keep an eye on updates) 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://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___________________________________________________________________________________