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.8 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,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 43BD92B77A for ; Wed, 9 Oct 2024 13:56:09 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id B6DED48514C for ; Wed, 9 Oct 2024 13:50:44 +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 :list-unsubscribe:list-subscribe:list-post:list-owner:list-help :list-archive:archived-at:list-id:subject:subject:reply-to :precedence:x-mailer:date:date:message-id:mime-version:from:from :received:received:received:received:received:received:received; s=cgl; t=1728474644; x=1731066645; bh=W99d+xmkNZ/31RU49AVn2phHm 1McsvYsSiN+VA94RbU=; b=dIF8aSzPA40HoV9XC8xHUWkaxJeLxUSg0fX7wuu5k l+qOdk1eK5TQY+ScUGG1M1E+iu4X0cGHTC49Z2pqteZCGs9U3ALvMOPEckSL8T2v gNH3H7P1af2pcPLOOh3zpTvAEef4crYJdetRB3WrGUsW4eDZMmaywzrH0T1xN0xM 88= 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=gmail.com 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 moMK15YlGT1X for ; Wed, 9 Oct 2024 13:50:44 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 324BD4851B5 for ; Wed, 9 Oct 2024 13:49:48 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id BA30548262C for ; Wed, 9 Oct 2024 13:49:03 +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 RUnAIbpPSyUm for ; Wed, 9 Oct 2024 13:49:03 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.208.174; helo=mail-lj1-f174.google.com; envelope-from=florian.grammel@gmail.com; receiver= Received: from mail-lj1-f174.google.com (mail-lj1-f174.google.com [209.85.208.174]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 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 76F814820BC for ; Wed, 9 Oct 2024 13:49:03 +0200 (CEST) Received: by mail-lj1-f174.google.com with SMTP id 38308e7fff4ca-2f7657f9f62so68676621fa.3 for ; Wed, 09 Oct 2024 04:49:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728474542; x=1729079342; darn=ntg.nl; h=to:date:message-id:subject:mime-version:content-transfer-encoding :from:from:to:cc:subject:date:message-id:reply-to; bh=ssWi/E+HcNQHi8CcqudQnhLPi0FTIitX+I1Lz1Zjafo=; b=aAhd2eqU/LjZ99pFesjVOkjqzs1pKbIKjdeR8nJFL4mDVJ2t3QuLNxg+0H74XCIQO2 vrRgHhQt+bCw3BRpi4QufYV4BVmWmx/eAMSBmiP+o4h7EwdJZ0H3q4SiyNE4kYToSzxJ iwNCknavAto4PbsuDSD+85IwwEpOC9geHDrz2AOTIl8IGJOmTfh58JyXE4tT5FZxs1nT 95dn/Obk/0GsHBhR/TfOlTLhTkGOHQ5M+ZFTz2s1UsJVoAXxJUDGsiidm2QeASCCoeV/ QnM75M+E7sCEfLdPRpolLYkv89I/+M/gMRiG2qxyZA6GOyv7bFCvx7sZfgpJD4toVHl+ jZoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728474542; x=1729079342; h=to:date:message-id:subject:mime-version:content-transfer-encoding :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ssWi/E+HcNQHi8CcqudQnhLPi0FTIitX+I1Lz1Zjafo=; b=C3V6kNbInhmykRpSEIZvL2Euai4Bj+1oLshhhj2KgRCbnq8j29R4XwNog3m+tJ+HrY hAFPlSz2nIqo4V1rVlHi1lDmjcDeB2rzr+KGPTCTVcqSpLkOwjH7wvboWxCXpRX0kvOK AWnfNxJSfszYHNclZiOhMbhiVmOA0urx0gDd4Y38pQN2av0dqdowJ0LYCdap6o2ZV70/ otAzi4cf+DJkHkES2PEIjKpSvACGJqK3mxu5/oovgmkf5yX1kDkQV2hgJm8cvS5j4o50 yABg4OrpZbSKWTkveI90qS+SqQsU8oV5khkm1lQFXb81iVtTE9bg6nzIDsZzUSlmrbX8 PA9w== X-Gm-Message-State: AOJu0Ywx7vB9Qi+M7G5GXsmPv2rw3mjEV+Czorg93KTZpq5JEo5KeBez 92OTDX3ARTd3rBBl9qHODfYT+Bfu3SYhNU39R+9Va49+KP32g0WgBfh9kQ== X-Google-Smtp-Source: AGHT+IGJn5zr0vEJPJq0teYI07mwUA/E2g9eHLvLsCr2gNVwLJ0VI9Of2nhQ6YVsgMifbQbDby7khg== X-Received: by 2002:a05:651c:221a:b0:2fa:d4ef:f21e with SMTP id 38308e7fff4ca-2fb187d280bmr14609241fa.41.1728474541445; Wed, 09 Oct 2024 04:49:01 -0700 (PDT) Received: from [192.168.1.122] ([217.71.2.142]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5c9280ad099sm472755a12.84.2024.10.09.04.48.59 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 09 Oct 2024 04:48:59 -0700 (PDT) From: Florian Grammel Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.21\)) Message-Id: <7F5D6CFE-6994-4AE2-8EFB-D34385465F90@gmail.com> Date: Wed, 9 Oct 2024 13:48:58 +0200 To: mailing list for ConTeXt users X-Mailer: Apple Mail (2.3445.104.21) Message-ID-Hash: RA4MLZFBM2KXFOC5YUWF2BBYION3KUK4 X-Message-ID-Hash: RA4MLZFBM2KXFOC5YUWF2BBYION3KUK4 X-MailFrom: florian.grammel@gmail.com 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] 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: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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. Thank you all for your time! Best, Florian. \definestartstop [origverse] [before={\startnarrower[left,right]\startlines}, after={\stoplines\stopnarrower % \setupindenting[next] %\indenting is deprecated! \blank}] \startdocument prose prose prose prose prose prose prose prose prose prose prose prose prose prose prose prose prose prose prose prose prose prose prose prose prose prose prose prose prose prose prose prose prose prose \startorigverse vvvvvvvvvvvvvvvvvvvvvvv vvvvvvvvvvv vvvvvvvvvvvvvvvvvv vvvvvvvv vvvvvvvvvvvvvvvvvvvvvvvvvvv vvvvvvvvvvvvvvvv vvvvvvvvvvvvvvvvvvvvvvvvvvvvv \stoporigverse prose again prose prose prose prose prose prose prose prose prose prose prose prose prose prose prose prose prose prose prose prose prose prose prose prose prose prose prose prose prose prose prose prose prose prose prose prose prose \startorigverse vvvvvvvvvvvvvvvvvvvvvvv vvvvvvvvvvv vvvvvvvvvvvvvvvvvv vvvvvvvv vvvvvvvvvvvvvvvvvvvvvvvvvvv vvvvvvvvvvvvvvvv vvvvvvvvvvvvvvvvvvvvvvvvvvvvv \stoporigverse prose again ____________________________________________ Florian Grammel Copenhagen, Denmark ___________________________________________________________________________________ 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 ___________________________________________________________________________________