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

Hans Hagen pragma at wxs.nl
Tue Nov 29 11:23:34 CET 2016


On 11/29/2016 11:01 AM, Michael Eidenbenz wrote:
> \vbox{\placefigure[][]{}{\externalfigure[][]}}
>
> does the trick (but why?)

because \placefigure is a mlv command i.e. it is not supposed to be used 
in a box

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


-- 

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list