From: Peter Rolf <indiego@gmx.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: tikz fading graphic
Date: Tue, 07 Sep 2010 18:32:46 +0200 [thread overview]
Message-ID: <4C86692E.8060402@gmx.net> (raw)
[-- 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
___________________________________________________________________________________
next reply other threads:[~2010-09-07 16:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-07 16:32 Peter Rolf [this message]
2010-09-07 18:09 ` Yury G. Kudryashov
2010-09-08 8:24 ` Peter Rolf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C86692E.8060402@gmx.net \
--to=indiego@gmx.net \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).