Re: [NTG-context] does expandaparameters work
Am 13.05.10 20:04, schrieb Erik Margraf: Thanks!! Works perfectly for me. Is this a patch for syst-aux.mkiv? It is but wait till Hans add it himself, I added a entry to the bug tracker. In the meantime you can add the patch to cont-log.tex Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] does expandaparameters work
On 14-5-2010 3:25, Wolfgang Schuster wrote: Am 13.05.10 20:04, schrieb Erik Margraf: Thanks!! Works perfectly for me. Is this a patch for syst-aux.mkiv? It is but wait till Hans add it himself, I added a entry to the bug tracker. In the meantime you can add the patch to cont-log.tex unless i messed up i patched it already yesterday. - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] does expandaparameters work
Am 12.05.10 19:29, schrieb Erik Margraf: Hello, I use \expandparameters in a macro definition. -- \expandparameters\setupbackgrounds[page][background={\currentvalue,#1}] -- This works in MkII (texexec), but doesn't work in MkIV (context). If I define all layers in a single declaration, the results with MkII and MkIV are identical. Should this work? Or do I have to add something for MkIV? \unprotected\def\xdo...@e@parameters#1]% {\let\dosetnvalue\setsomevalue \let\setsomevalue\dosetevalue \let\p!doassign\p!e!doassign \let\setsomevalue\dosetevalue \xprocesscommaitem#1,],\...@relax@ \let\p!doassign\p!n!doassign \let\setsomevalue\dosetnvalue \let\xdogetparameters\xdo...@n@parameters \let\currentvalue\empty} \starttext \getparameters[my][text=Hello] \mytext \expandparameters \getparameters[my][text=\currentvalue\space World!] \mytext \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] does expandaparameters work
Thanks!! Works perfectly for me. Is this a patch for syst-aux.mkiv? 2010/5/13 Wolfgang Schuster schuster.wolfg...@googlemail.com Am 12.05.10 19:29, schrieb Erik Margraf: Hello, I use \expandparameters in a macro definition. -- \expandparameters\setupbackgrounds[page][background={\currentvalue,#1}] -- This works in MkII (texexec), but doesn't work in MkIV (context). If I define all layers in a single declaration, the results with MkII and MkIV are identical. Should this work? Or do I have to add something for MkIV? \unprotected\def\xdo...@e@parameters#1]% {\let\dosetnvalue\setsomevalue \let\setsomevalue\dosetevalue \let\p!doassign\p!e!doassign \let\setsomevalue\dosetevalue \xprocesscommaitem#1,],\...@relax@ \let\p!doassign\p!n!doassign \let\setsomevalue\dosetnvalue \let\xdogetparameters\xdo...@n@parameters \let\currentvalue\empty} \starttext \getparameters[my][text=Hello] \mytext \expandparameters \getparameters[my][text=\currentvalue\space World!] \mytext \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] does expandaparameters work
Hello, I use \expandparameters in a macro definition. -- \expandparameters\setupbackgrounds[page][background={\currentvalue,#1}] -- This works in MkII (texexec), but doesn't work in MkIV (context). If I define all layers in a single declaration, the results with MkII and MkIV are identical. Should this work? Or do I have to add something for MkIV? Thanks and kind regards Erik ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___