From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/92279 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Text around a figure in a framedtext (Wolfgang Schuster) Date: Sat, 08 Aug 2015 16:21:37 +0200 Message-ID: <55C61071.6080907@gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1284792864==" X-Trace: ger.gmane.org 1439043842 15984 80.91.229.3 (8 Aug 2015 14:24:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 8 Aug 2015 14:24:02 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Aug 08 16:23:51 2015 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZO52H-00021j-PJ for gctc-ntg-context-518@m.gmane.org; Sat, 08 Aug 2015 16:23:45 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3465B10232 for ; Sat, 8 Aug 2015 16:23:45 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id f4A6ciWGff5y for ; Sat, 8 Aug 2015 16:23:44 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 2A43110240 for ; Sat, 8 Aug 2015 16:23:15 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1FC28101FD for ; Sat, 8 Aug 2015 16:23:12 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id xfsLHtrZ8ois for ; Sat, 8 Aug 2015 16:23:11 +0200 (CEST) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 1CB4A10202 for ; Sat, 8 Aug 2015 16:21:40 +0200 (CEST) Original-Received: from mail-wi0-x22e.google.com (mail-wi0-x22e.google.com [IPv6:2a00:1450:400c:c05::22e]) by filter3-ams.mf.surf.net (8.14.4/8.14.4/Debian-4) with ESMTP id t78ELdYv006807 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NOT) for ; Sat, 8 Aug 2015 16:21:40 +0200 Original-Received: by wicgj17 with SMTP id gj17so91430841wic.1 for ; Sat, 08 Aug 2015 07:21:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=vU4+elE1rhVI/gZAUztKaL80U5Tf1fYZCtacK5ywoAw=; b=S0UwOepfap+vj41t33s65cH2Dh2KneCKoRhjCyBwb52TZnoVnZsPn1rjGHf+aRd+my aB8LtZDTITgg29tCbjZtrq8a41ceWzSujuMfMalY2pKNZJB89LzayFVIuYhYvXduRM6+ 7g55e0/5Mt0Toh7F7ICJ1UaKfxC8TWdroLba3ljMxUMmt+6v9S+PaI/iOfK2j7bDPjY3 8di/vxQOMCSAFZGBX58FVCeorph999q5nYl57QETosFKO5lmVS2btezBnPQKdK78YIFw crawqsSmmGIMb8zvKiFNDfQn6yAX/Fgc9wi0SsotCc3YKCoPk00ZDDL3jDKG3+6trwDD jWkg== X-Received: by 10.194.187.116 with SMTP id fr20mr27382528wjc.96.1439043699759; Sat, 08 Aug 2015 07:21:39 -0700 (PDT) Original-Received: from keima.localdomain (x2f243d3.dyn.telefonica.de. [2.242.67.211]) by smtp.googlemail.com with ESMTPSA id n6sm4028276wix.1.2015.08.08.07.21.39 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 08 Aug 2015 07:21:39 -0700 (PDT) User-Agent: Postbox 4.0.3 (Macintosh/20150805) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c05::22e; country=BE; region=Brussels Capital; city=Brussels; latitude=50.8466; longitude=4.3528; http://maps.google.com/maps?q=50.8466,4.3528&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03P2elEgD - ae85beaff42c - 20150808 (trained as not-spam) Received-SPF: pass (filter3-ams.mf.surf.net: domain of schuster.wolfgang@gmail.com designates 2a00:1450:400c:c05::22e as permitted sender) receiver=filter3-ams.mf.surf.net; client-ip=2a00:1450:400c:c05::22e; envelope-from=; helo=mail-wi0-x22e.google.com; identity=mailfrom X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 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.org gmane.comp.tex.context:92279 Archived-At: This is a multi-part message in MIME format. --===============1284792864== Content-Type: multipart/alternative; boundary="------------040500060108040307050903" This is a multi-part message in MIME format. --------------040500060108040307050903 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable > Jeong Dal > 8. August 2015 15:49 > Dear Wolfgang, > > > Thank you for letting me know the command =E2=80=9Cstarthanging=E2=80=9D= . > I tried the command =E2=80=9C\startfiguretext =E2=80=A6 \stopfiguretext= =E2=80=9D, and found=20 > that there is no text below the square. > > \startframedtext[width=3D\textwidth]{ > \startfiguretext[right,none]{}{% > \startMPcode > draw unitsquare scaled 2cm ; > \stopMPcode} > \input knuth > \stopfiguretext} > \stopframedtext > > Your example worked fine, but if we replace tufte by knuth, then text=20 > is written over the square while the tufte=E2=80=99s text was witten su= rround=20 > the square. > Is it expected result? The \starthangaround environment reserves space for the image etc. only=20 for the first paragraph while \placefigure includes more paragraphs if necessary. Wolfgang --------------040500060108040307050903 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
8.= =20 August 2015 15:49
Dear Wolfgang,

<= /div>

Thank you for letting me know the command =E2=80=9Cstarthanging=E2=80=9D.
I= tried the=20 command =E2=80=9C\startfiguretext =E2=80=A6 \stopfiguretext=E2=80=9D, an= d found that there is=20 no text below the square.

\startframedtext[width=3D\textwidth]{\startfiguretext[right,none]{}{%
\startMPcode
draw unitsquare scaled 2cm ;
\stopMPcode}
\input knuth
\stopfi= guretext}
\stopframedtext

Your example worked fine, but if we replace tufte by knuth, then text is=20 written over the square while the tufte=E2=80=99s text was witten surroun= d the=20 square.
Is it expected result?
The \starthangaround environment reserves space for the image etc. only=20 for the first paragraph
while \placefigure includes more paragraphs if necessary.

Wolfgang
--------------040500060108040307050903-- --===============1284792864== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============1284792864==--