On 4/20/2015 5:34 PM, Pablo Rodriguez wrote:
Dear list,

I have the following sample:

     \setupexternalfigures[location=default]
     \starttext
     \startxtable[option=stretch]
         \startxrow
             \startxcell First line left\stopxcell
             \startxcell\mbox{}\stopxcell
             \startxcell First line right\stopxcell
         \stopxrow
         \startxrow
             \startxcell Second line left\stopxcell
             \startxcell\mbox{}\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\mbox{}\stopxcell
         \stopxrow
         \startxrow
             \startxcell Fourth line left\stopxcell
             \startxcell\mbox{}\stopxcell
         \stopxrow
         \startxrow
             \startxcell Fifth line left\stopxcell
             \startxcell\mbox{}\stopxcell
             \startxcell Fifth line right\stopxcell
         \stopxrow
     \stopxtable
     \stoptext

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?

for the brave ... line 707 in tabl-xtb.lua:

                    local delta = htdp - total
                    if delta > 0 then
                        delta = delta / ny
                        for y=0,ny-1 do
                            local nxt = r + y
                            heights[nxt] = heights[nxt] + delta
                        end
                    end

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
    tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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