Francisco Gracia
10. November 2013 16:07
This is a disclaimer to my former message about this subject.

I continued considering the solution to the problem of using *fleurons* in a document via the suggested *\leaders* command and it turned out to be a dead end for the following reasons:

    1) it acts wrongly if the page in which the *fleuron* is to appear has a lot of blank space availabe, as the following test code demonstrates:

\setuplayout[lines=30]

\def\Fleuron
{\par
\leaders\vbox to \lineheight{\midaligned{Finis\\coronat\\opus}}\vfil}    \starttext

\dorecurse{32}{Line \recurselevel\par}

\Fleuron

\stoptext

where the intended *fleuron* appears superposed several times instead of the only one desired;
You can avoid this when you limit the space for the leaders command.

\unexpanded\def\Fleuron
  {\par
   \begingroup
   \setupalign[middle]%
   \dowithnextbox
     {\scratchdimen\htdp\nextbox
      \cleaders\box\nextbox\vskip\dimexpr\scratchdimen+\lineheight\relax
      \endgroup}
     \vbox}

Wolfgang