ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* bug in xtables?
@ 2015-04-15 15:45 Pablo Rodriguez
  2015-04-15 16:43 ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Pablo Rodriguez @ 2015-04-15 15:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Dear list,

I have the following sample:

    \starttext
    \startxtable
        \startxrow
            \startxcell a\stopxcell
            \startxcell b \stopxcell
        \stopxrow
        \startxrow
            \startxcell c\stopxcell
            \startxcell[width=.65\textwidth] \input zapf \stopxcell
        \stopxrow
    \stopxtable
    \stoptext

Last cell is wrong with stable from TeX Live (2014.05.21 22:04), from
2015.03.25 22:13 and latest one from 2015.04.15 01:44.

I’m afraid it may be a bug.

Many thanks for your help,


Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread
* bug in xtables?
@ 2015-05-09 18:03 Pablo Rodriguez
  0 siblings, 0 replies; 4+ messages in thread
From: Pablo Rodriguez @ 2015-05-09 18:03 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Dear list,

the following sample shows a weird issue:

    \starttext
    \startbuffer[somextable]
    \startxtable[option=stretch, align=center]
        \startxrow
            \startxcell[width=.2\textwidth] a \stopxcell
            \startxcell b \stopxcell
            \startxcell c \stopxcell
            \startxcell[width=.2\textwidth] d \stopxcell
        \stopxrow
    \stopxtable
    \stopbuffer

    \startxtable[option=stretch, align=center]
        \startxrow
            \startxcell a \stopxcell
            \startxcell b \stopxcell
            \startxcell c \stopxcell
            \startxcell d \stopxcell
        \stopxrow
    \stopxtable

    This is the next paragraph.

    \getbuffer[somextable]

    This is the next paragraph.
    \stoptext

If the width is specified for some xcells (but not all), extra blank
space will be added after the xtable when got from a buffer.

Isn’t it a bug?

BTW, shouldn’t the xcells with no width specified be wider than the ones
that have [width=.2\textwidth]?

(I may be missing something, because I think the width for the xcells
with no specified width should be .3\textwidth.)

Many thanks for your help,


Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-05-09 18:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-15 15:45 bug in xtables? Pablo Rodriguez
2015-04-15 16:43 ` Hans Hagen
2015-04-15 17:37   ` Pablo Rodriguez
2015-05-09 18:03 Pablo Rodriguez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).