From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/75079 Path: news.gmane.org!not-for-mail From: =?iso-8859-2?B?UHJvY2jhemthIEx1a+G5IEluZy4gLSBQb250ZXggcy4gci4gby4=?= Newsgroups: gmane.comp.tex.context Subject: Problem with \definetabletemplate Date: Thu, 15 Mar 2012 08:36:10 +0100 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=----------pX96x4R9RF6XSdwx71jzCm X-Trace: dough.gmane.org 1331813354 16241 80.91.229.3 (15 Mar 2012 12:09:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 15 Mar 2012 12:09:14 +0000 (UTC) To: ConTeXt Original-X-From: ntg-context-bounces@ntg.nl Thu Mar 15 13:09:12 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 1S89UV-000234-Vl for gctc-ntg-context-518@m.gmane.org; Thu, 15 Mar 2012 13:09:12 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BF030101DE; Thu, 15 Mar 2012 13:09:07 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id uP87o0+cSoUJ; Thu, 15 Mar 2012 13:09:06 +0100 (CET) Original-Received: from [127.0.0.1] (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4B256101E0; Thu, 15 Mar 2012 13:09:06 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CAA11101E0 for ; Thu, 15 Mar 2012 13:09:04 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id OuaiI8uJqy4c for ; Thu, 15 Mar 2012 13:09:02 +0100 (CET) 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 B55AC101DF for ; Thu, 15 Mar 2012 13:09:02 +0100 (CET) Original-Received: from mail.pontex.cz (mail.pontex.cz [89.233.168.98]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q2FC90hG015576 for ; Thu, 15 Mar 2012 13:09:01 +0100 Original-Received: from localhost ([127.0.0.1]) by mail.pontex.cz (Kerio MailServer 6.6.2) for ntg-context@ntg.nl; Thu, 15 Mar 2012 08:36:16 +0100 User-Agent: Opera Mail/11.61 (Win32) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=89.233.168.98; country=CZ; latitude=49.7500; longitude=15.5000; http://maps.google.com/maps?q=49.7500,15.5000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0UGJM90mD - e48db8f37237 - 20120315 (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.12 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:75079 Archived-At: ------------pX96x4R9RF6XSdwx71jzCm Content-Type: text/plain; charset=iso-8859-2; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable Hello, I have problem using \definetabletemplate (http://wiki.contextgarden.net= /Command/definetabletemplate, http://www.mail-archive.com/search?l=3Dntg= -context%40ntg.nl&q=3Ddefinetabletemplate). The following code doesn't work: ---- \definetabletemplate[Test][|c|] \starttext \starttable[|c|] % This is OK \HL \NC aaa \AR \HL \stoptable \starttable[Test] % A problem (?) \HL \NC aaa \AR \HL \stoptable \stoptext ---- What am I doing wrong? Another question - is there a better way to define table template? Like \definetable[TestTab][|c|] (or \setuptable...) and later \startTest= Tab ... \stopTestTab? TIA. Best regards, Lukas -- = Ing. Luk=E1=B9 Proch=E1zka [mailto:LPr@pontex.cz] Pontex s. r. o. [mailto:pontex@pontex.cz] [http://www.pontex.cz] Bezov=E1 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038 ------------pX96x4R9RF6XSdwx71jzCm Content-Disposition: attachment; filename=t-Tab.mkiv Content-Type: application/octet-stream; name="t-Tab.mkiv" Content-Transfer-Encoding: Base64 XGRlZmluZXRhYmxldGVtcGxhdGVbVGVzdF1bfGN8XQ0KDQpcc3RhcnR0ZXh0DQog IFxzdGFydHRhYmxlW3xjfF0NCiAgICBcSEwNCiAgICBcTkMgYWFhIFxBUg0KICAg IFxITA0KICBcc3RvcHRhYmxlDQoNCiAgXHN0YXJ0dGFibGVbVGVzdF0NCiAgICBc SEwNCiAgICBcTkMgYWFhIFxBUg0KICAgIFxITA0KICBcc3RvcHRhYmxlDQpcc3Rv cHRleHQNCg== ------------pX96x4R9RF6XSdwx71jzCm Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ------------pX96x4R9RF6XSdwx71jzCm--