[NTG-context] error with floats in xtables with defined width

Michael Eidenbenz eidenbenz at arch.ethz.ch
Tue Nov 29 11:01:49 CET 2016


\vbox{\placefigure[][]{}{\externalfigure[][]}}

does the trick (but why?)


> On 29 Nov 2016, at 09:29, Michael Eidenbenz <eidenbenz at arch.ethz.ch> wrote:
> 
> Hello, 
> 
> this M(not)WE gives me the following error:
> 
> You can't use `\prevdepth' in restricted horizontal mode
> 
> Is this a bug?
> I'm running: 2016.11.24 12:05 MKIV beta
> 
> thanks Michael
> 
> 
> \starttext
> \startxtable
>    \startxrow
>      % \startxcell
>      \startxcell[width=10cm] % this leads to an error
>        \placefigure[][]{}{\externalfigure[][]}
>      \stopxcell
>    \stopxrow
> \stopxtable
> \stoptext
> 
> 
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context at ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________



More information about the ntg-context mailing list