![](https://secure.gravatar.com/avatar/bfd3fc30cb3f16c383c3534b68c052a1.jpg?s=120&d=mm&r=g)
is it possible anything like the following ? \def\MySomeTable#1% { \startbuffer #1 \stopbuffer } \MySomeTable{ \starttable blah blah blah... \stoptable } I find it difficult... Jose
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
jimarin@bayesinf.com wrote:
is it possible anything like the following ?
\def\MySomeTable#1% { \startbuffer #1 \stopbuffer }
buffers use catcode trickery, so cannot be used in macros'; you can use \setbuffer[name]{...} with \getbuffer[name]
\MySomeTable{ \starttable blah blah blah... \stoptable }
I find it difficult...
how about: \definebuffer[Table] \starttext \startTable test \stopTable \getTable \getTable \getTable \stoptext and \definetabletemplate[Table][|||] \starttext \starttable[Table] \NC test \NC test \NC \AR \NC x \NC y \NC \AR \stoptable \stoptext
participants (2)
-
Hans Hagen
-
jimarinï¼ bayesinf.com