From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/106906 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Fabrice Couvreur Newsgroups: gmane.comp.tex.context Subject: Re: Text around an image Date: Fri, 17 Apr 2020 11:07:22 +0200 Message-ID: References: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5679431539530205802==" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="38525"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Apr 17 11:08:15 2020 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 1jPMys-0009vJ-F8 for gctc-ntg-context-518@m.gmane-mx.org; Fri, 17 Apr 2020 11:08:14 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id D1429182AAC; Fri, 17 Apr 2020 11:07:47 +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 cxt9COJprzdL; Fri, 17 Apr 2020 11:07:45 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id C09AC182A5C; Fri, 17 Apr 2020 11:07:45 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id B69A6182A5C for ; Fri, 17 Apr 2020 11:07:44 +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 MjVzLzgTlDoS for ; Fri, 17 Apr 2020 11:07:44 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.221.41; helo=mail-wr1-f41.google.com; envelope-from=fabrice1.couvreur@gmail.com; receiver= Original-Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) (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 278FD1827EC for ; Fri, 17 Apr 2020 11:07:44 +0200 (CEST) Original-Received: by mail-wr1-f41.google.com with SMTP id i10so2147919wrv.10 for ; Fri, 17 Apr 2020 02:07:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=i5Q3cC33ZWkEpD2o0tQ4U2y26nkwCBBVwCPWd8gCqMQ=; b=f1DirzpT5rqBjiSQUVerklgm/gJfL/40X2Mp6fqAWzRgw16ZnBczARZctb5XeiOxAj J8Fvtnxf5QrdKSZcEMQJZNJNg/2IX6keC/PX9gzkwPhE0PLB1mP5RJSnn3eMJSnqDEqD hQ0UfmiNHbvn8vbo9ITsH+oB5G40AhmKPUySxZfpFVIhE+QRLk3ofLtSFhnlDkjoRTSr TRsB+VDLGtXYxM+PfJLZ4PBK79pBaKnRLZZWC9pXfOk2cBnMvHc8erOnxpqqeecKHcU7 VvoP8qUQrV/5s40RvZZBjzxFjEfYmKCe0yHbwZF4HAS1Eg/9C25Qh9+3HHGrxoFj9eOt s4zw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=i5Q3cC33ZWkEpD2o0tQ4U2y26nkwCBBVwCPWd8gCqMQ=; b=AtEQzM9sqxBo9Xec4/KlqyHOuO1N5BLr5jXwHcghW3FybRlLkG2vwvIQKJ/Ijn7W1M Iix2AFpWMV5YcAFmJJa39EWBZWg0D0IR8Hvh2qJRE7jMyML/Ofp5Fhup6PGo+fL5Z3zn aXH7v8heGRzr7ezhlCvCapuSEkyBMcj8ukJvnPQTgQzAG+2x+LpBuqrbv9gYlO7Qtrb6 6F4sgF8uXuTB4jsNCoMtL+i1I6xNO5A47XWOeXA0WYzNjXyE7jkBAmazvVMC/5Dzfl1E yXJ+Rhqxj+lV3dx20SlzuRuzgY+ees+D1Yl1rNhi3Tl168s0+AMBhk4NYmMcWfF3Atcd l7QA== X-Gm-Message-State: AGi0PuZxR0InowNrJNpzcfGSVUnwSmz8JCCi2/K3N13nr84ugfKAq7H8 8gyM/GvqZUwKpSaqORXl8ReiiAYT5xnEdxzJpjIdiSsd X-Google-Smtp-Source: APiQypLPIlTD8bqMRrw97e/KbEXj0dS6IFOeaeFkViWICpLOIxdF8wtM198CXIKAv1PH9GbSaKpyhpR2BOufr5vjaM0= X-Received: by 2002:adf:8162:: with SMTP id 89mr2653661wrm.387.1587114463418; Fri, 17 Apr 2020 02:07:43 -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:106906 Archived-At: --===============5679431539530205802== Content-Type: multipart/alternative; boundary="000000000000cf5d0f05a378e1b0" --000000000000cf5d0f05a378e1b0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, I found a way to solve it using the command \flushsidefloats Is this the best solution ? Thank you. Fabrice \startitem Programmer une fonction \m{A(x)} qui renvoie l'aire totale du terrain en fonction de la longueur \m{x}. \stopitem \flushsidefloats Le jeu. 16 avr. 2020 =C3=A0 12:33, Fabrice Couvreur a =C3=A9crit : > Hi, > I know that this question has been raised several times (especially by me > !), but the solutions provided sometimes work and sometimes not, especial= ly > in this example. > Thanks for your help. > Fabrice > > \useMPlibrary [dum] > > \define\ItemCommand > {\hskip\zeropoint\relax\autoinsertnextspace} > > \setupitemgroup > [itemize] > [color=3Dblack, > style=3Dbold, > distance=3D\zeropoint] > > \setupitemgroup > [itemize:1] > [option=3D{n,packed,fit,intext}, > command=3D\ItemCommand] > > \setupitemgroup > [itemize:2] > [lefttext=3D, > righttext=3D, > option=3D{a,text}] > > \starttext > > \startitemize > \startitem > Justifier que \m{x>4} et \m{y>2}. > \stopitem > \placefigure[right,none]{}{\externalfigure [dummy]} > \startitem > Pour calculer la valeur de \m{y} en fonction de \m{x}, l'urbanist= e > a =C3=A9crit la fonction en Python. > > \startitemize > \startitem > Son algorithme est-il correct ? > \stopitem\par > \startitem > Programmer une fonction \m{A(x)} qui renvoie l'aire totale du > terrain en fonction de la longueur \m{x}. > \stopitem > \stopitemize > \stopitem > \startitem > On consid=C3=A8re la fonction suivante. > > \startitemize > \startitem > Qu'affiche l'instruction ? > \stopitem\par > \startitem > Interpr=C3=A9ter les r=C3=A9sultats renvoy=C3=A9s. > \stopitem > \stopitemize > \stopitem > \stopitemize > \stoptext > --000000000000cf5d0f05a378e1b0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,
I = found a way to solve it using the command \flushsidefloats
Is this the best solution ?
Thank you= .
Fabrice

