From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/93700 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: rowdistance in xtables Date: Sat, 13 Feb 2016 11:33:07 +0100 Message-ID: <56BF0663.9040002@gmail.com> References: <56BF0555.4000003@gmx.es> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8616974770695706551==" X-Trace: ger.gmane.org 1455359787 17341 80.91.229.3 (13 Feb 2016 10:36:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 13 Feb 2016 10:36:27 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Feb 13 11:36:14 2016 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 plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aUXYi-0005AT-CP for gctc-ntg-context-518@m.gmane.org; Sat, 13 Feb 2016 11:36:12 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 0514F6A68; Sat, 13 Feb 2016 11:33:28 +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 mHaca8wC-xon; Sat, 13 Feb 2016 11:33:26 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id A21176A9F; Sat, 13 Feb 2016 11:33:26 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id DC6B76A47 for ; Sat, 13 Feb 2016 11:33:25 +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 E6K_YTRl5i64 for ; Sat, 13 Feb 2016 11:33:24 +0100 (CET) Original-Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com [74.125.82.42]) (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 D6CEA6A85 for ; Sat, 13 Feb 2016 11:33:14 +0100 (CET) Original-Received: by mail-wm0-f42.google.com with SMTP id p63so49519621wmp.1 for ; Sat, 13 Feb 2016 02:33:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=SAjy3HwjWLiuUwzR6AteIgXTuTNxYb1ZwxZVYiB3P7o=; b=Iv7tt2O45IsAj/m2Pdt4vgvM3FvDaaiP0Us38artYj6iarD5sE7EDkMBAaWRmlySj+ zMJ69vp3p9AggSSWsphADDiM80ARwB7JDlzC/83OW1KSNKhC4jlqGqll9j01RDyavesR gCdtDP4ZSw+fdgQjv20fAvzavfA0EJR4i1B0R+fBtCjUat9TRIAayPLDM6yLN6yf+Jvh SI6eBkpvfP1XiB/xtxUcnS4I40Jtb034l3w4mtQsFeYv1MtGXxYHRwmmAN20UF18dBbH BERAF8exymUivh8BNYtBq1rf+5sQtIZZBRMlM6cj+eXpniBr9KNL15t6nGUF5sVuv4Ah c3pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type; bh=SAjy3HwjWLiuUwzR6AteIgXTuTNxYb1ZwxZVYiB3P7o=; b=MU+MbGdZtWKMlZAePFVExjh8jPj0v3iiLGgbcUIoMbdIdDTegx8k7yWmtiH4c47Jtb XHTmAIJYlJODW80jMobWsbW/AFWE09j/yBYTqSZC7RFRX+z+s8U5ATRswYf8Pov3j5Jd sCtKRhThmiglvVz4E+mPTpoC+Sdf7yR/K/OF7dW2OvVovSgwUYpp9h1vEAEXLUMem/Kd 4iXjlz0Dg6/1keDK4MB/brwbozYrexzTeq+nT89uiEQLitgA+EwINczTEHzhKv4hVuJD gd5vV5Bu9mofw9NRySouI+HlcYz4dYd4OvKRuu7fm8Xg8y9jZ4sey+//I++L/Z2YZ/DC tjnA== X-Gm-Message-State: AG10YOT2yinjhSmeXFdm9GIaHoX4TQXY6OYO3D9JB2xLVv3NXeUqg0XHC8hge4IinZEAFg== X-Received: by 10.28.129.194 with SMTP id c185mr2568726wmd.29.1455359594502; Sat, 13 Feb 2016 02:33:14 -0800 (PST) Original-Received: from keima.localdomain (x2f2ed47.dyn.telefonica.de. [2.242.237.71]) by smtp.gmail.com with ESMTPSA id i5sm15836592wja.23.2016.02.13.02.33.09 for (version=TLSv1/SSLv3 cipher=OTHER); Sat, 13 Feb 2016 02:33:13 -0800 (PST) User-Agent: Postbox 4.0.8 (Macintosh/20151105) In-Reply-To: <56BF0555.4000003@gmx.es> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 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:93700 Archived-At: This is a multi-part message in MIME format. --===============8616974770695706551== Content-Type: multipart/alternative; boundary="------------030702020405050304070604" This is a multi-part message in MIME format. --------------030702020405050304070604 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable > Pablo Rodriguez > 13. Februar 2016 um 11:28 > Dear list, > > I have the following xtable: > > \starttext > \startxtable[frame=3Doff] > \startxtablehead[foregroundstyle=3D\bf, topframe=3Don, > bottomframe=3Don] > \startxrow > \startxcell > one > \stopxcell > \stopxrow > \stopxtablehead > \startxtablebody[rowdistance=3D20em] > \startxrow > \startxcell > two > \stopxcell > \stopxrow > \stopxtablebody > \stopxtable > \stoptext > > Well, I suspect that rowdistance isn=E2=80=99t working as expected. > > If that helps (and I may be wrong), lines 280-283 from tabl-xtb.mkiv re= ad: > > columndistance \dimexpr\xtableparameter\c!columndistance\relax > leftmargindistance \dimexpr\xtableparameter\c!leftmargindistance\relax > rightmargindistance \dimexpr\xtableparameter\c!rightmargindistance\rela= x > rowdistance \ht\scratchbox > > Sorry, but I=E2=80=99m guess that rowdistance doesn=E2=80=99t honor set= tings.rowdistance > from tabl-xtb.lua. > > Could anyone confirm the bug or tell me what I miss? You have to use the spaceinbetween key. \starttext \startxtable[spaceinbetween=3D2em] \startxrow \startxcell One \stopxcell \stopxrow \startxrow \startxcell Two \stopxcell \stopxrow \startxrow \startxcell Three \stopxcell \stopxrow \stopxtable \stoptext Wolfgang --------------030702020405050304070604 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
13= .=20 Februar 2016 um 11:28
Dear list,

