On Tue, Aug 30, 2016 at 9:25 PM, Henri Menke <henrime...@gmail.com> wrote:
> Dear list,
>
> I was trying to place float captions in the margin, which according to 
> setup-en.pdf should work with location=outermargin, but it doesn't.  The MWE 
> below reproduces this on TL 2016 and on http://live.contextgarden.net/.  
> Please fix.
>
> Cheers, Henri
>
> ---
>
> \setupfloatcaption
>   [figure]
>   [location=outermargin]
>
> \starttext
>
> \placefigure
>   [top]
>   {The famous dutch cow!}
>   {\externalfigure[cow]}
>
> \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
> ___________________________________________________________________________________


I have never noticed the setup \setupfloatcaption before, but I think
you have to add a top/middle/bottom or so to the outermargin, like



\setupfloatcaption[figure][location={outermargin,middle}]
\starttext

\placefigure
  [top]
  {The famous dutch cow!}
  {\externalfigure[cow]}
\stoptext


Another option might be to use \setupcaption (somebody could perhaps
tell the difference between \setupfloatcaption and \setupcaption?)

\setupcaption[figure][
location={outermargin,middle},
align=flushleft,
width=\marginwidth,
]

\starttext
\showframe%just to show where it ends up

\placefigure
  [top]
  {The famous dutch cow!}
  {\externalfigure[cow]}

\stoptext

/Mikael
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to