Hi, I defined new float types for special figure/caption placement, but would like to use the general figure counter. I didn’t find a setup for that. How can I do this? pseudocode: \setupfloat[myfigure][ counter=figure, ] Hraban
Henning Hraban Ramm schrieb am 31.07.2024 um 20:43:
Hi, I defined new float types for special figure/caption placement, but would like to use the general figure counter. I didn’t find a setup for that. How can I do this?
pseudocode:
\setupfloat[myfigure][ counter=figure, ]
\useMPlibrary[dum] \definefloat[myfigure][figure] \starttext \startplacefigure[title=Figure] \externalfigure[dummy-a] \stopplacefigure \startplacemyfigure[title=Myfigure] \externalfigure[dummy-a] \stopplacemyfigure \stoptext Wolfgang
Am 31.07.24 um 20:49 schrieb Wolfgang Schuster:
Henning Hraban Ramm schrieb am 31.07.2024 um 20:43:
Hi, I defined new float types for special figure/caption placement, but would like to use the general figure counter. I didn’t find a setup for that. How can I do this?
\definefloat[myfigure][figure]
Uh, of course! Thank you, I was “standing on the hose” ;) Hraban
On 7/31/2024 8:43 PM, Henning Hraban Ramm wrote:
Hi, I defined new float types for special figure/caption placement, but would like to use the general figure counter. I didn’t find a setup for that. How can I do this?
pseudocode:
I assume you did: \definefloat[myfigure][figure] and then use \startmyfigure etc
\setupfloat[myfigure][ counter=figure, ]
Hraban ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________
-- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
participants (3)
-
Hans Hagen
-
Henning Hraban Ramm
-
Wolfgang Schuster