ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Strange behaviour with tikz
@ 2008-09-10 17:44 Eric DÉTREZ
  2008-09-11  8:05 ` Mojca Miklavec
  0 siblings, 1 reply; 2+ messages in thread
From: Eric DÉTREZ @ 2008-09-10 17:44 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hello again

I don't understand a strange thing.

Patterns in tikz become black in some case.

Here is a minimal example :
***************************************
\usemodule[tikz]
\usetikzlibrary[patterns]
\starttext

blabla

\chapter {blabla}

\starttikzpicture
\draw [pattern=north west lines](0,0) rectangle +(1,2);
\stoptikzpicture

\stoptext
*************************************

Without any text before the chapter or without the chapter command I  
see the patterns.
With these commands I just see a black rectangle.

Can I get my patterns back ?

___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: Strange behaviour with tikz
  2008-09-10 17:44 Strange behaviour with tikz Eric DÉTREZ
@ 2008-09-11  8:05 ` Mojca Miklavec
  0 siblings, 0 replies; 2+ messages in thread
From: Mojca Miklavec @ 2008-09-11  8:05 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Wed, Sep 10, 2008 at 7:44 PM, Eric DÉTREZ wrote:
> Hello again
>
> I don't understand a strange thing.
>
> Patterns in tikz become black in some case.
>
> Here is a minimal example :
> ***************************************
> \usemodule[tikz]
> \usetikzlibrary[patterns]
> \starttext
>
> blabla
>
> \chapter {blabla}
>
> \starttikzpicture
> \draw [pattern=north west lines](0,0) rectangle +(1,2);
> \stoptikzpicture
>
> \stoptext
> *************************************
>
> Without any text before the chapter or without the chapter command I
> see the patterns.
> With these commands I just see a black rectangle.
>
> Can I get my patterns back ?

What version of ConTeXt and TikZ are you using?

I first tried your example with TeX Live 2008, and it looked like a
ConTeXt-related problem in TikZ. The patterns only worked on the first
page.

But then I checked with the latest version of both ConTeXt and TikZ
(http://minimals.contextgarden.net/current/modules/t-tikz/ - you can
fetch it with rsync)

rsync -av rsync://contextgarden.net/minimals/current/modules/t-tikz/
place-on-your-computer

And it worked fine.

Mojca
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2008-09-11  8:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-10 17:44 Strange behaviour with tikz Eric DÉTREZ
2008-09-11  8:05 ` Mojca Miklavec

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).