ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Cecil Westerhof <cldwesterhof@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Fwd:  Newlines in a table cel
Date: Mon, 4 Jul 2011 12:50:11 +0200	[thread overview]
Message-ID: <CAG-LmmAG3gooOEc-FgR+9jc47Dmj3DXD5ELHgR6BJBzGpW1Dtg@mail.gmail.com> (raw)
In-Reply-To: <CAG-LmmDLbuj4jKhF7pvqw1cc5v-FwkxzYwAeoAj4YyRx-z181w@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1297 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 2040 bytes --]

[-- Attachment #2: dummy.tex --]
[-- Type: application/x-tex, Size: 1022 bytes --]

[-- Attachment #3: dummy.pdf --]
[-- Type: application/pdf, Size: 8405 bytes --]

[-- Attachment #4: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  parent reply	other threads:[~2011-07-04 10:50 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-04  9:59 Cecil Westerhof
2011-07-04 10:03 ` Hans Hagen
     [not found]   ` <CAG-LmmDLbuj4jKhF7pvqw1cc5v-FwkxzYwAeoAj4YyRx-z181w@mail.gmail.com>
2011-07-04 10:50     ` Cecil Westerhof [this message]
2011-07-04 12:16       ` Fwd: " Wolfgang Schuster
2011-07-04 12:47         ` Cecil Westerhof
2011-07-04 12:58           ` Cecil Westerhof
2011-07-04 13:32             ` Wolfgang Schuster
2011-07-04 13:53               ` Cecil Westerhof
2011-07-04 14:04                 ` Wolfgang Schuster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAG-LmmAG3gooOEc-FgR+9jc47Dmj3DXD5ELHgR6BJBzGpW1Dtg@mail.gmail.com \
    --to=cldwesterhof@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).