ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
Subject: Re: Oh no! Never update in the middle of a project. I	am	in trouble.
Date: Tue, 27 Jun 2006 17:45:49 -0400 (EDT)	[thread overview]
Message-ID: <Pine.WNT.4.63.0606271743001.3220@nqvgln> (raw)
In-Reply-To: <44A1A381.3000809@wxs.nl>

On Tue, 27 Jun 2006, Hans Hagen wrote:

> David Arnold wrote:
>> Hans (please CC Jacob), here is the whole environment file. My
>> student did this for me, but if you'd like to make some changes, that
>> would be ok.
>>
>> He has in another environment file:
>> 
>> [code snipped]
>>
> less tricky, cleaner, etc
>
> \defineframedtext[MyBox]
>
> \setuplabeltext[definition=Definition]
> \setuplabeltext   [example=Example]
> \setuplabeltext   [warning={\tfb !}]
> \setuplabeltext       [key=\bigstar]
> \setuplabeltext       [tip=\checkmark]
> \setuplabeltext   [summary=\bigstar\quad Summary]
>
> \definemeasure[BoxWidth][.8\textwidth]
>
> \defineblank[BoxBlank][1em plus 1em minus 1em]

Wow. Did not know about labeltexts. This goes one more step in 
separating content from presentation.

Aditya

  reply	other threads:[~2006-06-27 21:45 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-27 19:59 David Arnold
2006-06-27 20:03 ` Gerben Wierda
2006-06-27 20:09   ` Hans Hagen
2006-06-27 20:12   ` David Arnold
2006-06-27 20:09 ` Hans Hagen
2006-06-27 20:23   ` David Arnold
2006-06-27 21:30     ` Hans Hagen
2006-06-27 21:45       ` Aditya Mahajan [this message]
2006-06-27 22:18         ` Hans Hagen
2006-06-27 22:25           ` David Arnold
2006-06-27 23:26             ` David Arnold
2006-06-27 20:43   ` David Arnold
2006-06-27 20:51     ` Hans Hagen
2006-06-27 21:06       ` David Arnold
2006-06-27 22:29       ` David Arnold
2006-06-28  7:18         ` Hans Hagen
2006-06-28 15:39           ` David Arnold
2006-06-28 21:17             ` Hans Hagen

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=Pine.WNT.4.63.0606271743001.3220@nqvgln \
    --to=adityam@umich.edu \
    --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).