From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/88754 Path: news.gmane.org!not-for-mail From: Herbert Voss Newsgroups: gmane.comp.tex.context Subject: Re: Linetables Date: Tue, 23 Sep 2014 19:54:29 +0200 Organization: Freie =?windows-1252?Q?Universit=E4t_Berlin?= Message-ID: <5421B3D5.2020401@FU-Berlin.DE> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1411494891 30823 80.91.229.3 (23 Sep 2014 17:54:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 23 Sep 2014 17:54:51 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Tue Sep 23 19:54:46 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XWUIY-0005d7-1S for gctc-ntg-context-518@m.gmane.org; Tue, 23 Sep 2014 19:54:46 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9EB74102A0 for ; Tue, 23 Sep 2014 19:54:45 +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 h-IlIFCFgUiR for ; Tue, 23 Sep 2014 19:54:45 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 9AF531022A for ; Tue, 23 Sep 2014 19:54:37 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 05FBE101EB for ; Tue, 23 Sep 2014 19:54:34 +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 EwF3DQXoPeU4 for ; Tue, 23 Sep 2014 19:54:31 +0200 (CEST) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 911D6101E1 for ; Tue, 23 Sep 2014 19:54:31 +0200 (CEST) Original-Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s8NHsULd008974 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 23 Sep 2014 19:54:31 +0200 Original-Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.82) for ntg-context@ntg.nl with esmtp (envelope-from ) id <1XWUII-000HTV-L8>; Tue, 23 Sep 2014 19:54:30 +0200 Original-Received: from p54bf9143.dip0.t-ipconnect.de ([84.191.145.67] helo=shania.localdomain.de) by inpost2.zedat.fu-berlin.de (Exim 4.82) for ntg-context@ntg.nl with esmtpsa (envelope-from ) id <1XWUII-003ZKu-FJ>; Tue, 23 Sep 2014 19:54:30 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.0 In-Reply-To: X-Originating-IP: 84.191.145.67 X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=130.133.4.66; country=DE; region=Land Berlin; city=Berlin; latitude=52.5332; longitude=13.4464; http://maps.google.com/maps?q=52.5332,13.4464&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03MSFSvgU - 0d30acd1be06 - 20140923 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 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-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:88754 Archived-At: Am 23.09.2014 um 10:59 schrieb Willi Egger: > I would like to use the line table environment. - In order to get started I copied the code from the wiki. After it did not work with the dorecurse commands I simplified the code to > > \starttext > \setuplinetable[n=6,lines=40] > > \setuplinetable[c][1] [width=2cm,background=color,backgroundcolor=red] > \setuplinetable[c][4] [width=3cm,background=color,backgroundcolor=yellow] > \setuplinetable[c][6] [width=3cm,background=color,backgroundcolor=magenta] > \setuplinetable[r][odd] [background=color,backgroundcolor=gray] > \setuplinetable[r][even][background=color,backgroundcolor=green] it is a problem with reading the parameter [c]. Use l or r instead and it will work: \starttext \setuplinetable[n=6,lines=40] \setuplinetable[l][1] [width=2cm,background=color,backgroundcolor=red] \setuplinetable[l][4] [width=3cm,background=color,backgroundcolor=yellow] \setuplinetable[l][6] [width=3cm,background=color,backgroundcolor=magenta] \setuplinetable[r][odd] [background=color,backgroundcolor=gray] \setuplinetable[r][even][background=color,backgroundcolor=green] \showframe \showstruts \setupcolors[state=start] \startlinetable \NC aaa\crlf aaa \NC bb \NC c \NC ddddd \NC eeee \NC ff \NC \NR \dorecurse{100}{\NC aaa \NC bb \NC c \NC ddddd \NC eeee \NC ff \NC \NR} \stoplinetable \stoptext Herbert ___________________________________________________________________________________ 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 ___________________________________________________________________________________