self-answering (for the record) rightmargin / leftmargin has to be used in combination with an additional position keyword (low, middle, key), otherwise the caption is missing. I think a default position (low) would be nice in this case.
Best Michael this works: \useMPlibrary[dum] \starttext \showframe \setupcaption [figure][] \placefloat[][]{default}{\externalfigure[dummy][]} \setupcaption [figure][location={rightmargin,low}] \placefloat[][]{right}{\externalfigure[dummy][]} > On 19 Aug 2016, at 17:25, eidenbenz <eidenb...@arch.ethz.ch> wrote: > > I want to place the caption of floats in the margin. > I thought the locationparameter of setupcaption can be used to do this. > But it doesnt work. > > What am I missing? Thanks Michael > > > \useMPlibrary[dum] > > \starttext > > \showframe > > \setupcaption [figure][] > \placefloat[][]{default}{\externalfigure[dummy][]} > > \setupcaption [figure][location=inner] > \placefloat[][]{inner}{\externalfigure[dummy][]} > > \setupcaption [figure][location=outer] > \placefloat[][]{outer}{\externalfigure[dummy][]} > > \setupcaption [figure][location=innermargin] > \placefloat[][]{innermargin}{\externalfigure[dummy][]} > > \setupcaption [figure][location=outermargin] > \placefloat[][]{outermargin}{\externalfigure[dummy][]} > > \setupcaption [figure][location=leftmargin] > \placefloat[][]{leftmargin}{\externalfigure[dummy][]} > > \setupcaption [figure][location=rightmargin] > \placefloat[][]{rightmargin}{\externalfigure[dummy][]} > > \setupcaption [figure][location=lefthanging] > \placefloat[][]{lefthanging}{\externalfigure[dummy][]} > > \setupcaption [figure][location=righthanging] > \placefloat[][]{righthanging}{\externalfigure[dummy][]} > > \setupcaption [figure][location=hang] > \placefloat[][]{hang}{\externalfigure[dummy][]} > > \stoptext > ___________________________________________________________________________________ > 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://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___________________________________________________________________________________ ___________________________________________________________________________________ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________