A more automated solution may be possible via \iftrialtypesetting. I'd suggest 
that you post a minimal example with the metapost graphic on the mailing list.

Aditya

On Wed, 27 Aug 2025, jbf wrote:

> This may be ugly, but it works! The complicated Chapter setup that was clearly
> causing the problem remains unchanged (not included here. I do not know where
> I would need to adjust it). I decided to play with counters instead
> 
> Would this be an acceptable solution? A bit hacky I admit. If anyone wants to
> see the chapter setup, I am happy to provide it, in case we can resolve the
> issue at the source of the problem.
> 
> \starttext
> \startchapter[title=Chapter 1]
>   ABC\footnote{footnote 1}
> \stopchapter
> \startchapter[title={Chapter 2\footnote{footnote
> 2}\decrementcounter[footnote]}] %without the \decrementcounter command, this
> would skip to 3 instead of 2
> \incrementcounter[footnote]
>   ABC\footnote{footnote 3}
>   Another\footnote{footnote 4}
> \stopchapter
> \stoptext
> 
> Julian
> 
___________________________________________________________________________________
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