Re: [NTG-context] Optimize code to create a environnementt with Metafun ?

2016-07-28 Thread Jean-Pierre Delange
This frame seems very nice in order to use it as a summary, or a chapter's conclusion. Thank you Fabrice, Wolfgang and Dalyoung ! Le 28/07/2016 à 15:36, Wolfgang Schuster a écrit : Jeong Dal 28. Juli 2016 um 15:17 Dear Fabrice and Wolfgang, I tried the following code

Re: [NTG-context] Optimize code to create a environnementt with Metafun ?

2016-07-28 Thread Jeong Dal
Dear Wolfgang, Thank you for the correction, It works fine. I couldn’t see extra ‘m’ when I check. Thanks again. Best regards, Dalyoung ___ If your question is of interest to others as well, please add an entry to

Re: [NTG-context] Optimize code to create a environnementt with Metafun ?

2016-07-28 Thread Wolfgang Schuster
Jeong Dal 28. Juli 2016 um 15:17 Dear Fabrice and Wolfgang, I tried the following code of yours, but I got “! undefined control sequence” error. Would you please tell me where I should to correct? Thank you so much, Best regards, Dalyoung %%%

Re: [NTG-context] Optimize code to create a environnementt with Metafun ?

2016-07-28 Thread Jeong Dal
Dear Fabrice and Wolfgang, I tried the following code of yours, but I got “! undefined control sequence” error. Would you please tell me where I should to correct? Thank you so much, Best regards, Dalyoung %%% \setupbodyfont[pagella,11pt] \setupcolors[state=start]

Re: [NTG-context] Optimize code to create a environnementt with Metafun ?

2016-07-26 Thread Fabrice Couvreur
Hi Wolfgang Thanks once again ! \startMyFrame[Title=Thanks ] \input knuth \stopMyFrame \startMyFrame[Title=once again !] \input knuth \stopMyFrame Fabrice 2016-07-26 21:49 GMT+02:00 Wolfgang Schuster : > Fabrice Couvreur > 26. Juli

Re: [NTG-context] Optimize code to create a environnementt with Metafun ?

2016-07-26 Thread Wolfgang Schuster
Fabrice Couvreur 26. Juli 2016 um 20:21 Hi Hans, I think I was not very clear. Title first framed : Hans Title second framed : Hagen You can pass a title to the optional framedtext argument (use camel case to avoid using existing key names) and access

Re: [NTG-context] Optimize code to create a environnementt with Metafun ?

2016-07-26 Thread Fabrice Couvreur
Hi Hans, I think I was not very clear. Title first framed : Hans Title second framed : Hagen Thanks Fabrice \setupbodyfont[pagella,11pt] \setupcolors[state=start] \defineframedtext [MyFrame] [before={\blank}, after={\blank}, frame=off, background=MyFrame, width=\textwidth,

Re: [NTG-context] Optimize code to create a environnementt with Metafun ?

2016-07-26 Thread Hans Hagen
On 7/26/2016 2:20 PM, Fabrice Couvreur wrote: Hi Hans, So the code is "perfect"? : =) typography? sure, but more a discussion topic at the ctx meeting Seriously, where can we read the conference proceedings? such things don't end up in proceedings ... btw, it's those (and other)

Re: [NTG-context] Optimize code to create a environnementt with Metafun ?

2016-07-26 Thread Hans Hagen
On 7/26/2016 3:12 PM, Fabrice Couvreur wrote: Hi Hans, How to pass the "SomeText" parameter? with setvariables and getvariable \setupbodyfont[pagella,11pt] \setupcolors[state=start] \defineframedtext [SomeText] [before={\blank}, after={\blank}, frame=off, background=MyFrame,

Re: [NTG-context] Optimize code to create a environnementt with Metafun ?

2016-07-26 Thread Fabrice Couvreur
Hi Hans, How to pass the "SomeText" parameter ? \setupbodyfont[pagella,11pt] \setupcolors[state=start] \defineframedtext [SomeText] [before={\blank}, after={\blank}, frame=off, background=MyFrame, width=\textwidth, height=fit, style=italic] \startuseMPgraphic{MyFrame}

Re: [NTG-context] Optimize code to create a environnementt with Metafun ?

2016-07-26 Thread Fabrice Couvreur
Hi Hans, So the code is "perfect" ? : =) typography? sure, but more a discussion topic at the ctx meeting Seriously, where can we read the conference proceedings ? Thanks Fabrice 2016-07-26 12:34 GMT+02:00 Hans Hagen : > On 7/26/2016 10:18 AM, Fabrice Couvreur wrote: > >>

Re: [NTG-context] Optimize code to create a environnementt with Metafun ?

2016-07-26 Thread Hans Hagen
On 7/26/2016 10:18 AM, Fabrice Couvreur wrote: Hello, Hans and Wolfgang really helped me to create new environments with Metafun. I think Hans continuous development Metafun. So my question is simple: can we optimize this code? in what sense ... speed? not much to gain correctness? mayhe use

[NTG-context] Optimize code to create a environnementt with Metafun ?

2016-07-26 Thread Fabrice Couvreur
Hello, Hans and Wolfgang really helped me to create new environments with Metafun. I think Hans continuous development Metafun. So my question is simple: can we optimize this code ? Thanks, Fabrice \setupbodyfont[pagella,11pt] \setupcolors[state=start] \defineframedtext [MyDefinition]