textcolor not working with MPinstance
Hi, textcolor does not work any longer with MPinstance. Consider the following example from the wiki: http://wiki.contextgarden.net/Command/defineMPinstance \defineMPinstance [important] [metafun] % needs to be inherited from the global metafun instance [textcolor=red] \defineMPinstance [veryimportant] [important] [textstyle=bold] \starttext % normal black text \startMPcode draw textext("some text") ; \stopMPcode % red text \startMPcode{important} draw textext("some text") ; \stopMPcode % red bold text \startMPcode{veryimportant} draw textext("some text") ; \stopMPcode % a graphic that uses a custom instance % This does not work with the current stable version \startuseMPgraphic{veryimportant::mygraphic} draw textext("some text") ; \stopuseMPgraphic \useMPgraphic{veryimportant::mygraphic} \stoptext Thanks, Aditya
On Tue, 15 Apr 2014, Aditya Mahajan wrote:
textcolor does not work any longer with MPinstance. Consider the following example from the wiki: http://wiki.contextgarden.net/Command/defineMPinstance
Is there any update on this? This bug breaks the visualcounter module. I am including a smaller minimal example: \defineMPinstance [important] [metafun] [textcolor=red] \starttext \startMPcode{important} draw textext("Am I red?") ; \stopMPcode \stoptext Aditya
Am 21.04.2014 um 22:18 schrieb Aditya Mahajan
On Tue, 15 Apr 2014, Aditya Mahajan wrote:
textcolor does not work any longer with MPinstance. Consider the following example from the wiki: http://wiki.contextgarden.net/Command/defineMPinstance
Is there any update on this? This bug breaks the visualcounter module.
I am including a smaller minimal example:
\defineMPinstance [important] [metafun] [textcolor=red]
\starttext
\startMPcode{important} draw textext("Am I red?") ; \stopMPcode
\stoptext
It fails also with the default instance: \setupMPinstance [textcolor=red, textstyle=bold] \starttext \startMPcode draw textext("Am I red?") ; \stopMPcode \stoptext Wolfgang
On 4/21/2014 10:47 PM, Wolfgang Schuster wrote:
Am 21.04.2014 um 22:18 schrieb Aditya Mahajan
: On Tue, 15 Apr 2014, Aditya Mahajan wrote:
textcolor does not work any longer with MPinstance. Consider the following example from the wiki: http://wiki.contextgarden.net/Command/defineMPinstance
Is there any update on this? This bug breaks the visualcounter module.
I am including a smaller minimal example:
\defineMPinstance [important] [metafun] [textcolor=red]
\starttext
\startMPcode{important} draw textext("Am I red?") ; \stopMPcode
\stoptext
It fails also with the default instance:
\setupMPinstance [textcolor=red, textstyle=bold]
\starttext
\startMPcode draw textext("Am I red?") ; \stopMPcode
\stoptext
fixed ----------------------------------------------------------------- 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 -----------------------------------------------------------------
On Thu, 24 Apr 2014, Hans Hagen wrote:
On 4/21/2014 10:47 PM, Wolfgang Schuster wrote:
Am 21.04.2014 um 22:18 schrieb Aditya Mahajan
: On Tue, 15 Apr 2014, Aditya Mahajan wrote:
textcolor does not work any longer with MPinstance. Consider the following example from the wiki: http://wiki.contextgarden.net/Command/defineMPinstance
Is there any update on this? This bug breaks the visualcounter module.
I am including a smaller minimal example:
\defineMPinstance [important] [metafun] [textcolor=red]
\starttext
\startMPcode{important} draw textext("Am I red?") ; \stopMPcode
\stoptext
It fails also with the default instance:
\setupMPinstance [textcolor=red, textstyle=bold]
\starttext
\startMPcode draw textext("Am I red?") ; \stopMPcode
\stoptext
fixed
Thanks! Aditya
participants (3)
-
Aditya Mahajan
-
Hans Hagen
-
Wolfgang Schuster