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 10876 invoked from network); 16 May 2023 22:41:56 -0000 Received: from zapf.ntg.nl (5.39.185.232) by inbox.vuxu.org with ESMTPUTF8; 16 May 2023 22:41:56 -0000 Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 747D5C92; Wed, 17 May 2023 00:41:33 +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 QDkgIPHr3mM4; Wed, 17 May 2023 00:41:29 +0200 (CEST) Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 646A91C2C00; Wed, 17 May 2023 00:41:29 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 77E101C2C00 for ; Wed, 17 May 2023 00:41:27 +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 3AOp7yAaLfeI for ; Wed, 17 May 2023 00:41:25 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=213.125.118.53; helo=mail.rna.nl; envelope-from=gerben.wierda@rna.nl; receiver= Received: from mail.rna.nl (mail.rna.nl [213.125.118.53]) (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 zapf.ntg.nl (Postfix) with ESMTPS id 1EB52C92 for ; Wed, 17 May 2023 00:41:24 +0200 (CEST) Received: from smtpclient.apple (hermione.rna.nl [192.168.2.86]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by albus.rna.nl (Postfix) with ESMTPSA id 1943317D89F58 for ; Wed, 17 May 2023 00:41:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rna.nl; s=dkim_rsa2048; t=1684276882; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=UAkxHPCGEFCRiPI0GPUC8f0wJ7NzPjSRtGnmVPd2IBc=; b=ehEhRRE2jWYazVp3INeMTqYVaycUQMDBDiIImeQYw0PecYiZnYffpqBkW7nYf0NisV9F47 lyEK7blY6DypA+EJc9A/mTnYkxXteN+QiaJNEEGKJlR+zl/duF9Yy6G20VbZq40PRRL/A6 C6lmWqxIH78OG6Mu11HnNne3QezMdvyq8OgURb1wZUyOOT7MJYCQ6SKO3S14bt7eYBUhIc kzKP7c+djIgtpsmR8+ilQcvzx60btdHauSfJVBymNjTtTnd6MoIAg+C4Pu5hyxHU368zmf 7BSLdMXbQ9Alo6AGVl+LDoEqaD0B6VsGgx3UJsXI0H4H0E58cY1TMND32ya2qQ== Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.3\)) Date: Wed, 17 May 2023 00:41:19 +0200 References: <712D9638-EFB9-4DE4-AF69-A7378373D999@rna.nl> To: mailing list for ConTeXt users In-Reply-To: <712D9638-EFB9-4DE4-AF69-A7378373D999@rna.nl> Message-Id: <39B1EEE1-F00E-43BC-A1E0-4C35E5E885F9@rna.nl> X-Mailer: Apple Mail (2.3696.120.41.1.3) Subject: [NTG-context] \placeinitial doesn't work inside \framedtext (or \framed) 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: Gerben Wierda via ntg-context Reply-To: mailing list for ConTeXt users Cc: Gerben Wierda Content-Type: multipart/mixed; boundary="===============8546545182123917976==" Errors-To: ntg-context-bounces@ntg.nl Sender: "ntg-context" --===============8546545182123917976== Content-Type: multipart/alternative; boundary="Apple-Mail=_D9ABC2D0-DBB4-40DA-894F-89DE403790EB" --Apple-Mail=_D9ABC2D0-DBB4-40DA-894F-89DE403790EB Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 I did a simple thing, replace a \framed by \framedtext to get = \placeinitial working but that doesn't seem to work automatically: %=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D \starttext \setupinitial[n=3D2,text=3DKnuth]\placeinitial\input knuth = \framed[align=3Dflushleft]{\setupinitial[n=3D2,text=3DKnuth]\placeinitial\= input knuth } = \framedtext[align=3Dflushleft]{\setupinitial[n=3D2,text=3DKnuth]\placeinit= ial\input knuth } \stoptext %=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D Is there a way I can get a working \placeinitial inside a \framed or = \frametext? ConTeXt ver: 2023.02.23 21:26 LMTX fmt: 2023.2.25 int: = english/english Gerben Wierda (LinkedIn , = Mastodon ) R&A IT Strategy (main site) Book: Chess and the Art of Enterprise=C2=A0Architecture = Book: Mastering ArchiMate > On 15 May 2023, at 18:18, Gerben Wierda via ntg-context = wrote: >=20 > I'd like to use a drop cap inside a \framed, but it doesn't work. >=20 > Minimal example: >=20 > %=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D > \starttext > \setupinitial[n=3D2,text=3DKnuth]\placeinitial\input knuth >=20 > = \framed[align=3Dflushleft]{\setupinitial[n=3D2,text=3DKnuth]\placeinitial\= input knuth } > \stoptext > %=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D >=20 > The first drop cap works, the second is empty. >=20 > Gerben Wierda (LinkedIn , = Mastodon ) > R&A IT Strategy (main site) > Book: Chess and the Art of Enterprise=C2=A0Architecture = > Book: Mastering ArchiMate >=20 > = __________________________________________________________________________= _________ > If your question is of interest to others as well, please add an entry = to the Wiki! >=20 > 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 > = __________________________________________________________________________= _________ --Apple-Mail=_D9ABC2D0-DBB4-40DA-894F-89DE403790EB Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii I = did a simple thing, replace a \framed by \framedtext to get = \placeinitial working but that doesn't seem to work automatically:

%=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D
\starttext
\setupinitial[n=3D2,text=3DKnuth]\placeinitial\input knuth=

\framed[align=3Dflushleft]{\setupinitial[n=3D2,text=3DKnuth]\pl= aceinitial\input knuth }

\framedtext[align=3Dflushleft]{\setupinitial[n=3D2,text=3DKnuth= ]\placeinitial\input knuth }

\stoptext
%=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D

Is there a way I can get a working \placeinitial inside a = \framed or \frametext?

ConTeXt  ver: 2023.02.23 21:26 LMTX  fmt: = 2023.2.25  int: english/english

On 15 May 2023, at 18:18, Gerben Wierda via ntg-context = <ntg-context@ntg.nl> wrote:

I'd like to use a = drop cap inside a \framed, but it doesn't work.

Minimal example:
%=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
\starttext\setupinitial[n=3D2,text=3DKnuth]\placeinitial\input knut= h

\framed[align=3Dflushleft]{\setupinitial[n=3D2,text=3DKnuth]\pl= aceinitial\input knuth }
\stoptext
%=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D

The first drop cap works, the second is empty.


___________________________________________________= ________________________________
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
_______________________________________________________________= ____________________

= --Apple-Mail=_D9ABC2D0-DBB4-40DA-894F-89DE403790EB-- --===============8546545182123917976== 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 ___________________________________________________________________________________ --===============8546545182123917976==--