From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/77040 Path: news.gmane.org!not-for-mail From: "Meer, H. van der" Newsgroups: gmane.comp.tex.context Subject: Re: xtable Date: Fri, 22 Jun 2012 10:00:40 +0000 Message-ID: References: <22CCD7B9-816E-43E2-9AA7-1021E6EDE03E@uva.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1340359247 9103 80.91.229.3 (22 Jun 2012 10:00:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 22 Jun 2012 10:00:47 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Jun 22 12:00:46 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Si0fW-0006CB-8f for gctc-ntg-context-518@m.gmane.org; Fri, 22 Jun 2012 12:00:46 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 121D2101EE; Fri, 22 Jun 2012 12:00:46 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id LGvDO4whlGVi; Fri, 22 Jun 2012 12:00:44 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 511B1101E8; Fri, 22 Jun 2012 12:00:44 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 04712101E8 for ; Fri, 22 Jun 2012 12:00:43 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 45K3um4LviPQ for ; Fri, 22 Jun 2012 12:00:42 +0200 (CEST) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id 344E9101E1 for ; Fri, 22 Jun 2012 12:00:42 +0200 (CEST) Original-Received: from HUB01.uva.nl (hub01.uva.nl [146.50.108.230]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q5MA0frY029999 for ; Fri, 22 Jun 2012 12:00:41 +0200 Original-Received: from ketelaar.uva.nl ([fe80::cc61:4c73:c438:df97]) by HUB01.uva.nl ([2002:9232:6737::9232:6737]) with mapi id 14.02.0298.004; Fri, 22 Jun 2012 12:00:41 +0200 Thread-Topic: [NTG-context] xtable Thread-Index: AQHNT7n0f9XqpZQJEkaZ1tHw7i+a+JcF6BKAgAAStAA= In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [82.95.102.36] Content-ID: <67CEA340B177994D906920B707269086@uva.nl> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=146.50.108.230; country=NL; region=07; city=Amsterdam; latitude=52.3500; longitude=4.9167; http://maps.google.com/maps?q=52.3500,4.9167&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0NHpm0FeT - 54367857068b - 20120622 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.13 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:77040 Archived-At: On 22 jun. 2012, at 10:53, Wolfgang Schuster wrote: > = > Am 21.06.2012 um 16:27 schrieb Meer, H. van der: > = >> Can one put individual horizontal and vertical lines between rows/column= s in xtable? Just like for example \HL in \starttable? > = > You can use MetaPost to draw the rules but it=92s awkward because you can= make a setup like this > = > \setuxptable[column][1][background=3D=85] > = > which is only supported by natural tables. It would be simpler when stabl= es had a counter like \currentxtablecolumn > which could be accessed to make a test like =93if \currentxtablecolumn = =3D 1 then =85 fi=94 but this isn=92t the case. I see. No hope here. = But I found some sort of solution which I communicate here. It is bit of a = kludge but does more or less what I had in mind. The following macros do th= e work in my xml=3D>xtable module: also
and so on. \def\setframeparts#1#2#3{% \doifinset{t}{#1}{#3[topframe=3D#2]}% \doifinset{b}{#1}{#3[bottomframe=3D#2]}% \doifinset{l}{#1}{#3[leftframe=3D#2]}% \doifinset{r}{#1}{#3[rightframe=3D#2]}% } ..#2 being \setupxtable or \setupframed, just as needed \doifnot{\xmlatt{#1}{frameon}}{\empty}% {#2[frame=3Doff]\setframeparts{\xmlatt{#1}{frameon}}{on}{#2}}% \doifnot{\xmlatt{#1}{frameoff}}{\empty}% {#2[frame=3Don]\setframeparts{\xmlatt{#1}{frameoff}}{off}{#2}}% .. > = >> The workings of parameter spaceinbetween on \startxtable remain a myster= y to me. Can someone enlighten me? > = > It inserts a space between each row, the amount of space is the same as \= blank[=85] would insert. > = Do I conclude correctly that the dimension of the space is fixed to what \b= lank[] does? = I experimented with various values, but did not get much out of it. Hans van der Meer ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________