Hi,
I have tried
\let\endmyenv=\stoptabulate
\starttext
\starttabulate[|l|]
\NC A \NC \NR
\endmyenv
\stoptext
but this gives me an error message.
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?
Viele Gr��e,
Patrick Gundlach
- I TeX, therefore I am -