ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* tikz fading graphic
@ 2010-09-07 16:32 Peter Rolf
  2010-09-07 18:09 ` Yury G. Kudryashov
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Rolf @ 2010-09-07 16:32 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 929 bytes --]

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



[-- Attachment #2: tikz206.tex --]
[-- Type: text/plain, Size: 485 bytes --]

\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

[-- Attachment #3: tikz206.log --]
[-- Type: text/plain, Size: 8564 bytes --]

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/texmf-context/tex/generic/pgf/math/pgfmathbase.code.tex))) (r:/tex/texmf-context/tex/generic/pgf/basiclayer/pgfcorepoints.code.tex) (r:/tex/texmf-context/tex/generic/pgf/basiclayer/pgfcorepathconstruct.code.tex) (r:/tex/texmf-context/tex/generic/pgf/basiclayer/pgfcorepathusage.code.tex) (r:/tex/texmf-context/tex/generic/pgf/basiclayer/pgfcorescopes.code.tex) (r:/tex/texmf-context/tex/generic/pgf/basiclayer/pgfcoregraphicstate.code.tex) (r:/tex/texmf-context/tex/generic/pgf/basiclayer/pgfcoretransformations.code.tex) (r:/tex/texmf-context/tex/generic/pgf/basiclayer/pgfcorequick.code.tex) (r:/tex/texmf-context/tex/generic/pgf/basiclayer/pgfcoreobjects.code.tex) (r:/tex/texmf-context/tex/generic/pgf/basiclayer/pgfcorepathprocessing.code.tex) (r:/tex/texmf-context/tex/generic/pgf/basiclayer/pgfcorearrows.code.tex) (r:/tex/texmf-context/tex/generic/pgf/basiclayer/pgfcoreshade.code.tex) (r:/tex/texmf-context/tex/generic/pgf/basiclayer/pgfcoreimage.code.tex) (r:/tex/texmf-context/tex/generic/pgf/basiclayer/pgfcorelayers.code.tex) (r:/tex/texmf-context/tex/generic/pgf/basiclayer/pgfcoretransparency.code.tex) (r:/tex/texmf-context/tex/generic/pgf/basiclayer/pgfcorepatterns.code.tex))) (r:/tex/texmf-context/tex/generic/pgf/modules/pgfmoduleshapes.code.tex) (r:/tex/texmf-context/tex/generic/pgf/modules/pgfmoduleplot.code.tex)) (r:/tex/texmf-context/tex/context/pgf/utilities/t-pgffor.tex (r:/tex/texmf-context/tex/context/pgf/utilities/t-pgfrcs.tex) (r:/tex/texmf-context/tex/generic/pgf/utilities/pgffor.code.tex)) (r:/tex/texmf-context/tex/generic/pgf/frontendlayer/tikz/tikz.code.tex (r:/tex/texmf-context/tex/generic/pgf/libraries/pgflibraryplothandlers.code.tex) (r:/tex/texmf-context/tex/generic/pgf/modules/pgfmodulematrix.code.tex) (r:/tex/texmf-context/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibrarytopaths.code.tex))) (r:/tex/texmf-context/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibraryfadings.code.tex (r:/tex/texmf-context/tex/generic/pgf/libraries/pgflibraryfadings.code.tex))
publications    : loading formatting style from bxml-apa
(r:/tex/texmf-context/tex/context/base/bxml-apa.mkiv)
systems         : begin file tikz206.tex 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.
backends        > using xmp file 'r:/tex/texmf-context/tex/context/base/lpdf-pdx.xml'
pages           > flushing realpage 1, userpage 1, subpage 1
systems         : end file tikz206.tex at line 22
 )<r:/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf>
mkiv lua stats : used config file          - r:/tex/texmf/web2c/texmfcnf.lua
mkiv lua stats : used cache path           - r:/tex/texmf-cache/luatex-cache/context/194af6b4b96438c4298e936fb814fccc
mkiv lua stats : input load time           - 0.016 seconds
mkiv lua stats : stored bytecode data      - 236 modules, 55 tables, 291 chunks
mkiv lua stats : loaded tex modules        - 1 requested, 1 found (*-tikz), 0 missing
mkiv lua stats : cleaned up reserved nodes - 33 nodes, 10 lists of 420
mkiv lua stats : node memory usage         - 28 hlist, 9 vlist, 44 glue, 303 attribute, 21 glue_spec, 101 attribute_list, 62 pdf_literal, 9 pdf_refxform
mkiv lua stats : node list callback tasks  - 6 unique task lists, 5 instances (re)created, 2744 calls
mkiv lua stats : used backend              - pdf (backend for directly generating pdf output)
mkiv lua stats : loaded patterns           - en::2
mkiv lua stats : callbacks                 - direct: 3033, indirect: 26206, total: 29239
mkiv lua stats : lxml preparation time     - 0.000 seconds, 0 nodes, 15 lpath calls, 0 cached calls
mkiv lua stats : result saved in file      - tikz206.pdf
mkiv lua stats : loaded fonts              - 33 files: stmary10.afm lmmono12-regular.otf lmmono8-regular.otf lmmono9-regular.otf lmroman12-bold.otf lmroman12-regular.otf lmroman7-bold.otf lmroman7-regular.otf lmroman9-bold.otf lmroman9-regular.otf lmsans12-regular.otf lmsans8-regular.otf lmsans9-regular.otf eufb10.tfm eufb7.tfm eufm10.tfm eufm7.tfm msam10.tfm msam7.tfm msbm10.tfm msbm7.tfm lmex10.tfm lmmi12.tfm lmmi7.tfm lmmi9.tfm lmmib10.tfm lmmib7.tfm lmsy10.tfm lmsy7.tfm lmsy9.tfm rm-lmr12.tfm rm-lmr7.tfm rm-lmr9.tfm
mkiv lua stats : fonts load time           - 0.234 seconds 
mkiv lua stats : luatex banner             - this is luatex, version beta-0.63.0-2010090109 (rev 3849)
mkiv lua stats : control sequences         - 35878 of 165536
mkiv lua stats : current memory usage      - 35 MB (ctx: 36 MB)
mkiv lua stats : runtime                   - 1.092 seconds, 1 processed pages, 1 shipped pages, 0.916 pages/second


[-- Attachment #4: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
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] 3+ messages in thread

* Re: tikz fading graphic
  2010-09-07 16:32 tikz fading graphic Peter Rolf
@ 2010-09-07 18:09 ` Yury G. Kudryashov
  2010-09-08  8:24   ` Peter Rolf
  0 siblings, 1 reply; 3+ messages in thread
From: Yury G. Kudryashov @ 2010-09-07 18:09 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________


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

* Re: tikz fading graphic
  2010-09-07 18:09 ` Yury G. Kudryashov
@ 2010-09-08  8:24   ` Peter Rolf
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Rolf @ 2010-09-08  8:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


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

end of thread, other threads:[~2010-09-08  8:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-07 16:32 tikz fading graphic Peter Rolf
2010-09-07 18:09 ` Yury G. Kudryashov
2010-09-08  8:24   ` Peter Rolf

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