From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/88767 Path: news.gmane.org!not-for-mail From: Willi Egger Newsgroups: gmane.comp.tex.context Subject: Re: Linetables Date: Fri, 26 Sep 2014 09:21:46 +0200 Message-ID: <693E8A9D-56A1-4AD8-8192-65B12FADA55A@boede.nl> References: <5421B3D5.2020401@FU-Berlin.DE> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1411716134 19467 80.91.229.3 (26 Sep 2014 07:22:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 26 Sep 2014 07:22:14 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Sep 26 09:22:07 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 1XXPqw-0000bK-Gz for gctc-ntg-context-518@m.gmane.org; Fri, 26 Sep 2014 09:22:06 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D43D110214 for ; Fri, 26 Sep 2014 09:22:03 +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 7B-Tj3eBprDv for ; Fri, 26 Sep 2014 09:22:03 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id EC62310229 for ; Fri, 26 Sep 2014 09:21:55 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BDF7D101E3 for ; Fri, 26 Sep 2014 09:21:52 +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 N27E5wMhbweY for ; Fri, 26 Sep 2014 09:21:47 +0200 (CEST) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id ACE57101E1 for ; Fri, 26 Sep 2014 09:21:47 +0200 (CEST) Original-Received: from webmail.digitpaint.nl (mars.digitpaint.nl [83.98.197.63]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s8Q7LkOE004260 for ; Fri, 26 Sep 2014 09:21:46 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by webmail.digitpaint.nl (Postfix) with ESMTP id 2EDC21BEAE for ; Fri, 26 Sep 2014 09:21:46 +0200 (CEST) Original-Received: from webmail.digitpaint.nl ([127.0.0.1]) by localhost (mail.digitpaint.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id S1HlDY8JYOlp for ; Fri, 26 Sep 2014 09:21:46 +0200 (CEST) Original-Received: from willis-air.fritz.box (a83-161-249-79.adsl.xs4all.nl [83.161.249.79]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by webmail.digitpaint.nl (Postfix) with ESMTPSA id E53301BEAD for ; Fri, 26 Sep 2014 09:21:45 +0200 (CEST) In-Reply-To: <5421B3D5.2020401@FU-Berlin.DE> X-Mailer: Apple Mail (2.1878.6) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=83.98.197.63; country=NL; latitude=52.5000; longitude=5.7500; http://maps.google.com/maps?q=52.5000,5.7500&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 06MTHlKPh - 915b214ac9e3 - 20140926 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 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:88767 Archived-At: Hi Herbert, Thanks for your answer! Indeed it works=85. Kind regards Willi On 23 sep. 2014, at 19:54, Herbert Voss wrote: > Am 23.09.2014 um 10:59 schrieb Willi Egger: > = >> I would like to use the line table environment. - In order to get starte= d I copied the code from the wiki. After it did not work with the dorecurse= commands I simplified the code to >> = >> \starttext >> \setuplinetable[n=3D6,lines=3D40] >> = >> \setuplinetable[c][1] [width=3D2cm,background=3Dcolor,backgroundcolor= =3Dred] >> \setuplinetable[c][4] [width=3D3cm,background=3Dcolor,backgroundcolor= =3Dyellow] >> \setuplinetable[c][6] [width=3D3cm,background=3Dcolor,backgroundcolor= =3Dmagenta] >> \setuplinetable[r][odd] [background=3Dcolor,backgroundcolor=3Dgray] >> \setuplinetable[r][even][background=3Dcolor,backgroundcolor=3Dgreen] > = > it is a problem with reading the parameter [c]. Use l or r instead and > it will work: > = > = > = > \starttext > \setuplinetable[n=3D6,lines=3D40] > = > \setuplinetable[l][1] [width=3D2cm,background=3Dcolor,backgroundcolor= =3Dred] > \setuplinetable[l][4] [width=3D3cm,background=3Dcolor,backgroundcolor= =3Dyellow] > \setuplinetable[l][6] [width=3D3cm,background=3Dcolor,backgroundcolor= =3Dmagenta] > \setuplinetable[r][odd] [background=3Dcolor,backgroundcolor=3Dgray] > \setuplinetable[r][even][background=3Dcolor,backgroundcolor=3Dgreen] > \showframe \showstruts > = > \setupcolors[state=3Dstart] > = > \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-co= ntext > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > _________________________________________________________________________= __________ ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________