ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* 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

* Re: bug in xtables?
  2015-04-15 16:43 ` Hans Hagen
@ 2015-04-15 17:37   ` Pablo Rodriguez
  0 siblings, 0 replies; 4+ messages in thread
From: Pablo Rodriguez @ 2015-04-15 17:37 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 04/15/2015 06:43 PM, Hans Hagen wrote:
> On 4/15/2015 5:45 PM, Pablo Rodriguez wrote:
>> [...]
>> 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.
> 
> an old one then
> 
>> Many thanks for your help,
> 
> can you test some scenarios with
> 
> \unprotect
> 
> \let\tabl_x_set_hsize\relax
> 
> \protect

Many thanks for your reply, Hans.

It works fine. I’m afraid that I only have this minimal sample.

I can check it in other scenarios tomorrow at work.

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

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

On 4/15/2015 5:45 PM, Pablo Rodriguez wrote:
> 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.

an old one then

> Many thanks for your help,

can you test some scenarios with

\unprotect

\let\tabl_x_set_hsize\relax

\protect



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

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

* 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

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-05-09 18:03 bug in xtables? Pablo Rodriguez
  -- strict thread matches above, loose matches on Subject: below --
2015-04-15 15:45 Pablo Rodriguez
2015-04-15 16:43 ` Hans Hagen
2015-04-15 17:37   ` 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).