Re: [NTG-context] Problem with \stoptabulate

2023-03-21 Thread Bruce Horrocks via ntg-context
Sorry everyone, ignore me, it doesn't work. (Got my test files mixed up - aargh!) > On 21 Mar 2023, at 11:06, Bruce Horrocks via ntg-context > wrote: > > > Thanks Julian - I tried a startstop environment originally but it didn't work. > > The answer turns out to be trivial - just needed to u

Re: [NTG-context] Problem with \stoptabulate

2023-03-21 Thread Bruce Horrocks via ntg-context
Thanks Julian - I tried a startstop environment originally but it didn't work. The answer turns out to be trivial - just needed to use \long\def for \stoptabulate so the following appears to work: \def\startMyExample{\starttabulate[|r|c|l|p|]} \long\def\stopMyExample{\stoptabulate} %% long def

Re: [NTG-context] Problem with \stoptabulate

2023-03-21 Thread Hans Hagen via ntg-context
On 3/21/2023 12:34 AM, Bruce Horrocks via ntg-context wrote: I have a technical manual style document that requires a lot of examples to be included. They can easily be typeset with a table so I thought I would save myself some typing by defining macros for the various bits of a tabulate table

Re: [NTG-context] Problem with \stoptabulate

2023-03-20 Thread jbf via ntg-context
Not sure if this helps, Bruce, but there is \definestartstop Julian On 21/3/23 10:34, Bruce Horrocks via ntg-context wrote: I have a technical manual style document that requires a lot of examples to be included. They can easily be typeset with a table so I thought I would save myself some t

[NTG-context] Problem with \stoptabulate

2023-03-20 Thread Bruce Horrocks via ntg-context
I have a technical manual style document that requires a lot of examples to be included. They can easily be typeset with a table so I thought I would save myself some typing by defining macros for the various bits of a tabulate table. Thus I have: \def\startMyExample{\starttabulate[|r|c|l|p|]}