Re: [NTG-context] t-rsteps and starttyping

2005-09-28 Thread Christopher Creutzig
Hans Hagen wrote: > Christopher Creutzig wrote: > >> >> Is there a way of having \installprogram for only for after the *last* >> run? (I don't think there could be a systemmode for the last run, but > another option is to use --final in texexec and test for: > > \startmode[*last] > ... \stopmo

Re: [NTG-context] t-rsteps and starttyping

2005-09-25 Thread Hans Hagen
Christopher Creutzig wrote: Is there a way of having \installprogram for only for after the *last* run? (I don't think there could be a systemmode for the last run, but texexec knows it has done the last run, so there might be some file.tui line doing this kind of magic.) tricky indeed, r

Re: [NTG-context] t-rsteps and starttyping

2005-09-23 Thread Christopher Creutzig
Hans Hagen wrote: > also, when collecting and flushing pieces of content, spacing is a > tricky business (watch closely to presentations made quick and you'll > notice those side effects) That is why ppower4 is such a nice alternative: It inserts just some pdf comments and otherwise leaves the t

Re: [NTG-context] t-rsteps and starttyping

2005-09-23 Thread Hans Hagen
� wrote: On Thu, 22 Sep 2005, Hans Hagen wrote: Some of the older presentation styles build the pages stepwise, they use either boxes, or buffers (i must look into it, but there is also one that plugs into the otr; in your case, collecting in a box and uncopying it is probably the best meth

Re: [NTG-context] t-rsteps and starttyping

2005-09-23 Thread Peter Münster
On Thu, 22 Sep 2005, Hans Hagen wrote: > Some of the older presentation styles build the pages stepwise, they use > either boxes, or buffers (i must look into it, but there is also one that > plugs into the otr; in your case, collecting in a box and uncopying it is > probably the best method. >

Re: [NTG-context] t-rsteps and starttyping

2005-09-23 Thread Mojca Miklavec
David Munger wrote: Hans Hagen: did you ever try texexec --mode=demo s-pre-61 using 'layers' is rather robust (no duplicate pages and such); Duplicated pages are the desired/intentional behaviour of this module (noone would object having a switch to choose between the method with JavaS

Re: [NTG-context] t-rsteps and starttyping

2005-09-22 Thread David Munger
Hans Hagen: > did you ever try > > texexec --mode=demo s-pre-61 > > using 'layers' is rather robust (no duplicate pages and such); Of course, I did. The only issue is about JavaScript, which does not work in most non-Acrobat PDF readers. This is the purpose of the RawSteps module: to avoid

Re: [NTG-context] t-rsteps and starttyping

2005-09-22 Thread Hans Hagen
David Munger wrote: Hans, The RawSteps module produces virtual slides with stepping, by rendering the step incrementally on successive pages. Thus, the \StartSteps...\StopSteps macro has to expand its argument (i.e. the content of the slide) a certain number of times, depending the number of re

Re: [NTG-context] t-rsteps and starttyping

2005-09-22 Thread David Munger
Hans, The RawSteps module produces virtual slides with stepping, by rendering the step incrementally on successive pages. Thus, the \StartSteps...\StopSteps macro has to expand its argument (i.e. the content of the slide) a certain number of times, depending the number of requested steps. Of cours

Re: [NTG-context] t-rsteps and starttyping

2005-09-22 Thread Hans Hagen
David Munger wrote: Hi Christopher, This was the right way. Thanks a lot! Still, I don't understand how the \starttyping macro gets to work if ^^M is redefined as ^^J. why exactly do you need this construct; there may be other ways to do it; Hans --

Re: [NTG-context] t-rsteps and starttyping

2005-09-22 Thread David Munger
Hi Christopher, This was the right way. Thanks a lot! Still, I don't understand how the \starttyping macro gets to work if ^^M is redefined as ^^J. I will tell Patrick to update the module on the garden. Meanwhile, you can get the updated version on my site: http://cfd.homelinux.org/tex/ David

Re: [NTG-context] t-rsteps and starttyping

2005-09-21 Thread Christopher Creutzig
David Munger wrote: > Unfortunately, the \StartLong macro is not meant only for producing > line-wise content. In the general case, it contains something else than > just \starttyping block. Please try this: \bgroup \catcode`\^^M=\active \gdef\StartLong{\begingroup\obeylines\let^^M^^J\doStart

Re: [NTG-context] t-rsteps and starttyping

2005-09-21 Thread David Munger
Thanks Taco, This solution works in that particular case. Unfortunately, the \StartLong macro is not meant only for producing line-wise content. In the general case, it contains something else than just \starttyping block. David Le Mercredi 21 septembre 2005 à 16:13 +0200, Taco Hoekwater a écri

Re: [NTG-context] t-rsteps and starttyping

2005-09-21 Thread Taco Hoekwater
Hi, \starttyping needs to be followed by a newline, but macro arguments cannot contain newlines unless \obeylines is in effect. So: \def\StartLong{\begingroup\obeylines\doStartLong} \long\def\doStartLong#1\StopLong{\scantokens{#1}\endgroup} Cheers, Taco David Munger wrote: I do need th

Re: [NTG-context] t-rsteps and starttyping

2005-09-21 Thread David Munger
Le Mercredi 21 septembre 2005 à 14:38 +0200, Christopher Creutzig a écrit : > David Munger wrote: > > \long\def\StartLong#1\StopLong{#1} > > > > \starttext > > \StartLong > > \starttyping > > hallo > > \stoptyping > > \StopLong > > \stoptext > > > > This will produce no error, but no output as we

Re: [NTG-context] t-rsteps and starttyping

2005-09-21 Thread Christopher Creutzig
David Munger wrote: > \long\def\StartLong#1\StopLong{#1} > > \starttext > \StartLong > \starttyping > hallo > \stoptyping > \StopLong > \stoptext > > This will produce no error, but no output as well. Maybe we could use > some alternate mechanism to define the \StartLong...\StopLong pair. \def\S

Re: [NTG-context] t-rsteps and starttyping

2005-09-12 Thread David Munger
Hi Peter, I am very sorry, I had completely forgotten about that issue. It boils down to the following: \long\def\StartLong#1\StopLong{#1} \starttext \StartLong \starttyping hallo \stoptyping \StopLong \stoptext This will produce no error, but no output as well. Maybe we could use some alternat

Re: [NTG-context] t-rsteps and starttyping

2005-09-12 Thread Peter Münster
On Mon, 27 Jun 2005, David Munger wrote: > I'm currently not at home. I'll be back next week and then I'll try to > figure out what happens. Hi David, have you already found something? Regards, Peter -- http://pmrb.free.fr/contact/ ___ ntg-context mai

Re: [NTG-context] t-rsteps and starttyping

2005-06-29 Thread David Munger
Hi Peter, I'm currently not at home. I'll be back next week and then I'll try to figure out what happens. Regards, David Peter Münster : > Hello, > could somebody help me with the following problem please? > > With the following test file, I get the error > "ERROR: Illegal parameter number in

Re: [NTG-context] t-rsteps and starttyping

2005-06-28 Thread Peter Münster
On Mon, 27 Jun 2005, Hans Hagen wrote: > >>could somebody help me with the following problem please? > >> > >>With the following test file, I get the error > >>"ERROR: Illegal parameter number in definition of \verbatimline." > > take a look at s-pre-60+ for an alternative Hello Hans, I've trie

Re: [NTG-context] t-rsteps and starttyping

2005-06-27 Thread Hans Hagen
Otared KAVIAN wrote: On 6/24/05, Peter Münster <[EMAIL PROTECTED]> wrote: Hello, could somebody help me with the following problem please? With the following test file, I get the error "ERROR: Illegal parameter number in definition of \verbatimline." take a look at s-pre-60+ for an alternati

Re: [NTG-context] t-rsteps and starttyping

2005-06-25 Thread Peter Münster
On Sat, 25 Jun 2005, Otared KAVIAN wrote: > \startbuffer[hallo] %% define a buffer named hallo > Hallo from buffer > \stopbuffer Hi Otared, the problem is, that for some reasons, I don't want to use buffers here... > \StartSteps[Test] %% \StartSteps needs an argument >

Re: [NTG-context] t-rsteps and starttyping

2005-06-25 Thread Otared KAVIAN
On 6/24/05, Peter Münster <[EMAIL PROTECTED]> wrote: > Hello, > could somebody help me with the following problem please? > > With the following test file, I get the error > "ERROR: Illegal parameter number in definition of \verbatimline." > > \usemodule[rsteps] > \starttext > \StartSteps > \star

[NTG-context] t-rsteps and starttyping

2005-06-24 Thread Peter Münster
Hello, could somebody help me with the following problem please? With the following test file, I get the error "ERROR: Illegal parameter number in definition of \verbatimline." \usemodule[rsteps] \starttext \StartSteps \starttyping hallo \stoptyping \NextStep hallo \StopSteps \stoptext Greetings