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

2020-04-20 Thread Fabrice Couvreur
is works similar to xtables but this > mechanism sets > >> a few values to assure \setupxtable is enough in certain cases but even > here > >> you need \definextable in certain cases. > >> > >> When you create a new instance you have to use the name

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

2020-04-20 Thread Wolfgang Schuster
in certain cases. When you create a new instance you have to use the name of the new instance as command name, e.g. \frameletter or use the \placeframed command which takes the name as argument, e.g. \placeframed[frameletter]. 2. You can't pass the name of a framed-instance to \framed (backwards

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

2020-04-20 Thread Rudolf Bahr
t; you need \definextable in certain cases. > >When you create a new instance you have to use the name of the new > instance as command name, e.g. \frameletter or use the \placeframed command > which takes the name as argument, e.g. \placeframed[frameletter]. > > 2. You ca

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

2020-04-20 Thread Wolfgang Schuster
name, e.g. \frameletter or use the \placeframed command which takes the name as argument, e.g. \placeframed[frameletter]. 2. You can't pass the name of a framed-instance to \framed (backwards compatibility, performance ...), this is only possible with \startframed. 3. ConTeXt uses different

Re: [NTG-context] line numbering within frame

2020-01-25 Thread Wolfgang Schuster
\define... the new instance inherits most of its values from a parent instance. You can overwrite individual values for your new instance but all other values are taken from the parent. begin example \setupframed[foregroundstyle=bold] \defineframed[customframe][framecolor=red] \starttext \fr