From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,MAILING_LIST_MULTI, XM_ONE_WORD autolearn=ham autolearn_force=no version=3.4.4 Received: from cgl.ntg.nl (Cgl.ntg.nl [5.39.185.202]) by inbox.vuxu.org (Postfix) with ESMTP id C8746222F4 for ; Sun, 28 Apr 2024 20:29:12 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 41D80484894 for ; Sun, 28 Apr 2024 20:28:10 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Authentication-Results: cgl.ntg.nl (amavisd-new); dkim=fail (2048-bit key) reason="fail (message has been altered)" header.d=ca.rr.com Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zR8mc3cNoeVO for ; Sun, 28 Apr 2024 20:28:09 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 5146F484686 for ; Sun, 28 Apr 2024 20:27:26 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id F235C4845A9 for ; Sun, 28 Apr 2024 20:26:55 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wlQczZMWty81 for ; Sun, 28 Apr 2024 20:26:54 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=47.43.26.139; helo=p-impout008.msg.pkvw.co.charter.net; envelope-from=urban.m@ca.rr.com; receiver= Received: from p-impout008.msg.pkvw.co.charter.net (p-impout008aa.msg.pkvw.co.charter.net [47.43.26.139]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by cgl.ntg.nl (Postfix) with ESMTPS id 6AB56484589 for ; Sun, 28 Apr 2024 20:26:53 +0200 (CEST) Received: from localhost ([52.86.171.38]) by cmsmtp with ESMTP id 19EhsNJYpegSh19Ehs7EZC; Sun, 28 Apr 2024 18:26:52 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ca.rr.com; s=c20240129; t=1714328812; bh=nwhMQ0llwZeXuB6rJTGyRKvr1Dk6mP+lnshTCMYcHWE=; h=From:To:Subject:Date; b=ZabvwsumKZd1NCGi57a9iarbXG5MrleWotFyyxpr7pnJTi0cbM6c7/S6VCeI+5JaX 28BVbJlyb3JAiq1GGma2L3CjU6g0qg9wtrCHm5TqYwaKg9FwtGozXy2DVXRsyX1N0x QfESnYgx+PCO94L8CaAmvR2Sr+DPCIAHKLH08enpiSySRvR0al/Liw/Mdhv3xBXFNm u00aS3Oee7hryeChrl0ZyndwNJzTRtqMzPW7Bc4HpUKcgQRuyH18ouiNidPuQvtu60 ph3UGovupxAM4xEJNf2FFAAKxvVD9SDJUba99Zm4GTplW/Am3w6yH0mq43dNZ8I4vY hCxspwQcD+1TA== X-Authority-Analysis: v=2.4 cv=e58AS7p/ c=1 sm=1 tr=0 ts=662e94ec a=KRKCKI1VKQ4u2uwitZ6MRA==:117 a=KRKCKI1VKQ4u2uwitZ6MRA==:17 a=WgfWNeK48KAA:10 a=MId-8C1J1jLmWIS5LXQA:9 a=QEXdDO2ut3YA:10 a=bzrQpBPMRoDx1K56wsMA:9 a=xmjsTpsqWQbTo2Zz:21 a=_W_S_7VecoQA:10 a=JvSX2sv4KeiKzdWQBHbP:22 Message-Id: <944aa7f1756f2ad94b51cec33a8363f9bf9c4715@webmail> From: urban.m@ca.rr.com To: "'ntg-context@ntg.nl'" X-Mailer: Atmail X-Originating-IP: [76.169.81.156] X-Priority: 3 Importance: Normal X-MSMail-Priority: Normal Date: Sun, 28 Apr 2024 18:26:51 +0000 MIME-Version: 1.0 X-CMAE-Envelope: MS4xfMhA/zlZIRopJJtn46yuI1+2xyDCo6f1mseRxNGk5HkK8y0c0eFBJaWTq2kY3qGrEFRYGtRa2tsFpb1VZp+Vd1NhFfg3vtjQaqfhK6eQ6PDq3xLJ1Cnm JV5ISpmPiUSpdSA3d4zIzHuQBXEo2Ba6H0HdAAFXKWydo+QDbVX70dwuXcMNd5QJK0lhc1i16vuUSw== Message-ID-Hash: 3YQEXLOVOUCDJRPZV5J6HAPCW7V62LCT X-Message-ID-Hash: 3YQEXLOVOUCDJRPZV5J6HAPCW7V62LCT X-MailFrom: urban.m@ca.rr.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Re: Why Difference Between \placefloat and \definefloat List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: multipart/mixed; boundary="===============1852500120717845893==" --===============1852500120717845893== Content-Type: multipart/alternative; boundary="=_f5c5377ba1e4238a263b4b7e43244437" --=_f5c5377ba1e4238a263b4b7e43244437 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I don't think that 'sidebar' has much to do with it. The part that is=0A= not working as expected is the 'mysidebar', which is not getting the=0A'= outer' location, nor the 'none' captioning that I get with=0Aplacefloat.= =0A=0Asetupfloat[mysidebar][leftmargindistance=3D-.25in,rightmargindista= nce=3D-.25in,outer,none]=0A=0Adefineframedtext [sidebartext]=0A[width=3D= .4textwidth,bodyfont=3Dsmall,corner=3Dround,background=3Dcolor,backgroun= dcolor=3Dlightgray,align=3Dflushleft]=0A=0Astarttext=0AThis is a bit of= text=0Aplacefloat[newsidebar][leftmargindistance=3D-.25in,rightmargindi= stance=3D-.25in,outer,none]{}{=0Astartsidebartext=0AThis is a short side= bar=0Astopsidebartext=0A}=0AAnd something to follow.=0A=0AA bit of text= =0Aplacemysidebar{}{=0Astartsidebartext=0AThis is a short sidebar=0Astop= sidebartext=0A}=0AAnd something to follow.=0A=0Astoptext=0A=0A --=_f5c5377ba1e4238a263b4b7e43244437 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I don't think that 'sidebar' has much to do with it.  T= he part that is not working as expected is the 'mysidebar', which is not= getting the 'outer' location, nor the 'none' captioning that I get with= \placefloat.




\setupfloat[mysidebar][leftmargindistan= ce=3D-.25in,rightmargindistance=3D-.25in,outer,none]

\defineframe= dtext [sidebartext]
[width=3D.4\textwidth,bodyfont=3Dsmall,corner=3Dr= ound,background=3Dcolor,backgroundcolor=3Dlightgray,align=3Dflushleft]
\starttext
This is a bit of text
\placefloat[newsidebar][lef= tmargindistance=3D-.25in,rightmargindistance=3D-.25in,outer,none]{}{
= \startsidebartext
This is a short sidebar
\stopsidebartext
}And something to follow.

A bit of text
\placemysidebar{}{
= \startsidebartext
This is a short sidebar
\stopsidebartext
}And something to follow.

\stoptext





--=_f5c5377ba1e4238a263b4b7e43244437-- --===============1852500120717845893== 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://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________ --===============1852500120717845893==--