Hi,

I came across a (to me) surprising behaviour with captions and
\startfloatcombination ... \stopfloatcombination, in the specific case
where I set `title` for the combination but not for any sub-figure. If the
last sub-figure has a number, the main caption is justified, as I would
expect. However, if no subfigure has a number, the caption appears to be
centred instead.

Simple example demonstrating the issue (adapted from one of the wiki
examples; see
https://wiki.contextgarden.net/Document_layout_and_layers/Floating_objects):

\useMPlibrary [dum]  %% sample images
\starttext
\startplacefigure[title=blah blah blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah blah blah blah blah blah blah blah]
  \startfloatcombination [nx=2, ny=1]
    \startplacefigure [number=no]  \externalfigure \stopplacefigure
    \startplacefigure [number=no] \externalfigure \stopplacefigure
  \stopfloatcombination
\stopplacefigure
\stoptext

Using the version of ConTeXt on my system (LMTX 2025.07.27 21:43 on a
64-bits Linux system), in the example the caption is centered instead of
justified. (It is justified, as I would expect, if I delete the second
`number=no` or if I set `title` for the second subfigure.)

Am I using \startfloatcombination ... \stopfloatcombination incorrectly?

Cheers,
Florent
___________________________________________________________________________________
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