From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/5515 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: tabulate Date: Wed, 05 Sep 2001 10:58:27 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <5.1.0.14.1.20010905105600.022c6508@server-1> References: <200109050835.KAA28747@sol.cs.uni-dortmund.de> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1035396104 2355 80.91.224.250 (23 Oct 2002 18:01:44 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:01:44 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: Patrick Gundlach In-Reply-To: <200109050835.KAA28747@sol.cs.uni-dortmund.de> Xref: main.gmane.org gmane.comp.tex.context:5515 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:5515 At 10:35 AM 9/5/2001 +0200, Patrick Gundlach wrote: >I wanted to do something like this: >\def\myenv#1{\subject{#1}\starttabulate[|l|lT|]} >\def\myrow#1#2{\NC #1 \NC #2 \NC\NR} >\let\endmyenv=\stoptabulate > >so I can say > >\myenv{One} >\myrow{hello}{lineone} >\myrow{out there}{linetwo} >\myrow{and}{linethree} >\myrow{everything}{linefour} >\endmyenv > >and that would give me a table : > >hello lineone >out there linetwo >and linethree >everything linefour > >How can I accomplish this? \definetabulate [patrick] [ some template ] \let\somepatrick\startpatrick \def\startpatrick#1{\subject{#1}\somepatrick} \startpatrick .... \hisrow ... .... \stoppatrick ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com -------------------------------------------------------------------------