Picon
Favicon

Re: PGF v2.0 manual page 46 (petri net) seems to not work

Hi all,

OK, I found I have to use a couple of libraries:

\usetikzlibrary{positioning}
\usetikzlibrary{arrows}
\usetikzlibrary{petri}
\usetikzlibrary{decorations.pathmorphing}
\usetikzlibrary{fit}

and some definitions:

\pgfdeclarelayer{background}
\pgfdeclarelayer{foreground}
\pgfsetlayers{background,main,foreground}

I use PGF/Tikz with xelatex and it seems to work well.
I'm impresed with the possibilities, but the learning
curve is indeed steep.

Wilfred

--- Till Tantau <tantau <at> tcs.uni-luebeck.de> wrote:

> Try saying
> 
> \usetikzlibrary{positioning}
> 
> that might help.
> 
> Best regards,
> Till
> 
> Am 06.05.2008 um 16:18 schrieb Wilfred van Rooijen:
> > Hi all,
> >
> > I'm new to PGF/tikz so I started using the manual
> and
> > the tutorials yesterday. However, I ran into
> trouble
> > with the example of the petri net. I copied all
> the
> > input on page 46 into an input file, but
> compilation
> > results in:
> >
> > ! Package pgfkeys Error: I do not know the key
> > '/tikz/on grid' and I am going to ignore it.
> Perhaps
> > you misspelled it.
> >
> > See the pgfkeys package documentation for
> explanation.
> > Type  H <return>  for immediate help.
> > ...
> >
> > l.11    every label/.style=     {red}]
> >
> >> From the log file:
> >
> >
>
(/usr/local/texlive/2007/texmf-dist/tex/latex/pgf/systemlayer/
> 
> > pgfsys.sty
> >
>
(/usr/local/texlive/2007/texmf-dist/tex/generic/pgf/systemlayer/
> 
> > pgfsys.code.tex
> > Package: pgfsys 2008/02/07 v2.00 (rcs-revision
> 1.31)
> >
>
(/usr/local/texlive/2007/texmf-dist/tex/generic/pgf/utilities/
> 
> > pgfkeys.code.tex
> > \pgfkeys <at> pathtoks=\toks16
> > \pgfkeys <at> temptoks=\toks17
> >
> > so I think I have the correct installation.
> >
> > Any tips? I tried searching the email lists but no
> > solution.
> >
> > Thanks,
> > Wilfred
> >
> >
> >       
> >
>
____________________________________________________________________________________
> > Be a better friend, newshound, and
> > know-it-all with Yahoo! Mobile.  Try it now. 
>
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
> >
> >
>
-------------------------------------------------------------------------
> > This SF.net email is sponsored by the 2008
> JavaOne(SM) Conference
> > Don't miss this year's exciting event. There's
> still time to save  
> > $100.
> > Use priority code J8TL2D2.
> >
>
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> > _______________________________________________
> > pgf-users mailing list
> > pgf-users <at> lists.sourceforge.net
> >
>
https://lists.sourceforge.net/lists/listinfo/pgf-users
> >
> 
> --
> Prof. Dr. Till Tantau <tantau <at> tcs.uni-luebeck.de>
> http://www.tcs.uni-luebeck.de
> 
> 

      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

Gmane