Re: [NTG-context] ntg-context Digest, Vol 87, Issue 51
![](https://secure.gravatar.com/avatar/edcdec265f0de3f45b735068da6ea852.jpg?s=120&d=mm&r=g)
I'm defining a new float that I'd like to caption with its own label. Something like:
\definefloat[picture][pictures]
I'd then like the caption to read:
Picture 1 - my caption text Picture 2 - etc
At the moment I've used \setupcaption[picture][way=bytext] to sort out the numbering but I cannot figure out how to do the label.
\setupcaption[picture][way=bytext,label=Picture] does the trick
This doesn't work for me. Setupcaption doesn't appear to support a label option (MKIV and assuming I'm looking at the correct source file...) Felix
![](https://secure.gravatar.com/avatar/93131e1e6e2204bd13501390d768dbdc.jpg?s=120&d=mm&r=g)
Am 23.09.2011 um 12:45 schrieb Felix Ingram:
I'm defining a new float that I'd like to caption with its own label. Something like:
\definefloat[picture][pictures]
I'd then like the caption to read:
Picture 1 - my caption text Picture 2 - etc
At the moment I've used \setupcaption[picture][way=bytext] to sort out the numbering but I cannot figure out how to do the label.
\setupcaption[picture][way=bytext,label=Picture] does the trick
This doesn't work for me. Setupcaption doesn't appear to support a label option (MKIV and assuming I'm looking at the correct source file…)
Use “\setuplabeltext[picture=Picture ]”. Wolfgang
participants (2)
-
Felix Ingram
-
Wolfgang Schuster