From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/6871 Path: main.gmane.org!not-for-mail From: Daniel Pittman Newsgroups: gmane.comp.tex.context Subject: Is it possible to use \starttabulate inside a macro? Date: Sun, 10 Feb 2002 22:24:35 +1100 Sender: owner-ntg-context@let.uu.nl Message-ID: <87zo2h1swc.fsf@inanna.rimspace.net> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035397375 14503 80.91.224.250 (23 Oct 2002 18:22:55 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:22:55 +0000 (UTC) Original-To: ntg-context@ntg.nl Xref: main.gmane.org gmane.comp.tex.context:6871 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:6871 I am trying to build a set of macros on top of ConTeXt that will typeset recipes. As part of this I want to be able to break up the instructions into a set of steps, placed in a tabulate environment. I have been trying to write the appropriate macros to do this, but, through my lack of familiarity with TeX programming, I don't seem to be able to get it to work. I have, currently: \def\step{ \ifFirstStep \FirstStepfalse \starttabulate[|p(.4\hsize)|p|] \else \NC \NR \fi } The intention is that each recipe has a title, some arbitrary amount (possibly no) leading material, then a series of steps, such that: \recipe(title) ... stuff about the recipe ... \step ... first step ... \step ... second step .... \end When I try to run the TeX file, however, I get the following output: Runaway argument? \FirstStepfalse \else \NC \NR \fi Then, add this here stuff to the mi\ETC. ! Forbidden control sequence found while scanning use of \doprocesscontent. \par \endtemplate