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,HTML_MESSAGE,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 1A93529B7A for ; Sun, 3 Nov 2024 07:57:47 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id D8CAC485016 for ; Sun, 3 Nov 2024 07:55:34 +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-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 :mime-version:references:in-reply-to:message-id:date:date :received:received:received:received:received:received; s=cgl; t=1730616934; x=1733208935; bh=rkdaa96c1Qss0dZXUKhjZtlr5fgB0U0R pJ6gZZTdNYM=; b=dYbe0zaDfpCvcsousg4dELht+kVH1fn5aQsrwaTCPAj0VWMl PlBAnMo9w1iS9hZI5LDzzTII/wo07pVpwUB3fdZmYEMdr8oSAhvm8+PuaneygPe0 tf28zTHhwUXIyKSevT7kX3g6eQsSjIIulSd30u2WkGI0G0Jw9OkR5qakztM= 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=mailbox.org 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 mMuutkhMIbDv for ; Sun, 3 Nov 2024 07:55:34 +0100 (CET) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 2BB2D485079 for ; Sun, 3 Nov 2024 07:54:26 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 878E64849EA for ; Sun, 3 Nov 2024 07:53:41 +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 xilwPtHXQdxo for ; Sun, 3 Nov 2024 07:53:41 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=80.241.56.172; helo=mout-p-202.mailbox.org; envelope-from=denismaier@mailbox.org; receiver= Received: from mout-p-202.mailbox.org (mout-p-202.mailbox.org [80.241.56.172]) (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 1B63C4849E9 for ; Sun, 3 Nov 2024 07:53:40 +0100 (CET) Received: from smtp2.mailbox.org (smtp2.mailbox.org [10.196.197.2]) (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 mout-p-202.mailbox.org (Postfix) with ESMTPS id 4Xh50f2c2Bz9slL for ; Sun, 3 Nov 2024 07:53:38 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1730616818; 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=M0v8d/dXZyk4Z9FJSpprtjOExirVne91Hh6w4Hn0tns=; b=E3cciK9panlCEvtk9wuD/1w2ONJEWZYH5knjpuZf4uda4zCw87Ng/JV+g/JFhukT4obAbS gYoir5uckNcfwxIguVqdGYvbrUdeHlC/ToEwEsiFvXeb5VsnuxbbV2P/kEyiDTBqgEnPDM +qiEdTqwVc6HEDAkyHW+ONF0J2+o5KVLkJd6jsvNOcsnCRwuN+0fu+jC+SVfKEuIHHFjbg VUBYgSgQ9QDPFZeGwOJJSn2kZJ1DRXBj5pe4QfuoWwFXuuTgL9DUd/r2SfuOvE9xzPVYYO R3rLhE2vVVgWxDWnlq8TK86/Refkpuxl8bZmBOktubO4sNQWUZzmY/LTDzZsMA== Date: Sun, 3 Nov 2024 07:53:37 +0100 (CET) To: mailing list for ConTeXt users Message-ID: <1511882789.69199.1730616817962@office.mailbox.org> In-Reply-To: References: <571061543.5120902.1730578264690.ref@mail.yahoo.com> <571061543.5120902.1730578264690@mail.yahoo.com> MIME-Version: 1.0 X-Priority: 3 Importance: Normal X-MBO-RS-ID: 65bcde9c2c2f0bab69f X-MBO-RS-META: rebbonw7hfmpk84swyt7duhz1tu71krg Message-ID-Hash: 4AHVGM5AJTL5TXCOLL3TETPACTSFNKEX X-Message-ID-Hash: 4AHVGM5AJTL5TXCOLL3TETPACTSFNKEX X-MailFrom: denismaier@mailbox.org 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: How to force section title to be on same page as some of the content? List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Denis Maier via ntg-context Cc: Denis Maier Content-Type: multipart/mixed; boundary="===============4745720984575933274==" --===============4745720984575933274== Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable =20 =20
Should that be be before=3D{\testpage[5]} instead of after=3D?
=20
 
=20
=20
Henning Hraban Ramm <texml@fiee.ne= t> hat am 02.11.2024 23:58 CET geschrieben:
=20
 
=20
 
=20
Am 02.11.24 um 21:11 schrieb Joel via ntg-context:
=20
=20
How can I be so precise making sure the page break doesn't seperate th= e
=20
title from the start of the area where students write their answers?
=20
=20
To force keep something together, you can use a \framed or a \vbox.
=20
 
=20
With a bit less force, use \testpage[<number of lines>], as in
=20
\setuphead[=E2=80=A6][after=3D{\testpage[5]}] to insert a page break if= there are
=20
less than ~4 lines left on the page (you always need a bigger number
=20
than you think).
=20
 
=20
Hraban
=20
_______________________________________________________________________= ____________
=20
If your question is of interest to others as well, please add an entry = to the Wiki!
=20
 
=20 =20 =20 =20 =20
_______________________________________________________________________= ____________
=20
--===============4745720984575933274== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============4745720984575933274==--