From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/112911 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Thangalin via ntg-context Newsgroups: gmane.comp.tex.context Subject: Re: \placeinitial to account for quotation mark Date: Sat, 25 Sep 2021 13:45:54 -0700 Message-ID: References: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8195489103160392616==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13912"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Thangalin To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Sep 25 22:46:49 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 1mUEZN-0003Sz-6X for gctc-ntg-context-518@m.gmane-mx.org; Sat, 25 Sep 2021 22:46:49 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 8C13F2878F3; Sat, 25 Sep 2021 22:46:12 +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 9PZrgocLTVYR; Sat, 25 Sep 2021 22:46:10 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id D6A5F287A12; Sat, 25 Sep 2021 22:46:10 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 02BBD287A10 for ; Sat, 25 Sep 2021 22:46:08 +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 PKSSEhw78lqe for ; Sat, 25 Sep 2021 22:46:06 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.208.44; helo=mail-ed1-f44.google.com; envelope-from=thangalin@gmail.com; receiver= Original-Received: from mail-ed1-f44.google.com (mail-ed1-f44.google.com [209.85.208.44]) (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 BB7912878F3 for ; Sat, 25 Sep 2021 22:46:06 +0200 (CEST) Original-Received: by mail-ed1-f44.google.com with SMTP id x7so36055282edd.6 for ; Sat, 25 Sep 2021 13:46:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=wx90t1j8njOgLaf6IULcMcpPXmgQIEImKmVlfk4rvj4=; b=Z75AL67loz0t4zKbRBuFGX7RoeiE99tfdzsi3paJlz0JnFhoIVlOCHXh4tFCVa2USC n4QHEZrCLcNWaN8Lrt7Ah2kBZioV/y4XAdStRrCA700Qi79zAi5aGzlwAkvMONXhI2c7 lWHGhxe6k/iwudg1ooU7HVm+PBFuetuM2MfH8KBQCzfFTFhtfG0lXgvj5pUGajYSj2SU ptYeZ0KZBdbl11R3Rz3Zijv0t/2Nal9KgTkAsfQI40iVjvOpK0kOFRM5JNMkCAy5GXND XnkRGLny8lFI1T60KXr+CebW3SBMcLddvet2IhNtj/S96k8JT+2d6LvZhkmctWJy2jGN unnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=wx90t1j8njOgLaf6IULcMcpPXmgQIEImKmVlfk4rvj4=; b=IMNA72kSbwcqZQrLogoBMccI4Q39FDynris9Htuttsrl0MdVnC5KdPtQ8C7VGGkFKA s8/KlI5UERQD6g8reESUqwxXTM3/DVZzYXq0VuREYaQjRnw+Q2YzSjv4BDt0wivHpCu8 w0nBpt+LPLzbj0tfw019ll8xPZob4p/CO2cT4FEeJ8AGurWdKfprRVBrJxhDLn31M1Q1 FVcUoXoBGOjvv8/uJY/8Sk8Y/115a4Prz9XMbziWiWk9HGb0bJMy1nrxL69PXTn4Hjp2 wHm4IrcH79KCvOD1It0rZWx7iuNcx+tqLX1ff7aD2bZoI8BbjpqOYDztmWGjdtnzpN8M Kjrw== X-Gm-Message-State: AOAM533WHAHzhSgdEeDGvdYceH9PqCMflhIGCkKydL1Xz+ABfL8tiYQZ rwLienNYj24vFWM7XoeIVyowlT9oPq9gy+TEqooak/pNQTI= X-Google-Smtp-Source: ABdhPJx7eqR7Rk9DzodMy+te4Cb/MQccSjdKtOAe0xhL05DwJriftT8f60ZeScj3ClLWMY31rvllSl7uELmaA1riRmg= X-Received: by 2002:a17:907:7613:: with SMTP id jx19mr19239453ejc.453.1632602766194; Sat, 25 Sep 2021 13:46:06 -0700 (PDT) In-Reply-To: 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:112911 Archived-At: --===============8195489103160392616== Content-Type: multipart/alternative; boundary="000000000000f0401005ccd7f3e7" --000000000000f0401005ccd7f3e7 Content-Type: text/plain; charset="UTF-8" Henri Menke provided a partial solution: \defineinitial[two][method={first,auto}] \setuphead[chapter][ after={\placeinitial[two]}, page=no, ] \starttext \chapter{Harriet Tubman} "Every great dream begins with a dreamer. Always remember, you have within you the strength, the patience, and the passion to reach for the stars to change the world. \chapter{Eleanor Roosevelt} Great minds discuss ideas; average minds discuss events; small minds discuss people. \stoptext However, the leading quotation mark is gobbled. Is there any generic way of detecting a leading quotation mark while keeping initial caps on the first character? Thank you! --000000000000f0401005ccd7f3e7 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Henri Menke provided a partial solution:

\defineinitial[two][method=3D{first,auto}]=
\setuphead[chapter][
=C2=A0 after=3D{\placeinitial[two]},
=C2=A0 = page=3Dno,
]

\starttext
\chapter{Harriet Tubman}
"Ever= y great dream begins with a dreamer. Always remember, you have within
yo= u the strength, the patience, and the passion to reach for the stars to
= change the world.
\chapter{Eleanor Roosevelt}
Great minds discuss ide= as; average minds discuss events; small minds
discuss people.
\stopte= xt

However, the leading quotation mark is gobbled. Is there a= ny generic way of detecting a leading quotation mark while keeping initial = caps on the first character?

Thank you!
--000000000000f0401005ccd7f3e7-- --===============8195489103160392616== 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== --===============8195489103160392616==--