Sorry Hans. I send it to you instead of to the list. And I forgot the files. Now corrected.

---------- Forwarded message ----------
From: Cecil Westerhof <cldwesterhof@gmail.com>
Date: 2011/7/4
Subject: Re: [NTG-context] Newlines in a table cel
To: Hans Hagen <pragma@wxs.nl>


2011/7/4 Hans Hagen <pragma@wxs.nl>
On 4-7-2011 11:59, Cecil Westerhof wrote:
I have a macro to display MVC (model-view-controller) info:
    \define[3]\MVC{
      \starttabulate[|l|l|]
      \NC \Important[Model]:      \NC #1 \NC\NR
      \NC \Important[View]:       \NC #2 \NC\NR
      \NC \Important[Controller]: \NC #3 \NC\NR
      \stoptabulate
      \myblank
    }

Sometimes the info is very long. Now it is displayed in one long line that
scrolls off the screen. How can I change this. Ideally would be if I could
give in the macro call where a new line should start, but just automatically
formatted would be good enough.

[|l|lp|]

Thanks. Much better. I did not find this. Did I not look good enough?

Attached a tex and a pdf file. It shows the original and your solution, but also the preferred solution. (But hard coded, not with a macro.) Would it be possible to get the preferred solution in a macro?

--
Cecil Westerhof



--
Cecil Westerhof