flowchart: \comment does not work with background
Hi, The flowchart disappears when using background=mytest here: --8<---------------cut here---------------start------------->8--- \usemodule[chart] \startuniqueMPgraphic{mytest} path p ; p := unitsquare xscaled \overlaywidth yscaled \overlayheight ; fill p withcolor green ; \stopuniqueMPgraphic \defineoverlay[mytest][\uniqueMPgraphic{mytest}] \starttext \framed[background=mytest]{this works} \startFLOWchart[test] \startFLOWcell \name{test} \text{test} \connection[lr]{test} % \comment[t:0.5]{\framed{this works}} \comment[t:0.5]{\framed[background=mytest]{bla}} \stopFLOWcell \stopFLOWchart \FLOWchart[test] \stoptext --8<---------------cut here---------------end--------------->8--- How could I get the desired background in the comment please? TIA for any help, -- Peter
On 10/5/2013 1:55 AM, Peter Münster wrote:
Hi,
The flowchart disappears when using background=mytest here:
--8<---------------cut here---------------start------------->8--- \usemodule[chart] \startuniqueMPgraphic{mytest} path p ; p := unitsquare xscaled \overlaywidth yscaled \overlayheight ; fill p withcolor green ; \stopuniqueMPgraphic \defineoverlay[mytest][\uniqueMPgraphic{mytest}] \starttext \framed[background=mytest]{this works} \startFLOWchart[test] \startFLOWcell \name{test} \text{test} \connection[lr]{test} % \comment[t:0.5]{\framed{this works}} \comment[t:0.5]{\framed[background=mytest]{bla}} \stopFLOWcell \stopFLOWchart \FLOWchart[test] \stoptext --8<---------------cut here---------------end--------------->8---
How could I get the desired background in the comment please?
nested mp in mp ... never seen that .. so it needs some work (if wanted at all) btw, fill OverlayBox withcolor green ; is less code ----------------------------------------------------------------- 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 10/5/2013 2:45 PM, Peter Münster wrote:
On Sat, Oct 05 2013, Hans Hagen wrote:
nested mp in mp ... never seen that .. so it needs some work (if wanted at all)
It would be nice. I would like to make fancy comments on connections. Do you think that you can make it possible?
sure but as usual something like that takes a day or so to get it right (mp -> tex -> mp -> tex etc) I sort of have it running but those are tricky changes. Hans ----------------------------------------------------------------- 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 -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Peter Münster