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

___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to