From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/112081 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Thangalin Newsgroups: gmane.comp.tex.context Subject: Initial caps with short paragraph Date: Thu, 8 Jul 2021 16:58:28 -0700 Message-ID: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2680769050971044012==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28242"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Jul 09 01:59:05 2021 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m1dv6-0007CM-Jh for gctc-ntg-context-518@m.gmane-mx.org; Fri, 09 Jul 2021 01:59:04 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 893BF28593B; Fri, 9 Jul 2021 01:58:45 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-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 uFyHg0ogIoDo; Fri, 9 Jul 2021 01:58:44 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id DC26528593E; Fri, 9 Jul 2021 01:58:43 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id AAF0428593B for ; Fri, 9 Jul 2021 01:58:42 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-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 kY1EnUOOOQos for ; Fri, 9 Jul 2021 01:58:40 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.210.53; helo=mail-ot1-f53.google.com; envelope-from=thangalin@gmail.com; receiver= Original-Received: from mail-ot1-f53.google.com (mail-ot1-f53.google.com [209.85.210.53]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id AB838285792 for ; Fri, 9 Jul 2021 01:58:40 +0200 (CEST) Original-Received: by mail-ot1-f53.google.com with SMTP id f12-20020a056830204cb029048bcf4c6bd9so7629423otp.8 for ; Thu, 08 Jul 2021 16:58:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=frN/i2yiafJpyZt05cRLa4OnrWNavXnTwUY2ZnAu0js=; b=oOlmaCqZuBaEyUWxGu6UQ/5TqXZ54Kj9SSwoC3E3hIUSX31dBeGLZTJ8fTG2Zl/iJy WeflU6sVIPdwndYOh2NXwSlK1sDkTsG99b7jKysFJjoh2u7eTPfwjJ6Cj5ulrpq6w+Lx 9PmEFwk+AtxcG0W36MJ3cjIXs2zpi3pkeHvzB5icn4XA1xtfe1gAN+75XJAoDl+UP/DB 2NJE6lF3ulJdwUI15W8RCJDiOV1P0/FYowAKzzYTxMd2osTZ4+B1qomHTpoqq5E/NJOC IwW2A6PcsD3MvXeMKRU4U0OWeqiG8RdTqTQihqTbpMTsVWBfzYRH8tfwerecK3lkqz0J P9zQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=frN/i2yiafJpyZt05cRLa4OnrWNavXnTwUY2ZnAu0js=; b=cyzdXTbC9rCQihJ0zoSoIl+cHfieWbK7T7os0TPlozmq/UEGufbGQmOGgYfmbsz92f MQbf0Phf73iuhmKrRQxlBjy5OQrlz76ei94FFL09OcTmyxTVlm6+k9EvNjzHyyjAPOA0 cSwoVjmncuXFt2hWB8SqD5LJg26/QXubx5CD7XKq6L5T/d4VM53nLeHHSVHwdtAIGIBX Y+Jg0EWpkq6e7sXh8V/LnKvgepjo3inYkVvlikf6PInXIhof0mpjHa2pWgax/nfg6ufr dGVRrNde0X+C0wARWWSJV8kSwi5KjFA7Ps7wIi+z5mS+BESHFIa//w0DbzZKK0J1o4DU zAYw== X-Gm-Message-State: AOAM531W6qnazdNCyp4O7/IvhzbkLBVuyDewmOz+ztCvNz38UYCDeNc3 rTKaV5/XEfvY5BKzls5rsYFO/s6GihCpm4T5d0Cd7NCNkzo= X-Google-Smtp-Source: ABdhPJyCOzXZaTCR92GmVfWo1+Sne4qkfXmgzpCIV2+wBYcWJylotAVzUhPIAWv6KLvl3nxMlikDLJeYFX6rhxTbqgU= X-Received: by 2002:a9d:2f0:: with SMTP id 103mr25438010otl.174.1625788719220; Thu, 08 Jul 2021 16:58:39 -0700 (PDT) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:112081 Archived-At: --===============2680769050971044012== Content-Type: multipart/alternative; boundary="00000000000016cab405c6a56f90" --00000000000016cab405c6a56f90 Content-Type: text/plain; charset="UTF-8" This has come up before on the mailing list, but I was wondering if LMTX has a more elegant solution than using a transparent/invisible capture of the drop-cap. Consider: \setupinitial[n=2, style=\tfd, location=text]\setuphead[chapter][after={\placeinitial}] \starttext \chapter Hello world! \input ward\stoptext The output shows that the second paragraph is not indented beyond the bounding box of the drop-cap, resulting in an overlap. This isn't a problem when the first paragraph spans two or more lines. Any ideas for how to resolve this without changing the content? Thank you! --00000000000016cab405c6a56f90 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
This has come up before on the mailing list, but I wa= s wondering if LMTX has a more elegant solution than using a transparent/in= visible capture of the drop-cap.

Consider:
\setupinitial[n=3D2, style=3D\tfd, locati=
on=3Dtext]
\setuphead[chapter][after=3D{\placeinitial}]

\starttext
  \chapter

  Hello world!

  \input ward
\stoptext
The output shows that the second paragra= ph is not indented beyond the bounding box of the drop-cap, resulting in an= overlap. This isn't a problem when the first paragraph spans two or mo= re lines.

Any ideas for how to resolve this wi= thout changing the content?

Thank you!
--00000000000016cab405c6a56f90-- --===============2680769050971044012== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============2680769050971044012==--