Re: [NTG-context] processing of setvariables/getvariables again

2005-10-24 Thread Thomas A. Schmitz
Taco, thanks so much! With a slight modification, your solution seems to work! I will have to test it a bit, but for the moment, it looks very good. Is the \appendtoks expensive in terms of TeX memory, cpu cycles, etc., or is it a good solution for the time being? All best, and many

Re: [NTG-context] processing of setvariables/getvariables again

2005-10-24 Thread Taco Hoekwater
Thomas A. Schmitz wrote: Is the \appendtoks expensive in terms of TeX memory, cpu cycles, etc., or is it a good solution for the time being? This solution is perfectly OK. If there was a way to pass arguments through \usemodule, that would be nicer, but if that never happens, this will

Re: [NTG-context] processing of setvariables/getvariables again

2005-10-22 Thread Taco Hoekwater
Thomas A. Schmitz wrote: Taco, I tried your suggestion, but I'm not sure I'm doing it the right way. I took the definition of \initialize... like so: \def\initializegreekfont% {\getvariable{Greek}{font}} \appendtoks \initializegreekfont \to \everystarttext % I guess I will need a

Re: [NTG-context] processing of setvariables/getvariables again

2005-10-21 Thread Taco Hoekwater
Hi Thomas, It looks like you are looking for (inside the module): \def\initializegreek {\switchtobodyfont[My\getvariable{Greek}{font}]} \appendtoks \initialize \to \everystarttext There is no other way to get arguments to/from the module. For Hans: it would be really cool if there was

Re: [NTG-context] processing of setvariables/getvariables again

2005-10-21 Thread Taco Hoekwater
Taco Hoekwater wrote: Hi Thomas, It looks like you are looking for (inside the module): \def\initializegreek {\switchtobodyfont[My\getvariable{Greek}{font}]} \appendtoks \initialize \to \everystarttext Sorry, of course this should read: \appendtoks \initializegreek \to

Re: [NTG-context] processing of setvariables/getvariables again

2005-10-21 Thread Thomas A. Schmitz
Hi Taco, thanks for your reply!! I have to catch a train now, but I'll try your suggestion tonight when I'm back. And yes, having the modulesomething variables would be great. What does \appendtoks do? Thanks, and all best Thomas On Oct 21, 2005, at 10:24 AM, Taco Hoekwater wrote: Hi

Re: [NTG-context] processing of setvariables/getvariables again

2005-10-21 Thread Taco Hoekwater
Thomas A. Schmitz wrote: Hi Taco, thanks for your reply!! I have to catch a train now, but I'll try your suggestion tonight when I'm back. And yes, having the modulesomething variables would be great. What does \appendtoks do? It appends stuff to token registers (like \everystarttext)

Re: [NTG-context] processing of setvariables/getvariables again

2005-10-21 Thread Thomas A. Schmitz
Taco, I tried your suggestion, but I'm not sure I'm doing it the right way. I took the definition of \initialize... like so: \def\initializegreekfont% {\getvariable{Greek}{font}} \appendtoks \initializegreekfont \to \everystarttext % I guess I will need a similar procedure for

[NTG-context] processing of setvariables/getvariables again

2005-10-20 Thread Thomas A. Schmitz
Hi all, excuse me for being so pig-headed, but I'm running into the same problem I had two weeks ago. Peter Rolf was incredibly helpful, but I couldnt get things working. It is more a problem of architecture and general choices, IMHO, than of actual code. I tried every single part of