Dear list,

With the following MWE I end up with big gaps between margin figures in an
itemized list. Is there a way to remove that space in the text and place
the figures in the margin one below the other the best one can?

\setuppagenumbering
  [alternative=doublesided, location=margin]

\setuplayout
  [header=0pt,
   margin=4cm,
   footerdistance=.5cm,
   topspace=1cm,
   backspace=1cm,
   cutspace=2cm,
   width=fit,
   height=\dimexpr
    \paperheight-\topspace+\footerheight+\footerdistance-4cm\relax]

% \showframe

\definefloat
  [marginfigure]
  [figure]

\setupfloat
  [marginfigure]
  [outermargindistance=-\outermargintotal,
  default={outermargin,height,high,low,none}]

\starttext

\startstaticMPfigure{square}
  draw fullsquare scaled 3cm;
\stopstaticMPfigure

\startitemize
  \placemarginfigure{}{\usestaticMPfigure[square]}
  \item bla
  \item bla
  \placemarginfigure{}{\usestaticMPfigure[square]}
  \item bla
\stopitemize

\stoptext

Thanks in advance,
Alex
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

Reply via email to