= \startitem
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Pr= ogrammer une fonction \m{A(x)} qui renvoie l'aire totale du terrain en = fonction de la longueur \m{x}.
\stopitem
\flushsidefloats


<= br>
Le=C2= =A0jeu. 16 avr. 2020 =C3=A0=C2=A012:33, Fabrice Couvreur <fabrice1.couvreur@gmail.com> a =C3= =A9crit=C2=A0:
<= div dir=3D"ltr">
Hi,
I know that this question has been raised several times (especially by me= !), but the solutions provided sometimes work and sometimes not, especiall= y in this example.
Thanks for your help.<= br>Fabrice

=C2=A0 \useMPlibrar= y [dum]

=C2=A0 =C2=A0\define\ItemCommand
=C2=A0 =C2=A0{\hskip\zer= opoint\relax\autoinsertnextspace}

=C2=A0 \setupitemgroup
=C2=A0 = =C2=A0 [itemize]
=C2=A0 =C2=A0 [color=3Dblack,
=C2=A0 =C2=A0 =C2=A0st= yle=3Dbold,
=C2=A0 =C2=A0 =C2=A0distance=3D\zeropoint]

=C2=A0 \se= tupitemgroup
=C2=A0 =C2=A0 [itemize:1]
=C2=A0 =C2=A0 [option=3D{n,pac= ked,fit,intext},
=C2=A0 =C2=A0 command=3D\ItemCommand]

=C2=A0 \se= tupitemgroup
=C2=A0 =C2=A0 [itemize:2]
=C2=A0 =C2=A0 [lefttext=3D,=C2=A0 =C2=A0 righttext=3D,
=C2=A0 =C2=A0 option=3D{a,text}]

=C2= =A0 \starttext

=C2=A0 =C2=A0 \startitemize
=C2=A0 =C2=A0 =C2=A0 \= startitem
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Justifier que \m{x>4} et \m{y&g= t;2}.
=C2=A0 =C2=A0 =C2=A0 \stopitem
=C2=A0 =C2=A0 =C2=A0 \placefigur= e[right,none]{}{\externalfigure [dummy]}
=C2=A0 =C2=A0 =C2=A0 \startitem=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Pour calculer la valeur de \m{y} en fonctio= n de \m{x}, l'urbaniste a =C3=A9crit la fonction en Python.
=C2=A0 = =C2=A0 =C2=A0 =C2=A0
=C2=A0 =C2=A0 =C2=A0 =C2=A0 \startitemize
=C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 \startitem
=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 Son algorithme est-il correct ?
=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 \stopitem\par
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 \startitem=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Programmer une fonction \m{A(x)= } qui renvoie l'aire totale du terrain en fonction de la longueur \m{x}= .
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 \stopitem
=C2=A0 =C2=A0 =C2=A0 = =C2=A0 \stopitemize
=C2=A0 =C2=A0 =C2=A0 \stopitem
=C2=A0 =C2=A0 =C2= =A0 \startitem
=C2=A0 =C2=A0 =C2=A0 =C2=A0 On consid=C3=A8re la fonction= suivante.

=C2=A0 =C2=A0 =C2=A0 =C2=A0 \startitemize
=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 \startitem
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 Qu'affiche l'instruction ?
=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 \stopitem\par
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 \startitem
= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Interpr=C3=A9ter les r=C3=A9sulta= ts renvoy=C3=A9s.
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 \stopitem
=C2=A0= =C2=A0 =C2=A0 =C2=A0 \stopitemize
=C2=A0 =C2=A0 =C2=A0 \stopitem
=C2= =A0 =C2=A0 \stopitemize
=C2=A0 \stoptext
--000000000000cf5d0f05a378e1b0-- --===============5679431539530205802== 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== --===============5679431539530205802==--