Re: [NTG-context] conditional not working in \setuphead

2020-04-20 Thread Pablo Rodriguez
On 4/20/20 7:23 PM, Wolfgang Schuster wrote: > [...] > The argument of the beforesection-key is placed before ConTeXt stores > the values of \startsection which means you can do it this way. > > What you can do here is to put whatever something in a macro before you > call \startsection and access

Re: [NTG-context] conditional not working in \setuphead

2020-04-20 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 20.04.2020 um 18:55: Dear list, I have the following sample: \startbuffer[demo] first second \stopbuffer \startxmlsetups xml:initialize \xmlsetsetup{#1}{doc|section}{xml:*} \stopxmlsetups

Re: [NTG-context] animation using \startuseMPgraphic

2020-04-20 Thread Hans Hagen
On 4/20/2020 4:40 PM, Jeong Dal wrote: Of course, it runs so fast that it is meaningless to shorten the runtime. It is my old habit to check the algorithmic efficiency. We share the same habit ... unfortunately there is not much performance to gain after all these years. Of course users are

[NTG-context] conditional not working in \setuphead

2020-04-20 Thread Pablo Rodriguez
Dear list, I have the following sample: \startbuffer[demo] first second \stopbuffer \startxmlsetups xml:initialize \xmlsetsetup{#1}{doc|section}{xml:*} \stopxmlsetups \xmlregistersetup{xml:initialize} \startxmlsetups xml:doc

Re: [NTG-context] animation using \startuseMPgraphic

2020-04-20 Thread Jeong Dal
Dear Hans, Of course, it runs so fast that it is meaningless to shorten the runtime. It is my old habit to check the algorithmic efficiency. It is just my interest. Thank you for your concern. Best regards, Dalyoung

Re: [NTG-context] Passing the parameters of a frame in an environment \startMPcode ... \stopMPcode

2020-04-20 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 20.04.2020 um 11:00: Hi Wolfgang, Thank you very much ; as usual your explanations are always clear and your approach to the problem intelligent and original. I would however like to know the way in which we can use the command \frameletter except for the rounded

Re: [NTG-context] Passing the parameters of a frame in an environment \startMPcode ... \stopMPcode

2020-04-20 Thread Fabrice Couvreur
Hi Wolfgang, Thank you very much ; as usual your explanations are always clear and your approach to the problem intelligent and original. I would however like to know the way in which we can use the command \frameletter except for the rounded corners with outlinetext. For example, this doesn't

Re: [NTG-context] Passing the parameters of a frame in an environment \startMPcode ... \stopMPcode

2020-04-20 Thread Wolfgang Schuster
Rudolf Bahr schrieb am 20.04.2020 um 10:23: On Mon, Apr 20, 2020 at 09:21:41AM +0200, Wolfgang Schuster wrote: Fabrice Couvreur schrieb am 19.04.2020 um 22:55: Hi, I try to reproduce the figure as faithfully as possible. I tried for the rounded corners to put the key corner = round, but it

Re: [NTG-context] Passing the parameters of a frame in an environment \startMPcode ... \stopMPcode

2020-04-20 Thread Rudolf Bahr
On Mon, Apr 20, 2020 at 09:21:41AM +0200, Wolfgang Schuster wrote: > Fabrice Couvreur schrieb am 19.04.2020 um 22:55: > > Hi, > > I try to reproduce the figure as faithfully as possible. I tried for the > > rounded corners to put the key corner = round, but it does not work. > > 1. To create a

Re: [NTG-context] Passing the parameters of a frame in an environment \startMPcode ... \stopMPcode

2020-04-20 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 19.04.2020 um 22:55: Hi, I try to reproduce the figure as faithfully as possible. I tried for the rounded corners to put the key corner = round, but it does not work. 1. To create a new framed-instance you need \defineframe, \setupframed isn't enough to set the