> On 24 Aug 2020, at 19:59, Wolfgang Schuster <wolfgang.schuster.lists@gmail.com> wrote:
>
>>
>>
>> \setcounter[figure][5] % next figure is no.6
For this subfigure stuff, perhaps this is useful?
% setup definitions
\definecounter[subfigure][way=bytext,prefix=no]
\setupcounter[subfigure][state=start,numberconversion=a]
\setcounter[subfigure][1]
\def\setsubfigures
{\setcounter[subfigure][1]
\incrementcounter[figure]
\setupcaption[figure][state=stop,numberstopper={\convertedcounter[subfigure]}]}
\def\unsetsubfigures
{\setupcaption[figure][state=start,numberstopper=]}
%usage
\setsubfigures
\startplacefigure[title=Test figure]
\externalfigure[dummy]
\stopplacefigure
\incrementnumber[subfigure]
\startplacefigure[title=Test another figure]
\externalfigure[dummy]
\stopplacefigure
\unsetsubfigures
I could not find a safe way to increment the subfigure number automatically, unfortunately.
Best wishes,
Taco
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________