ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Environment \starttikzpicture \stoptikzpicture like float
Date: Sun, 24 May 2015 17:19:50 +0200	[thread overview]
Message-ID: <42CE72CC-9AE0-4D82-9F7C-C41F59CFFF2D@gmail.com> (raw)
In-Reply-To: <CACyK-eos6LAckhXxtcwwSgfcOGUP_pajH9AU+Mu3YJznhetviQ@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 604 bytes --]


> 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

[-- Attachment #1.2: Type: text/html, Size: 1938 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

      parent reply	other threads:[~2015-05-24 15:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-24  9:20 Fabrice Couvreur
2015-05-24  9:33 ` Hans Hagen
2015-05-24  9:48 ` Mojca Miklavec
2015-05-24 10:24   ` Fabrice
2015-05-24 12:36   ` Aditya Mahajan
2015-05-24 15:03     ` Hans Hagen
2015-05-24 15:19 ` Wolfgang Schuster [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42CE72CC-9AE0-4D82-9F7C-C41F59CFFF2D@gmail.com \
    --to=schuster.wolfgang@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).