ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* After all groups
@ 2002-03-15 22:23 Giuseppe Bilotta
  2002-03-17 11:47 ` Hans Hagen
  0 siblings, 1 reply; 10+ messages in thread
From: Giuseppe Bilotta @ 2002-03-15 22:23 UTC (permalink / raw)


Hello,

it would be nice if ConTeXt provided and \afterallgroups command,
working like \aftergroup but delaying the token until all groups
have been closed. An even nicer feature would be being able to
mark a group level, do some grouping and then being able to delay
something until we're back to the group level.

--
Giuseppe "Oblomov" Bilotta


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: After all groups
  2002-03-15 22:23 After all groups Giuseppe Bilotta
@ 2002-03-17 11:47 ` Hans Hagen
  2002-03-18 13:59   ` Re[2]: " Giuseppe Bilotta
  0 siblings, 1 reply; 10+ messages in thread
From: Hans Hagen @ 2002-03-17 11:47 UTC (permalink / raw)
  Cc: ntg-context

At 11:23 PM 3/15/2002 +0100, Giuseppe Bilotta wrote:
>Hello,
>
>it would be nice if ConTeXt provided and \afterallgroups command,
>working like \aftergroup but delaying the token until all groups
>have been closed. An even nicer feature would be being able to
>mark a group level, do some grouping and then being able to delay
>something until we're back to the group level.

Wasn't that on your texlib wish list?

This is kind of tricky since what is a group? And, how do you know that 
some (not your own macro) introduces an additional group?

Hans

-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                                   fall-back web server: 
www.pragma-ade.nl
-------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re[2]: After all groups
  2002-03-17 11:47 ` Hans Hagen
@ 2002-03-18 13:59   ` Giuseppe Bilotta
  2002-03-18 14:41     ` Hans Hagen
  0 siblings, 1 reply; 10+ messages in thread
From: Giuseppe Bilotta @ 2002-03-18 13:59 UTC (permalink / raw)
  Cc: ntg-context

Sunday, March 17, 2002 Hans Hagen wrote:

HH> At 11:23 PM 3/15/2002 +0100, Giuseppe Bilotta wrote:
>>Hello,
>>
>>it would be nice if ConTeXt provided and \afterallgroups command,
>>working like \aftergroup but delaying the token until all groups
>>have been closed. An even nicer feature would be being able to
>>mark a group level, do some grouping and then being able to delay
>>something until we're back to the group level.

HH> Wasn't that on your texlib wish list?

HH> This is kind of tricky since what is a group? And, how do you know that 
HH> some (not your own macro) introduces an additional group?

Well, e-TeX does make some group info accessible to the macro
language, doesn't it? But of course it doesn't have some
\everyendgroup hook ...

--
Giuseppe "Oblomov" Bilotta


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re[2]: After all groups
  2002-03-18 13:59   ` Re[2]: " Giuseppe Bilotta
@ 2002-03-18 14:41     ` Hans Hagen
  2002-03-18 16:17       ` Re[3]: " Giuseppe Bilotta
  0 siblings, 1 reply; 10+ messages in thread
From: Hans Hagen @ 2002-03-18 14:41 UTC (permalink / raw)
  Cc: ntg-context

At 02:59 PM 3/18/2002 +0100, Giuseppe Bilotta wrote:

>Sunday, March 17, 2002 Hans Hagen wrote:
>
>HH> At 11:23 PM 3/15/2002 +0100, Giuseppe Bilotta wrote:
> >>Hello,
> >>
> >>it would be nice if ConTeXt provided and \afterallgroups command,
> >>working like \aftergroup but delaying the token until all groups
> >>have been closed. An even nicer feature would be being able to
> >>mark a group level, do some grouping and then being able to delay
> >>something until we're back to the group level.
>
>HH> Wasn't that on your texlib wish list?
>
>HH> This is kind of tricky since what is a group? And, how do you know that
>HH> some (not your own macro) introduces an additional group?
>
>Well, e-TeX does make some group info accessible to the macro
>language, doesn't it?

right, you can ask for the group level

>But of course it doesn't have some
>\everyendgroup hook ...

that indeed would be needed and even then ... tricky

Hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                                   fall-back web server: 
www.pragma-ade.nl
-------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re[3]: After all groups
  2002-03-18 14:41     ` Hans Hagen
@ 2002-03-18 16:17       ` Giuseppe Bilotta
  2002-03-20 12:29         ` Taco Hoekwater
  0 siblings, 1 reply; 10+ messages in thread
From: Giuseppe Bilotta @ 2002-03-18 16:17 UTC (permalink / raw)
  Cc: ntg-context

Monday, March 18, 2002 Hans Hagen wrote:

>>
>>Well, e-TeX does make some group info accessible to the macro
>>language, doesn't it?

HH> right, you can ask for the group level

>>But of course it doesn't have some
>>\everyendgroup hook ...

HH> that indeed would be needed and even then ... tricky

It wouldn't be tricky to implement at the code level: just trigger
the thing as soon as the group closes.

