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={local,global,default}]

\setuppagenumbering[location=]

\usemodule[tikz]
\usemodule[pgfplots]
\pgfplotsset{compat=1.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