ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Giuseppe Bilotta <gip.bilotta@iol.it>
Cc: ntg-context@ntg.nl
Subject: Re[2]: [NTG-context] Fully object-oriented section
Date: Fri, 18 Oct 2002 20:55:54 +0200	[thread overview]
Message-ID: <829347200.20021018205554@iol.it> (raw)
In-Reply-To: <20021018204447.A857@scaprea>


Friday, October 18, 2002 Simon Pepping wrote:

SP> This is without the outer grouping. I think the outer grouping is
SP> necessary; when I use \start \stop commands I expect them to make a
SP> group.

Right indeed.

SP> Could not you do without the if statement?

SP> \def\dostartpart[#1]#2{%
SP>   \bgroup
SP>     \the\everybeforestartpart
SP>     \part[#1]{#2}%
SP>     \the\everyafterstartpart
SP> }
SP> \def\stoppart{\the\everystoppart\egroup}

I'm not sure if this works. I've had problems with some arguments
which behave differently depending on whether the argumet is not
there or is empty, so I prefer to keep on the safe side.

-- 
Giuseppe "Oblomov" Bilotta

_______________________________________________
ntg-context mailing list
ntg-context@ref.ntg.nl
http://ref.ntg.nl/mailman/listinfo/ntg-context


      reply	other threads:[~2002-10-18 18:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-17 20:28 Giuseppe Bilotta
2002-10-17 21:27 ` Giuseppe Bilotta
2002-10-18 18:44   ` Simon Pepping
2002-10-18 18:55     ` Giuseppe Bilotta [this message]

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=829347200.20021018205554@iol.it \
    --to=gip.bilotta@iol.it \
    --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).