[NTG-context] issue with image in an xtable

Pablo Rodriguez oinos at gmx.es
Mon Apr 20 20:30:18 CEST 2015


On 04/20/2015 06:22 PM, Hans Hagen wrote:
> On 4/20/2015 5:34 PM, Pablo Rodriguez wrote:
>> [...]
>> If the image is higher than the two rows it is meant to have, the first
>> two rows get extra height.
>>
>> Is this a bug or am I missing something?
> 
> i don't know (yet) but these \mbox{} things look alien to me (we either 
> have a \strut or nothing but not some funny zero box)

Hans,

replacing this with single letters (a, b, c, d, e) gives the same
results (modified sample below).


Pablo



    \setupexternalfigures[location=default]
    \starttext
    \startxtable[option=stretch]
        \startxrow
            \startxcell First line left\stopxcell
            \startxcell a\stopxcell
            \startxcell First line right\stopxcell
        \stopxrow
        \startxrow
            \startxcell Second line left\stopxcell
            \startxcell b\stopxcell
            \startxcell Second line right\stopxcell
        \stopxrow
        \startxrow
            \startxcell Third Line left\stopxcell
            \startxcell[align=left, ny=2]
                \dontleavehmode
                \externalfigure[cow][height=20mm]
            \stopxcell
            \startxcell d\stopxcell
        \stopxrow
        \startxrow
            \startxcell Fourth line left\stopxcell
            \startxcell h\stopxcell
        \stopxrow
        \startxrow
            \startxcell Fifth line left\stopxcell
            \startxcell c\stopxcell
            \startxcell Fifth line right\stopxcell
        \stopxrow
    \stopxtable
    \stoptext


-- 
http://www.ousia.tk


More information about the ntg-context mailing list