From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/102621 Path: news.gmane.org!.POSTED!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: xtable First row missing in document Date: Sat, 24 Nov 2018 10:59:24 +0100 Message-ID: References: <006a01d4833f$50db61c0$f2922540$@christopher-bock.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8567038952896447777==" X-Trace: blaine.gmane.org 1543053463 16484 195.159.176.226 (24 Nov 2018 09:57:43 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 24 Nov 2018 09:57:43 +0000 (UTC) User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 PostboxApp/6.1.5 To: mailing list for ConTeXt users , Christopher Bock Original-X-From: ntg-context-bounces@ntg.nl Sat Nov 24 10:57:38 2018 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gQUh0-00048u-L2 for gctc-ntg-context-518@m.gmane.org; Sat, 24 Nov 2018 10:57:38 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 8BD65A594D; Sat, 24 Nov 2018 10:59:40 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YuOjS1UnEsa9; Sat, 24 Nov 2018 10:59:39 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id CF870A5943; Sat, 24 Nov 2018 10:59:39 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 91621A5943 for ; Sat, 24 Nov 2018 10:59:38 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HHxRHRS5mN5L for ; Sat, 24 Nov 2018 10:59:38 +0100 (CET) Original-Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 1EAC6A593E for ; Sat, 24 Nov 2018 10:59:28 +0100 (CET) Original-Received: by mail-wm1-f46.google.com with SMTP id r11-v6so13734921wmb.2 for ; Sat, 24 Nov 2018 01:59:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language; bh=dPaSvrK1fHlwhsL/T+yDSP2HHEjH0mNf+WcqxSY+NLE=; b=JUsTG0m5iv2ZaU34mj9HhIpCZGlFQOro68Fix2fCMpOjNeXMHYz93sZ1CaSWUSg9YF lrvG8jxQcB1+mlDguE0LydTrT17TY2Cye3lkOP0A5YhxmAciUDKTuoGWO10c4NW0KfUC ePREdcQfsIzZOaLPwIHCMsyOeyHuvN/LZtIKIO302SEtQbtQCOvoySD+o1is9JSuYW3L HSdiFG0R41PQguLg0nw3ksJ8o4uUcDNLtXiTmLxiCEvE0E9nvTRhcR+iCoAlWTi8hxoc Sah/laE9RecriQTBbXOsKaNhPiy7aLj3rvNr81v2ydtugCCRobyqjsHR7lNgB58ubWUq BkQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=dPaSvrK1fHlwhsL/T+yDSP2HHEjH0mNf+WcqxSY+NLE=; b=Zzv7mswN7hBis5djcj2/qwG5CgKDFiFxsqsdAiQNXV8a6XnMYVKZN834gs4Jse9f/e 6n+25WOhKDMeDtXxBqQtC4TIZ/GunMwAIwwKyzYIICi/d0OcQoUkDc5z1hnlu2bt1Nnz pC2ZE1r3J0E7BNYjuVYHOURJNzGkEd5Zkl/N3fGeckbPdIHnTKh9fP9XqZ7RriEKHcrh gN4HXhdKjiQzGpS/XDya+UQCy3rO2IOoBvgusxfh3LMq8NgDCDpXQJ2zc3F/mmxYam4S Nd5K5qWOyVXFcGGea5112CY4cU6PnxFMRQwSlqSjANtBd0J2vz09VpbW+63DIVQpCXzC C5Kg== X-Gm-Message-State: AA+aEWatJuH76SXJywFN8kF2IEJ3TXoNKjVH8NWr2rAKxByRnLmuRXT9 kqm1QPTH5F414cC26xYMqHdY690k X-Google-Smtp-Source: AFSGD/UxPMaGSUVIiKQxg7G2T4/IoIZ7tTAmd1IYaDlPG2Rn/QubO6cBG2AFM38R0mwDq02XsDtZng== X-Received: by 2002:a1c:5702:: with SMTP id l2mr13947497wmb.31.1543053567598; Sat, 24 Nov 2018 01:59:27 -0800 (PST) Original-Received: from [192.168.1.12] (x4d076e8f.dyn.telefonica.de. [77.7.110.143]) by smtp.gmail.com with ESMTPSA id e190sm13654531wmf.0.2018.11.24.01.59.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 24 Nov 2018 01:59:26 -0800 (PST) In-Reply-To: <006a01d4833f$50db61c0$f2922540$@christopher-bock.de> Content-Language: en-US X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.20 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:102621 Archived-At: This is a multi-part message in MIME format. --===============8567038952896447777== Content-Type: multipart/alternative; boundary="------------811CFFC62B56588626ABCEE8" Content-Language: en-US This is a multi-part message in MIME format. --------------811CFFC62B56588626ABCEE8 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Christopher Bock schrieb am 23.11.18 um 16:14: > > Hi all, > > I think I found another bug in xtable (or placetable). > > The last table in the MWE is not showing the first row (the header row). > Remove the split setting (\startxtable[split=yes]) from the tables because the "split" keyword (\placetable[split]) from the float is enough to beak your tables across pages. What happens with \startxtable[split=yes] is that ConTeXt changes the number of lines it reserves on the current page before the break which isn’t enough to fit the first line of the table together with the caption and the header. Wolfgang --------------811CFFC62B56588626ABCEE8 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: 8bit Christopher Bock schrieb am 23.11.18 um 16:14:

Hi all,

 

I think I found another bug in xtable (or placetable).

 

The last table in the MWE is not showing the first row (the header row).


Remove the split setting (\startxtable[split=yes]) from the tables because the "split" keyword
(\placetable[split]) from the float is enough to beak your tables across pages.

What happens with \startxtable[split=yes] is that ConTeXt changes the number of lines
it reserves on the current page before the break which isn’t enough to fit the first line
of the table together with the caption and the header.

Wolfgang

--------------811CFFC62B56588626ABCEE8-- --===============8567038952896447777== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --===============8567038952896447777==--