ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* new in upload
@ 2021-06-09 18:42 Hans Hagen
  2021-06-09 19:46 ` Floris van Manen
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2021-06-09 18:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users

\starttext

\enabletrackers[localanchor]

\startoverlayMPgraphic{mp:whatever-6}
     draw anchorcell (1,1)       withpen pencircle scaled 1pt withcolor 
"blue" ;
     fill anchorspan (2,2) (3,5) withpen pencircle scaled 1pt withcolor 
"yellow" ;
     draw anchorcell (2,2)       withpen pencircle scaled 1pt withcolor 
"green" ;
     draw anchorcell (3,3)       withpen pencircle scaled 1pt withcolor 
"red" ;
\stopoverlayMPgraphic

\starttabulate[synchronize=background,background=mp:whatever-6,format={|l|c|r|}]
     \NC test      \NC test      \NC test      \NC \NR
     \NC test      \NC test test \NC test      \NC \NR
     \NC test test \NC test      \NC test      \NC \NR
     \NC test      \NC test      \NC test      \NC \NR
     \NC test      \NC test      \NC test test \NC \NR
\stoptabulate

\stoptext

-- 

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: new in upload
  2021-06-09 18:42 new in upload Hans Hagen
@ 2021-06-09 19:46 ` Floris van Manen
  2021-06-10  7:16   ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Floris van Manen @ 2021-06-09 19:46 UTC (permalink / raw)
  To: ntg-context



On 09/06/2021 20:42, Hans Hagen wrote:
> 
> \startoverlayMPgraphic{mp:whatever-6}
>      draw anchorcell (1,1)       withpen pencircle scaled 1pt withcolor 
> "blue" ;
>      fill anchorspan (2,2) (3,5) withpen pencircle scaled 1pt withcolor 
> "yellow" ;
>      draw anchorcell (2,2)       withpen pencircle scaled 1pt withcolor 
> "green" ;
>      draw anchorcell (3,3)       withpen pencircle scaled 1pt withcolor 
> "red" ;
> \stopoverlayMPgraphic



The fill works with multiple cells, but the draw does not:

fill anchorspan (2,2) (3,5) withpen pencircle scaled 1pt withcolor
draw anchorspan (2,2) (3,5) withpen pencircle scaled 1pt withcolor



___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: new in upload
  2021-06-09 19:46 ` Floris van Manen
@ 2021-06-10  7:16   ` Hans Hagen
  0 siblings, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2021-06-10  7:16 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Floris van Manen

On 6/9/2021 9:46 PM, Floris van Manen wrote:
> 
> 
> On 09/06/2021 20:42, Hans Hagen wrote:
>>
>> \startoverlayMPgraphic{mp:whatever-6}
>>      draw anchorcell (1,1)       withpen pencircle scaled 1pt 
>> withcolor "blue" ;
>>      fill anchorspan (2,2) (3,5) withpen pencircle scaled 1pt 
>> withcolor "yellow" ;
>>      draw anchorcell (2,2)       withpen pencircle scaled 1pt 
>> withcolor "green" ;
>>      draw anchorcell (3,3)       withpen pencircle scaled 1pt 
>> withcolor "red" ;
>> \stopoverlayMPgraphic
> 
> 
> 
> The fill works with multiple cells, but the draw does not:
> 
> fill anchorspan (2,2) (3,5) withpen pencircle scaled 1pt withcolor
> draw anchorspan (2,2) (3,5) withpen pencircle scaled 1pt withcolor

you forgot the color

> 
> 
> ___________________________________________________________________________________ 
> 
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________ 
> 


-- 

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2021-06-10  7:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-09 18:42 new in upload Hans Hagen
2021-06-09 19:46 ` Floris van Manen
2021-06-10  7:16   ` 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).