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, HTML_MESSAGE,MAILING_LIST_MULTI,T_SCC_BODY_TEXT_LINE,URIBL_SBL_A autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 17555 invoked from network); 13 Jun 2023 02:44:06 -0000 Received: from zapf.ntg.nl (5.39.185.232) by inbox.vuxu.org with ESMTPUTF8; 13 Jun 2023 02:44:06 -0000 Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id EC73B3D3; Tue, 13 Jun 2023 04:43:30 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.ntg.nl Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fkDELU8VacC6; Tue, 13 Jun 2023 04:43:25 +0200 (CEST) Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 0CE0D1251; Tue, 13 Jun 2023 04:43:25 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 882F21251 for ; Tue, 13 Jun 2023 04:43:23 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.ntg.nl Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id my2EyvhHoGEU for ; Tue, 13 Jun 2023 04:43:22 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.160.176; helo=mail-qt1-f176.google.com; envelope-from=thangalin@gmail.com; receiver= Received: from mail-qt1-f176.google.com (mail-qt1-f176.google.com [209.85.160.176]) (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 zapf.ntg.nl (Postfix) with ESMTPS id 010DC3D3 for ; Tue, 13 Jun 2023 04:43:21 +0200 (CEST) Received: by mail-qt1-f176.google.com with SMTP id d75a77b69052e-3f9aa383527so4863041cf.1 for ; Mon, 12 Jun 2023 19:43:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686624197; x=1689216197; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=8MovYuXSlKcglIBpKsTSzPVoLAKoF8xMAHJ9RYdsnN8=; b=gH1gidIzC+6/B3ba2u6rdbV1h1Uc0d+K82YKiqz0IYPVS6FR1QklASziWWPgIKnNQ2 QWkS8k8wMXz0bQMlG8YD9jwzhr97Df1FdUaKeseFUGa1ij9cWeunv5v5A0O1t5V4PORJ j+ZwMRfjhYKbM1tsZff90Xwm3AF5u8bnLXXOm3CK4CyrMfMq1SJ0J3f/rGWYS+q7ZRLR F7rZpTBdxE0xLzm0NSbs35XZM/UyCIv3STovi+D2+/KbIJvfZgtpu0pvTDLjJbKTGEU1 +MvmT8BZqQVMVCZRaGWnw0+6KtNrDVzyfgeREtDa5ks4KL+Yao2LOV0GWMHQtlDQ0yTf vpAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686624197; x=1689216197; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=8MovYuXSlKcglIBpKsTSzPVoLAKoF8xMAHJ9RYdsnN8=; b=BuvO1DzOweIb0cV3epHgDNUlVTBhjhI1eOmrXe1eBp32LMO0Un53LNRyBRBsVaNhSV OmebBy/UC9OcY7lknTwT9fTgaLgX8LUUknL/NM+if77eVbKZLw3172PUNBJanGlOw5k+ Zl6GzDIsTek/uwOltOELvhMBKBsruXUfLdbDUZZoFQ4R/V9HJ2pZHFD1LbKUwSgx8Gap 5idg3eHkzL+lTOO3Tjfk8fFJNGlXr5KUtEX51Qzmfkm11SaUeDuUrBxJhcvtsOvDhHmv MAOdFRjFRJfi6vCs+NmtpNF9KakvyFOBExzpB/a4fSIXZXSmG/tSqCbtpfUBZeGRjMtj WDoQ== X-Gm-Message-State: AC+VfDzppil5yi0ArkiFFy6e4eFm2KKD8FDFhYGh27DPRWl/9EMdj8mH 8JsTQv9RCt08mshbGpoCwDBnMAqZEA29cNqh0uI4Strw7TY= X-Google-Smtp-Source: ACHHUZ4x3mY6dq7fD31jKtizg5KnV1pfViV76/sqRJIPJ1+rhRhEDF1kAx+pSfHjJp8RwXy3eUeNR8X/1nzppOuY8XM= X-Received: by 2002:a05:622a:f:b0:3f1:381d:1067 with SMTP id x15-20020a05622a000f00b003f1381d1067mr15430607qtw.42.1686624194031; Mon, 12 Jun 2023 19:43:14 -0700 (PDT) MIME-Version: 1.0 Date: Mon, 12 Jun 2023 19:43:03 -0700 Message-ID: To: mailing list for ConTeXt users Subject: [NTG-context] Protect the lettrine X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.38 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Thangalin via ntg-context Reply-To: mailing list for ConTeXt users Cc: Thangalin Content-Type: multipart/mixed; boundary="===============5547247447080749735==" Errors-To: ntg-context-bounces@ntg.nl Sender: "ntg-context" --===============5547247447080749735== Content-Type: multipart/alternative; boundary="000000000000f473f005fdf9cbb0" --000000000000f473f005fdf9cbb0 Content-Type: text/plain; charset="UTF-8" I'm using KeenWrite Themes (specifically, Boschet) to typeset a chapter wherein the first letter is a lettrine. When the first paragraph is too short, the second paragraph overlaps the lettrine. % SOT \setupinitial[n=2] \setuphead[chapter][ after={\placeinitial}, page=no, ] \starttext \chapter{one} Kermit Ruffins Meet me at the second line. \chapter{two} \input knuth Meet me at the second line. \stoptext % EOT Produces: https://i.stack.imgur.com/kNDqw.png How would you instruct ConTeXt to "protect" the lettrine such that regardless of whether the first paragraph spans multiple lines, a short first paragraph will still prevent the second paragraph from overlapping the lettrine? That is, the setups should work in both cases, without any knowledge about the first paragraph length being added between \starttext and \stoptext. ConTeXt LMTX version: 2023.06.04 18:58 Thank you! --000000000000f473f005fdf9cbb0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I'm using KeenWrite Themes (specifically, Boschet= ) to typeset a chapter wherein the first letter is a lettrine. When the fir= st paragraph is too short, the second paragraph overlaps the lettrine.

% SOT
\setupinitial[n=3D2]

\setup= head[chapter][
=C2=A0 after=3D{\placeinitial},
=C2=A0 page=3Dno,
]=

\starttext
\chapter{one}
Kermit Ruffins

Meet me at the= second line.

\chapter{two}
\input knuth

Meet me at the se= cond line.
\stoptext
% EOT


How would you instruct ConTeXt to &qu= ot;protect" the lettrine such that regardless of whether the first par= agraph spans multiple lines, a short first paragraph will still prevent the= second paragraph from overlapping the lettrine?

T= hat is, the setups should work in both cases, without any knowledge about t= he first paragraph length being added between \starttext and \stoptext.

ConTeXt LMTX version: 2023.06.04 18:58

=
Thank you!
--000000000000f473f005fdf9cbb0-- --===============5547247447080749735== 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://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 ___________________________________________________________________________________ --===============5547247447080749735==--