--
Giuseppe "Oblomov" Bilotta


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re[5]: After all groups
  2002-03-20 13:37           ` Re[5]: " Giuseppe Bilotta
@ 2002-03-20  2:40             ` Hans Hagen
  2002-03-20 21:12               ` Re[6]: " Giuseppe Bilotta
  0 siblings, 1 reply; 10+ messages in thread
From: Hans Hagen @ 2002-03-20  2:40 UTC (permalink / raw)
  Cc: ntg-context

At 02:37 PM 3/20/2002 +0100, Giuseppe Bilotta wrote:

>Wednesday, March 20, 2002 Taco Hoekwater wrote:
>
>TH> On Mon, 18 Mar 2002 17:17:30 +0100
>TH> "Giuseppe Bilotta" <bourbaki@bigfoot.com> wrote:
>
> >> HH> that indeed would be needed and even then ... tricky
> >>
> >> It wouldn't be tricky to implement at the code level: just trigger
> >> the thing as soon as the group closes.
>
>TH> Implementation is straightforward, yes. But the user interface
>TH> isn't. Every group has a type and a level attached to it, which
>TH> makes group specification in TeX syntax a bit problematic.
>
>We have \currentgrouplevel and \currentgrouptype. What do you want
>more?
>
>I'm currently having a look at the e-TeX manual. The amount of
>feedback available, in comparison to TeX, is enormous! For
>example, it's possible to recover \parindent info, which allows to
>'propagate' parshapes to multiple paragraphs. I have to get a
>deeper look at this.

i like your optimism (since much more needed info is still missing)

Hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                                   fall-back web server: 
www.pragma-ade.nl
-------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Re[3]: After all groups
  2002-03-18 16:17       ` Re[3]: " Giuseppe Bilotta
@ 2002-03-20 12:29         ` Taco Hoekwater
  2002-03-20 13:37           ` Re[5]: " Giuseppe Bilotta
  0 siblings, 1 reply; 10+ messages in thread
From: Taco Hoekwater @ 2002-03-20 12:29 UTC (permalink / raw)
  Cc: pragma, ntg-context

On Mon, 18 Mar 2002 17:17:30 +0100
"Giuseppe Bilotta" <bourbaki@bigfoot.com> wrote:

> HH> that indeed would be needed and even then ... tricky
> 
> It wouldn't be tricky to implement at the code level: just trigger
> the thing as soon as the group closes.

Implementation is straightforward, yes. But the user interface
isn't. Every group has a type and a level attached to it, which
makes group specification in TeX syntax a bit problematic.

-- 
groeten,

Taco


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re[5]: After all groups
  2002-03-20 12:29         ` Taco Hoekwater
@ 2002-03-20 13:37           ` Giuseppe Bilotta
  2002-03-20  2:40             ` Hans Hagen
  0 siblings, 1 reply; 10+ messages in thread
From: Giuseppe Bilotta @ 2002-03-20 13:37 UTC (permalink / raw)
  Cc: ntg-context

Wednesday, March 20, 2002 Taco Hoekwater wrote:

TH> On Mon, 18 Mar 2002 17:17:30 +0100
TH> "Giuseppe Bilotta" <bourbaki@bigfoot.com> wrote:

>> HH> that indeed would be needed and even then ... tricky
>> 
>> It wouldn't be tricky to implement at the code level: just trigger
>> the thing as soon as the group closes.

TH> Implementation is straightforward, yes. But the user interface
TH> isn't. Every group has a type and a level attached to it, which
TH> makes group specification in TeX syntax a bit problematic.

We have \currentgrouplevel and \currentgrouptype. What do you want
more?

I'm currently having a look at the e-TeX manual. The amount of
feedback available, in comparison to TeX, is enormous! For
example, it's possible to recover \parindent info, which allows to
'propagate' parshapes to multiple paragraphs. I have to get a
deeper look at this.

--
Giuseppe "Oblomov" Bilotta


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re[6]: After all groups
  2002-03-20  2:40             ` Hans Hagen
@ 2002-03-20 21:12               ` Giuseppe Bilotta
  2002-03-21 10:12                 ` Hans Hagen
  0 siblings, 1 reply; 10+ messages in thread
From: Giuseppe Bilotta @ 2002-03-20 21:12 UTC (permalink / raw)
  Cc: ntg-context

Wednesday, March 20, 2002 Hans Hagen wrote:

HH> i like your optimism (since much more needed info is still missing)

Like what, for example?

And: can't you discuss it with the e-TeX people just the way you
discussed similar enhancements with the pdf-TeX people?

--
Giuseppe "Oblomov" Bilotta


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re[6]: After all groups
  2002-03-20 21:12               ` Re[6]: " Giuseppe Bilotta
@ 2002-03-21 10:12                 ` Hans Hagen
  0 siblings, 0 replies; 10+ messages in thread
From: Hans Hagen @ 2002-03-21 10:12 UTC (permalink / raw)
  Cc: ntg-context

At 10:12 PM 3/20/2002 +0100, Giuseppe Bilotta wrote:

>Wednesday, March 20, 2002 Hans Hagen wrote:
>
>HH> i like your optimism (since much more needed info is still missing)
>
>Like what, for example?

more status info about for instance inserts and paragraph characteristics

>And: can't you discuss it with the e-TeX people just the way you
>discussed similar enhancements with the pdf-TeX people?

i'm not sure if etex is still being extended, but pdftex ... just wait for 
what will come.

Hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                                   fall-back web server: 
www.pragma-ade.nl
-------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2002-03-21 10:12 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-15 22:23 After all groups Giuseppe Bilotta
2002-03-17 11:47 ` Hans Hagen
2002-03-18 13:59   ` Re[2]: " Giuseppe Bilotta
2002-03-18 14:41     ` Hans Hagen
2002-03-18 16:17       ` Re[3]: " Giuseppe Bilotta
2002-03-20 12:29         ` Taco Hoekwater
2002-03-20 13:37           ` Re[5]: " Giuseppe Bilotta
2002-03-20  2:40             ` Hans Hagen
2002-03-20 21:12               ` Re[6]: " Giuseppe Bilotta
2002-03-21 10:12                 ` Hans Hagen

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).