ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* flowchart: \comment does not work with background
@ 2013-10-04 23:55 Peter Münster
  2013-10-05 10:03 ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Münster @ 2013-10-04 23:55 UTC (permalink / raw)
  To: ConTeXt users

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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: flowchart: \comment does not work with background
  2013-10-04 23:55 flowchart: \comment does not work with background Peter Münster
@ 2013-10-05 10:03 ` Hans Hagen
  2013-10-05 12:45   ` Peter Münster
  0 siblings, 1 reply; 4+ messages in thread
From: Hans Hagen @ 2013-10-05 10:03 UTC (permalink / raw)
  To: ntg-context

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
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: flowchart: \comment does not work with background
  2013-10-05 10:03 ` Hans Hagen
@ 2013-10-05 12:45   ` Peter Münster
  2013-10-05 20:59     ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Münster @ 2013-10-05 12:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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?

TIA,
-- 
           Peter
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: flowchart: \comment does not work with background
  2013-10-05 12:45   ` Peter Münster
@ 2013-10-05 20:59     ` Hans Hagen
  0 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2013-10-05 20:59 UTC (permalink / raw)
  To: ntg-context

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
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-10-05 20:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-04 23:55 flowchart: \comment does not work with background Peter Münster
2013-10-05 10:03 ` Hans Hagen
2013-10-05 12:45   ` Peter Münster
2013-10-05 20:59     ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).