From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/91568 Path: news.gmane.org!not-for-mail From: Fabrice Couvreur Newsgroups: gmane.comp.tex.context Subject: Environment \starttikzpicture \stoptikzpicture like float Date: Sun, 24 May 2015 11:20:26 +0200 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1000470980==" X-Trace: ger.gmane.org 1432459528 28286 80.91.229.3 (24 May 2015 09:25:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 24 May 2015 09:25:28 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun May 24 11:25:16 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 1YwS9k-00085G-6w for gctc-ntg-context-518@m.gmane.org; Sun, 24 May 2015 11:25:16 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9547210233 for ; Sun, 24 May 2015 11:25:15 +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 0h-gt1SyDWNb for ; Sun, 24 May 2015 11:25:14 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id ECD6410234 for ; Sun, 24 May 2015 11:24:31 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7618E101FE for ; Sun, 24 May 2015 11:24:27 +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 wYJN1D5izBaG for ; Sun, 24 May 2015 11:24:26 +0200 (CEST) Original-Received: from filter1-utr.mf.surf.net (filter1-utr.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id 07246101FD for ; Sun, 24 May 2015 11:20:28 +0200 (CEST) Original-Received: from mail-ig0-x22a.google.com (mail-ig0-x22a.google.com [IPv6:2607:f8b0:4001:c05::22a]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id t4O9KR4q028518 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Sun, 24 May 2015 11:20:28 +0200 Original-Received: by igbhj9 with SMTP id hj9so19821763igb.1 for ; Sun, 24 May 2015 02:20:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=UQfS4HdlMsyTWAYNiXm2/gMjGRsQNR0HrX1SOslOls8=; b=AtBIP8U02aMRnXBZO6jDSC58Xf9JQvz6JLll4C9qnGLV3+8X/UJIpBUnMUnB3MHWu7 NBuGxSFoeYsFmKyUId4ucMqbspD6CTVZrT0pHgJcSbCkAoirILZMi2pwcXdOs+0J9czr VINeu/0R7QXnDlrE+WkWRf64cvV/2rb2lgnxW7LBuq6nBnrt+J++tIoaK8fUc/hYQP1E L7Ij78nDv7MKDeurffPGCL5YH4sX+Ux3djfR0uigG3PyQVHxlhoH2Zun0u+NjOiyKRfV O7Z3SW22nRaLAl8qANLhjWObuGCABXk5CrcfCkixdhaLyrBeyLLK6i5+iVpBbqXw4Wmr /5tA== X-Received: by 10.42.67.80 with SMTP id s16mr18384203ici.25.1432459226513; Sun, 24 May 2015 02:20:26 -0700 (PDT) Original-Received: by 10.50.123.38 with HTTP; Sun, 24 May 2015 02:20:26 -0700 (PDT) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2607:f8b0:4001:c05::22a; country=US; region=Iowa; city=Council Bluffs; latitude=41.2324; longitude=-95.8762; http://maps.google.com/maps?q=41.2324,-95.8762&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07OvJksce - 4b2eb60e35ec - 20150524 (trained as not-spam) Received-SPF: pass (filter1-utr.mf.surf.net: domain of fabrice1.couvreur@gmail.com designates 2607:f8b0:4001:c05::22a as permitted sender) receiver=filter1-utr.mf.surf.net; client-ip=2607:f8b0:4001:c05::22a; envelope-from=; helo=mail-ig0-x22a.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:91568 Archived-At: --===============1000470980== Content-Type: multipart/alternative; boundary=20cf303347bb5a07310516d067bb --20cf303347bb5a07310516d067bb Content-Type: text/plain; charset=UTF-8 Hi, Why the command \placerecipe{}{} does not with an environment \ starttikzpicture \stoptikzpicture ? Fabrice \setupexternalfigures[location={local,global,default}] \setuppagenumbering[location=] \usemodule[tikz] \usemodule[pgfplots] \pgfplotsset{compat=1.8} \definefloat [recipe] [figure] \setupfloat [recipe] [default={right,none}] \starttext \startitemize[n][stopper={.},style=bold] \placerecipe {} {\externalfigure[cow.pdf][width=4cm]} \item \input knuth \placerecipe {} { \starttikzpicture[level 1/.style={level distance=35mm,sibling distance=40mm},level 2/.style={level distance=25mm,sibling distance=15mm},cadre/.style={rectangle,draw}] \node{}[grow=right] child{node{$\overline{R}$} child{node{$\overline{M}$} edge from parent node [below=0.2cm,midway] {\unknown}} child{node{$M$} edge from parent node [above=0.2cm,midway] {\unknown}} edge from parent node [below=0.2cm,midway] {\unknown} } child{node{$R$} child{node{$\overline{M}$} edge from parent node [below=0.2cm,midway] {\unknown}} child{node{$M$} edge from parent node [above=0.2cm,midway] {\unknown}} edge from parent node [above=0.2cm,scale=0.75] {\unknown} }; \stoptikzpicture } \item \input knuth \stopitemize \stoptext --20cf303347bb5a07310516d067bb Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

<= span style=3D"font-family:verdana,sans-serif">Hi, Why the command \placerecipe{}{} does not with
an environment \starttikzpicture
\stoptikzpicture ?
=
Fabrice

\setupexternalfigures[location=3D{l= ocal,global,default}]

\setuppagenumbering[location=3D]

\usemo= dule[tikz]
\usemodule[pgfplots]
\pgfplotsset{compat=3D1.8}

\de= finefloat
=C2=A0=C2=A0 [recipe]
=C2=A0=C2=A0 [figure]

\setupfl= oat
=C2=A0=C2=A0 [recipe]
=C2=A0=C2=A0 [default=3D{right,none}]
\starttext
\startitemize[n][stopper=3D{.},style=3Dbold]
\placerecip= e
=C2=A0=C2=A0 {}
{\externalfigure[cow.pdf][width=3D4cm]}
\item \i= nput knuth
\placerecipe
=C2=A0=C2=A0 {}
{
\starttikzpicture[lev= el 1/.style=3D{level distance=3D35mm,sibling distance=3D40mm},level 2/.styl= e=3D{level distance=3D25mm,sibling distance=3D15mm},cadre/.style=3D{rectang= le,draw}]
\node{}[grow=3Dright]
child{node{$\overline{R}$}
child{n= ode{$\overline{M}$}
edge from parent node [below=3D0.2cm,midway] {\unkno= wn}}
child{node{$M$}
edge from parent node [above=3D0.2cm,midway] {\u= nknown}}
edge from parent node [below=3D0.2cm,midway] {\unknown}
}child{node{$R$}
child{node{$\overline{M}$}
edge from parent node [be= low=3D0.2cm,midway] {\unknown}}
child{node{$M$}
edge from parent node= [above=3D0.2cm,midway] {\unknown}}
edge from parent node [above=3D0.2cm= ,scale=3D0.75] {\unknown}
};
\stoptikzpicture
}
\item \input kn= uth
\stopitemize
\stoptext

--20cf303347bb5a07310516d067bb-- --===============1000470980== 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= --===============1000470980==--