Re: [NTG-context] tikz fading graphic

2010-09-08 Thread Peter Rolf
Am 07.09.2010 20:09, schrieb Yury G. Kudryashov:
> Peter Rolf wrote:
> 
>> Hi,
>>
>> this is the first time I use tikz and maybe something is missing in my
>> example. I tried the second graphic from page 206 of the tikz manual.
>> Sadly I only get a opaque blue square. Example and log file attached.
>>
>> Package tikz: Error! You need to say \usetikzlibrary{patterns}.
> Read this error message.

Thanks Yury! I have missed this one and also some spaces in the copy &
paste process (which resulted in wrong parameter names). I extracted the
text with Acrobat and didn't pay enough attention to it. The example
works now.

Best wishes,  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
___


Re: [NTG-context] tikz fading graphic

2010-09-07 Thread Yury G. Kudryashov
Peter Rolf wrote:

> Hi,
> 
> this is the first time I use tikz and maybe something is missing in my
> example. I tried the second graphic from page 206 of the tikz manual.
> Sadly I only get a opaque blue square. Example and log file attached.
> 
> Package tikz: Error! You need to say \usetikzlibrary{patterns}.
Read this error message.


___
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
___


[NTG-context] tikz fading graphic

2010-09-07 Thread Peter Rolf
Hi,

this is the first time I use tikz and maybe something is missing in my
example. I tried the second graphic from page 206 of the tikz manual.
Sadly I only get a opaque blue square. Example and log file attached.

I get the same error for both marks:
[..]
(./tikz206.tuo)
systems : begin file tikz206 at line 6
Package pgfkeys: Error! I do not know the key '/tikz/innercolor' and I
am going to ignore it. Perhaps you misspelled it.
Package pgfkeys: Error! I do not know the key '/tikz/outercolor' and I
am going to ignore it. Perhaps you misspelled it.
Package tikz: Error! You need to say \usetikzlibrary{patterns}.
Package pgfkeys: Error! I do not know the key '/tikz/patterncolor' and I
am going to ignore it. Perhaps you misspelled it.
Package pgfkeys: Error! I do not know the key '/tikz/pathfading' and I
am going to ignore it. Perhaps you misspelled it.
fonts   : resetting map file list
[..]


Peter


\setupcolors[state=start]

\usemodule[tikz]
\usetikzlibrary{fadings}

\starttext

\tikzfading[name=fadeout,
  innercolor=transparent!0,
  outercolor=transparent!100]

%Now we use the fading in another picture:
\starttikzpicture
  %Background
  \fill[black!20](-1.2,-1.2)rectangle(1.2,1.2);
  \path[pattern=checkerboard,patterncolor=black!30]
(-1.2,-1.2)rectangle(1.2,1.2);
  \fill[blue,pathfading=fadeout](-1,-1)rectangle(1,1);
\stoptikzpicture

\stoptext
backends> entry finishreference in codeinjections is not set

(tikz206.tex
jobcontrol  > resuming randomizer with 0.6335642567217

ConTeXt  ver: 2010.09.03 11:05 MKIV  fmt: 2010.9.7  int: english/english

system  : cont-new loaded
(r:/tex/texmf-context/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex
(r:/tex/texmf-context/tex/context/base/cont-new.mkiv))
system  : cont-fil loaded
(r:/tex/texmf-context/tex/context/base/cont-fil.tex
loading : ConTeXt File Synonyms
)
system  : cont-sys loaded
(r:/tex/texmf-context/tex/context/user/cont-sys.tex)
system  : tikz206.top loaded
%
%   begin of optionfile
%
%   % runtime options files (command line driven)
%   \unprotect
%   % feedback and basic job control
%   % handy for special styles
%   \startluacode
%   document = document or { }
%   document.arguments={
%   }
%   document.files={
%"tikz206.tex",
%   }
%   \stopluacode
%   % process info
%   \setupsystem[inputfile=tikz206.tex]
%   \setupsystem[\c!n=1,\c!m=1]
%   % modes
%   % options (not that important)
%   \startsetups *runtime:options
%   \setupoutput[pdftex]
%   \stopsetups
%   % styles and modules
%   \startsetups *runtime:modules
%   \stopsetups
%   % done
%   \protect \endinput
%
%   end of optionfile
%
(tikz206.top)
fonts   : preloading latin modern fonts
(r:/tex/texmf-context/tex/context/base/type-def.mkiv) 
(r:/tex/texmf-context/tex/context/base/type-lua.mkiv) 
(r:/tex/texmf-context/tex/context/base/type-siz.mkiv) 
(r:/tex/texmf-context/tex/context/base/type-otf.mkiv){r:/tex/texmf/fonts/map/dvips/lm/lm-math.map}{r:/tex/texmf/fonts/map/dvips/lm/lm-rm.map}{r:/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map}
bodyfont: 12pt rm is loaded
language: language en is active
system  : module tikz loaded
(r:/tex/texmf-context/tex/context/pgf/frontendlayer/t-tikz.tex 
(r:/tex/texmf-context/tex/context/pgf/basiclayer/t-pgf.tex 
(r:/tex/texmf-context/tex/context/pgf/basiclayer/t-pgfcor.tex 
(r:/tex/texmf-context/tex/context/pgf/systemlayer/t-pgfsys.tex 
(r:/tex/texmf-context/tex/context/pgf/utilities/t-pgfrcs.tex 
(r:/tex/texmf-context/tex/context/pgf/utilities/t-pgfmod.tex) 
(r:/tex/texmf-context/tex/generic/pgf/utilities/pgfutil-common.tex) 
(r:/tex/texmf-context/tex/generic/pgf/utilities/pgfutil-context.def) 
(r:/tex/texmf-context/tex/generic/pgf/utilities/pgfrcs.code.tex)) 
(r:/tex/texmf-context/tex/generic/pgf/systemlayer/pgfsys.code.tex 
(r:/tex/texmf-context/tex/generic/pgf/utilities/pgfkeys.code.tex) 
(r:/tex/texmf-context/tex/generic/pgf/systemlayer/pgf.cfg) 
(r:/tex/texmf-context/tex/generic/pgf/systemlayer/pgfsys-pdftex.def 
(r:/tex/texmf-context/tex/generic/pgf/systemlayer/pgfsys-common-pdf.def)) 
(tikz206.pgf)) 
(r:/tex/texmf-context/tex/generic/pgf/systemlayer/pgfsyssoftpath.code.tex) 
(r:/tex/texmf-context/tex/generic/pgf/systemlayer/pgfsysprotocol.code.tex)) 
(r:/tex/texmf-context/tex/generic/pgf/basiclayer/pgfcore.code.tex 
(r:/tex/texmf-context/tex/generic/pgf/math/pgfmath.code.tex 
(r:/tex/texmf-context/tex/generic/pgf/math/pgfmathcalc.code.tex 
(r:/tex/texmf-context/tex/generic/pgf/math/pgfmathutil.code.tex) 
(r:/tex/texmf-context/tex/generic/pgf/math/pgfmathparser.code.tex) 
(r:/tex/texmf-context/tex/generic/pgf/math/pgfmathoperations.code.tex 
(r:/tex/texmf-context/tex/generic/pgf/math/pgfmathtrig.code.tex) 
(r:/tex/texmf-context/tex/generic/pgf/math/pgfmathrnd.code.tex)) 
(r:/tex/t