I hav= e=20 the following xtable:

\starttext
=20 \startxtable[frame=3Doff]
\startxtablehead[foregroundstyle=3D\= bf, topframe=3Don,
bottomframe=3Don]
\startxrow=20 \startxcell
one
=20 \stopxcell
\stopxrow
\stopxtablehead
=20 \startxtablebody[rowdistance=3D20em]
\startxrow
= =20 \startxcell
two
=20 \stopxcell
\stopxrow
\stopxtablebody
=20 \stopxtable
\stoptext

Well, I suspect that rowdistance=20 isn=E2=80=99t working as expected.

If that helps (and I may be wro= ng),=20 lines 280-283 from tabl-xtb.mkiv read:

columndistance =20 \dimexpr\xtableparameter\c!columndistance\relax
leftmargindistance =20 \dimexpr\xtableparameter\c!leftmargindistance\relax
rightmargindistanc= e \dimexpr\xtableparameter\c!rightmargindistance\relax
rowdistance =20 \ht\scratchbox

Sorry, but I=E2=80=99m guess that rowdistance = doesn=E2=80=99t honor settings.rowdistance
from tabl-xtb.lua.

Could anyone=20 confirm the bug or tell me what I miss?
You have to use the spaceinbetween key.

\starttext

\startxtable[spaceinbetween=3D2em]
=C2=A0=C2=A0=C2=A0 \startxrow
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 \startxcell
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 One
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 \stopxcell
=C2=A0=C2=A0=C2=A0 \stopxrow
=C2=A0=C2=A0=C2=A0 \startxrow
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 \startxcell
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 Two
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 \stopxcell
=C2=A0=C2=A0=C2=A0 \stopxrow
=C2=A0=C2=A0=C2=A0 \startxrow
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 \startxcell
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 Three
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 \stopxcell
=C2=A0=C2=A0=C2=A0 \stopxrow
\stopxtable

\stoptext

Wolfgang
--------------030702020405050304070604-- --===============8616974770695706551== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============8616974770695706551==--