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 14167 invoked from network); 16 May 2023 23:58:16 -0000 Received: from zapf.ntg.nl (5.39.185.232) by inbox.vuxu.org with ESMTPUTF8; 16 May 2023 23:58:16 -0000 Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 79BAFC92; Wed, 17 May 2023 01:57:54 +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 PtwG9mVPLUMn; Wed, 17 May 2023 01:57:52 +0200 (CEST) Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 2554E1C14CC; Wed, 17 May 2023 01:57:52 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 39DA61C14CC for ; Wed, 17 May 2023 01:57:50 +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 DsgK9X6lSjtf for ; Wed, 17 May 2023 01:57:48 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.128.174; helo=mail-yw1-f174.google.com; envelope-from=liyanrui.m2@gmail.com; receiver= Received: from mail-yw1-f174.google.com (mail-yw1-f174.google.com [209.85.128.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 zapf.ntg.nl (Postfix) with ESMTPS id 905EFC92 for ; Wed, 17 May 2023 01:57:48 +0200 (CEST) Received: by mail-yw1-f174.google.com with SMTP id 00721157ae682-561c1768bacso432237b3.1 for ; Tue, 16 May 2023 16:57:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684281467; x=1686873467; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=7+q9aevmsZMTWtBKKCQWntoELjS3Ru054yhDGGDKNVw=; b=YvYWJfaPSt/EKPeE6Cu15aIXJlKh8QKoNzAfw3aKjHJ3CHom8TS/ZByubHXXl1Iz+Z wYrMw4XIbqMsrBLagd3egmM21aztt66Yg/SrKD9cMFm36TAO2kmZK9mID3VdXlCW18Hz 7EfI5cB3F1c01Gi9WUSE97sbhkRSBWjej5JEQy1j3JDHbFpY7/xzIs461pc11aRROw0k AHJsVh9ffTbndtHYyouocaFMLJrc7Vqux+PofnAgtztcI5n4PqZFHqMlj/AIqViRx16l xF/zWDwxqaYOUy/ypUximQzMnqfmO8hg0+u25DBjAh7+0lTp+bDNoCHj9sUOOfeUq1vi dAJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684281467; x=1686873467; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=7+q9aevmsZMTWtBKKCQWntoELjS3Ru054yhDGGDKNVw=; b=D0VdgDaiMg2sNBwDVz4fhF+BIe7iPn1nEqtAsm4CqEZA+dCPfAkHjje09WVd68To7j KrxLj1NK4IK36IAgtyI2J40riTTo8vaOL6AJvNt6Oq+HecIkN8IQJAFO2lyMpioPrx25 knnl/mVRgTeRImmI4LIyl2oEeEOjRgWN48VHE8lv2yv9jDSPZsLFni18DMQLZ+gti9yy 2tbwe/eKVaadwTMw/4cGeKPgUAOggOWQdKLbHcwjDXuTEQgjqQqkDr6069K0tjVTnNuA YmAKTq8+Z4f3vTNAVJkUj+Ur0vy2PMo9dbtgvnF7zX+LDzbj/Gh/CHAMgHowq9UPJkgO JzPQ== X-Gm-Message-State: AC+VfDwO6SN9SQs+0mtT4zX658dEY/TW56bwZpzGq7vrKR+pIO9XkFBs 3Z6uLue2yvvrS4nyiA0Spgg3afDDAR1FZ9bIoFRTjnJDm/nvC9nNmfqCfg== X-Google-Smtp-Source: ACHHUZ6mM3pbN+wBOWU4Q+JMnMg/upZ1FrBKEqfS7RUJh+ugeICRbDVMVpXOFzNYPoWADgVGngG9F/wb10T3xJm+d4M= X-Received: by 2002:a81:834b:0:b0:561:afe7:40bf with SMTP id t72-20020a81834b000000b00561afe740bfmr2272389ywf.5.1684281466888; Tue, 16 May 2023 16:57:46 -0700 (PDT) MIME-Version: 1.0 References: <712D9638-EFB9-4DE4-AF69-A7378373D999@rna.nl> <39B1EEE1-F00E-43BC-A1E0-4C35E5E885F9@rna.nl> In-Reply-To: <39B1EEE1-F00E-43BC-A1E0-4C35E5E885F9@rna.nl> Date: Wed, 17 May 2023 07:57:35 +0800 Message-ID: To: mailing list for ConTeXt users Subject: Re: [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: =?utf-8?b?TGkgWWFucnVpICjmnY7lu7bnkZ4pIHZpYSBudGctY29udGV4dA==?= Reply-To: mailing list for ConTeXt users Cc: =?UTF-8?B?TGkgWWFucnVpICjmnY7lu7bnkZ4p?= Content-Type: multipart/mixed; boundary="===============9117965562736990767==" Errors-To: ntg-context-bounces@ntg.nl Sender: "ntg-context" --===============9117965562736990767== Content-Type: multipart/alternative; boundary="00000000000089250e05fbd85656" --00000000000089250e05fbd85656 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Gerben Wierda via ntg-context =E4=BA=8E2023=E5=B9=B45= =E6=9C=8817=E6=97=A5=E5=91=A8=E4=B8=89 06:42=E5=86=99=E9=81=93=EF=BC=9A > 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]\placeini= tial\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 > > There is a workaround: \startframedtext \starthanging[left,n=3D2]{\scale[lines=3D2]{\bf Knuth}} \input knuth \stophanging \stopframedtext --=20 Best regards, Li Yanrui --00000000000089250e05fbd85656 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
Gerben Wierda via ntg-context <ntg-context@ntg.nl> =E4=BA=8E2023= =E5=B9=B45=E6=9C=8817=E6=97=A5=E5=91=A8=E4=B8=89 06:42=E5=86=99=E9=81=93=EF= =BC=9A
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
\setupiniti= al[n=3D2,text=3DKnuth]\placeinitial\input=C2=A0knuth

\framed[align= =3Dflushleft]{\setupinitial[n=3D2,text=3DKnuth]\placeinitial\input=C2=A0knu= th }

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

\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=


There is a workaroun= d:

\startframedtext
\starthanging[left,n=3D2]{\= scale[lines=3D2]{\bf Knuth}}
\input knuth
\stophanging
\stopframed= text
=C2=A0
--
= Best regards,

Li Yanrui
--00000000000089250e05fbd85656-- --===============9117965562736990767== 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 ___________________________________________________________________________________ --===============9117965562736990767==--