From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/91586 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Environment \starttikzpicture \stoptikzpicture like float Date: Sun, 24 May 2015 17:19:50 +0200 Message-ID: <42CE72CC-9AE0-4D82-9F7C-C41F59CFFF2D@gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Content-Type: multipart/mixed; boundary="===============0959586565==" X-Trace: ger.gmane.org 1432480847 10986 80.91.229.3 (24 May 2015 15:20:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 24 May 2015 15:20:47 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun May 24 17:20:34 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 1YwXha-0001He-5d for gctc-ntg-context-518@m.gmane.org; Sun, 24 May 2015 17:20:34 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6E10610222 for ; Sun, 24 May 2015 17:20:33 +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 AKRUpTn0-NdE for ; Sun, 24 May 2015 17:20:32 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 1409F10235 for ; Sun, 24 May 2015 17:19:59 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AD00C10200 for ; Sun, 24 May 2015 17:19:55 +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 NOc0M4tPOM88 for ; Sun, 24 May 2015 17:19:54 +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 4A906101E8 for ; Sun, 24 May 2015 17:19:54 +0200 (CEST) Original-Received: from mail-wg0-x22c.google.com (mail-wg0-x22c.google.com [IPv6:2a00:1450:400c:c00::22c]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id t4OFJr4U005050 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Sun, 24 May 2015 17:19:53 +0200 Original-Received: by wgbgq6 with SMTP id gq6so54924238wgb.3 for ; Sun, 24 May 2015 08:19:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:message-id:mime-version:subject:date:references :to:in-reply-to; bh=+fK5y+aXBxz8qIdy7uND+csWU7lnxElnOaKFNCznEQo=; b=uJZ68euQXGwD4LLrEAMiJ58WLd86FOBUOPA0omK/6UxHif+DNc2tF8pRj1bMBrWMa/ +lKHFm0StP50X/tmRJ4OVen7xDx8CF6VGCkT1V2fLfFuYuWtWWS3YvqAmMJGe+qBYCzs l3XRNlzELjEJhxuGr8sMtXFZQ/6U86lAZKWL2p0D/Cd2/EVztWHfSi9qDlWpyUgd2/+M LVTm4wEp581xkXgjpY8i+vK2LoLvR48rNlFgJ1D/IQr5BRIXsjI1RpYOTUPfpc9ZTaF0 8iFKNc/qvXAU8eByrFE3NoKoTyqf1eDJZIQ0FXWM9ZXUzWBS9s61nnwk4sHCeV83k8Rx uFLQ== X-Received: by 10.194.3.77 with SMTP id a13mr32455623wja.104.1432480793087; Sun, 24 May 2015 08:19:53 -0700 (PDT) Original-Received: from keima.localdomain (x2f331a2.dyn.telefonica.de. [2.243.49.162]) by mx.google.com with ESMTPSA id pd7sm12454346wjb.27.2015.05.24.08.19.52 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 24 May 2015 08:19:52 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.2098) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c00::22c; 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: 03OvPjRP0 - c5172786c798 - 20150524 (trained as not-spam) Received-SPF: pass (filter3-ams.mf.surf.net: domain of schuster.wolfgang@gmail.com designates 2a00:1450:400c:c00::22c as permitted sender) receiver=filter3-ams.mf.surf.net; client-ip=2a00:1450:400c:c00::22c; envelope-from=; helo=mail-wg0-x22c.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:91586 Archived-At: --===============0959586565== Content-Type: multipart/alternative; boundary="Apple-Mail=_F314C22F-077F-4BB4-87E3-D8053D3EDEBE" --Apple-Mail=_F314C22F-077F-4BB4-87E3-D8053D3EDEBE Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > Am 24.05.2015 um 11:20 schrieb Fabrice Couvreur = : >=20 >=20 > Hi, > Why the command \placerecipe{}{} does not with an environment = \starttikzpicture=20 > \stoptikzpicture ? > Fabrice >=20 > \setupexternalfigures[location=3D{local,global,default}] >=20 > \setuppagenumbering[location=3D] >=20 > \usemodule[tikz] > \usemodule[pgfplots] > \pgfplotsset{compat=3D1.8} >=20 > \definefloat > [recipe] > [figure] To make a clone of the figure environment you have to use all three = arguments for the \definefloat command. \definefloat[recipe][recipes][figure] Wolfgang= --Apple-Mail=_F314C22F-077F-4BB4-87E3-D8053D3EDEBE Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii
Am 24.05.2015 um 11:20 schrieb Fabrice Couvreur <fabrice1.couvreur@gmail.com>:


Hi,
Why the command \placerecipe{}{} does not with an environment \starttikzpicture
\stoptikzpicture ?
Fabrice

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

\setuppagenumbering[location=3D]

\usemodule[tikz]
\usemodule[pgfplots]
\pgfplotsset{compat=3D1.8}
\definefloat
   = [recipe]
   [figure]

To make a clone of the figure environment you = have to use all three arguments for the \definefloat command.

\definefloat[recipe][recipes][figure]

Wolfgang
= --Apple-Mail=_F314C22F-077F-4BB4-87E3-D8053D3EDEBE-- --===============0959586565== 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= --===============0959586565==--