From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/96361 Path: news.gmane.org!.POSTED!not-for-mail From: Florian Leupold Newsgroups: gmane.comp.tex.context Subject: Re: Bug in \usetikzlibrary{datavisualization}? Date: Fri, 7 Oct 2016 14:36:38 +0200 Message-ID: <7D579C63-1699-4DED-B410-35B09CADD791@posteo.net> References: <881fb697-b19d-aed7-e4d6-80afacdc3036@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: multipart/mixed; boundary="===============4717001153118959060==" X-Trace: blaine.gmane.org 1475843845 30331 195.159.176.226 (7 Oct 2016 12:37:25 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 7 Oct 2016 12:37:25 +0000 (UTC) To: ConTeXt List Original-X-From: ntg-context-bounces@ntg.nl Fri Oct 07 14:37:20 2016 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bsUOt-0007F0-H2 for gctc-ntg-context-518@m.gmane.org; Fri, 07 Oct 2016 14:37:19 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 4DEA41A9D0; Fri, 7 Oct 2016 14:36:59 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id M9h_mcn6LvL2; Fri, 7 Oct 2016 14:36:58 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 8A0941A9D6; Fri, 7 Oct 2016 14:36:58 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 7C8111A9D4 for ; Fri, 7 Oct 2016 14:36:57 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mg0ILBOdj2yz for ; Fri, 7 Oct 2016 14:36:56 +0200 (CEST) Original-Received: from mout02.posteo.de (mout02.posteo.de [185.67.36.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 624CC1A9D0 for ; Fri, 7 Oct 2016 14:36:46 +0200 (CEST) Original-Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 9400820978 for ; Fri, 7 Oct 2016 14:36:43 +0200 (CEST) Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 3sr8Cb176wzytl for ; Fri, 7 Oct 2016 14:36:42 +0200 (CEST) X-Pgp-Agent: GPGMail In-Reply-To: <881fb697-b19d-aed7-e4d6-80afacdc3036@wxs.nl> X-Mailer: Apple Mail (2.3124) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:96361 Archived-At: --===============4717001153118959060== Content-Type: multipart/signed; boundary="Apple-Mail=_507F2202-BED6-4186-9651-CCA4DD8A392E"; protocol="application/pgp-signature"; micalg=pgp-sha512 --Apple-Mail=_507F2202-BED6-4186-9651-CCA4DD8A392E Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On 06.10.16, at 00:27, Hans Hagen wrote: >=20 > On 10/5/2016 9:51 PM, Florian Leupold wrote: >> Dear list, >>=20 >> Sorry for posting a duplicate, but I guess my previous post got lost = during the conference... >>=20 >> When one tries to load the TikZ data visualization library, the = documents does not compile anymore. The error is = =E2=80=9C.../tikzlibrarydatavisualization.code.tex: ! Missing number, = treated as zero=E2=80=9D. >>=20 >> I have also tried this using ConTeXt online, to the same end: >> http://live.contextgarden.net/cgi-bin/output.cgi?id=3DjSjLZO >>=20 >> \usemodule[tikz] >> \usetikzlibrary{datavisualization} >> \starttext >> Hello world! >> \stoptext >>=20 >> Is this a known bug or could I somehow fix this to get data = visualization to work? >=20 > \unprotect > \usetikzlibrary{datavisualization} > \protect >=20 >=20 >> Best, >> Florian >>=20 >>=20 >>=20 >> = __________________________________________________________________________= _________ >> If your question is of interest to others as well, please add an = entry to the Wiki! >>=20 >> 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 >> = __________________________________________________________________________= _________ >>=20 >=20 >=20 > -- >=20 > ----------------------------------------------------------------- > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl > ----------------------------------------------------------------- > = __________________________________________________________________________= _________ > If your question is of interest to others as well, please add an entry = to the Wiki! >=20 > 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 > = __________________________________________________________________________= _________ The \unprotect\protect changes something, but does not do the whole = trick. Please see the error messages below. ### Start: without \unprotect\protect tex error > tex error on line 682 in file = /Users/Florian/context/tex/texmf-modules/tex/generic/pgf/frontendlayer/tik= z/libraries/datavisualization/tikzlibrarydatavisualization.code.tex: ! = Missing number, treated as zero ^ l.682 {\catcode`\^^ M=3D\active% 672 padding/.style=3D{padding min=3D{-#1},padding max=3D{#1}}, 673 label/.code=3D{% 674 \def\pgf@temp{#1}% 675 \ifx\pgf@temp\tikz@lib@dv@auto@attribute% 676 = \tikzdatavisualizationset{\tikz@dv@axis/label/.expanded=3D$\noexpand\mathi= t{\pgfkeysvalueof{\tikz@dv@axis/attribute}}$}% 677 \else 678 \tikzdatavisualizationset{\tikz@dv@axis/label=3D{#1}}% 679 \fi 680 }, 681 label/.default=3D\tikz@lib@dv@auto@attribute, 682 >> % 683 % Strategies 684 % 685 tick placement strategy/.style=3D{\tikz@dv@axis/@compute at = positions=3D{#1}}, 686 linear steps/.style=3D{tick placement = strategy=3D\tikz@lib@dv@compute@at@linear}, 687 % 688 % Attribute setter 689 % 690 goto/.code=3D{\tikz@dv@goto{\tikz@dv@axis}{#1}}, 691 goto pos/.code=3D{\tikz@dv@goto@pos{\tikz@dv@axis}{#1}}, 692 anchor at = min/.code=3D{\tikz@lib@dv@special@at{\tikz@dv@axis}{\tikz@dv@min@anchor}},= ### Stop: without \unprotect\protect ### Start: with \unprotect\protect tex error > tex error on line 2410 in file = /Users/Florian/context/tex/texmf-modules/tex/generic/pgf/frontendlayer/tik= z/libraries/datavisualization/tikzlibrarydatavisualization.code.tex: ! = Undefined control sequence \tikzdvdeclarestylesheetcolorseries ...olorseries = {tikzdvcolorseries#1}{#2}{... l.2410 ...eries{vary hue}{hsb}{.4,0.9,0.8}{.213,0,0} 2400 \resetcolorseries{tikzdvcolorseries#1} 2401 \pgfdvdeclarestylesheet{#1} 2402 { 2403 default style/.style=3D{ 2404 = /utils/exec=3D\colorlet{tikz@dv@temp}[rgb]{tikzdvcolorseries#1!![##1]}, 2405 visualizer color=3Dtikz@dv@temp 2406 } 2407 } 2408 } 2409 2410 >> \tikzdvdeclarestylesheetcolorseries{vary = hue}{hsb}{.4,0.9,0.8}{.213,0,0} 2411 \tikzdvdeclarestylesheetcolorseries{shades of = blue}{hsb}{.65,1.4,1}{0,-.4,-.0} 2412 \tikzdvdeclarestylesheetcolorseries{shades of = red}{hsb}{0,1.4,1}{0,-.4,-.0} 2413 \tikzdvdeclarestylesheetcolorseries{gray = scale}{hsb}{0,0,-.34}{0,0,.34} 2414 2415 2416 2417 2418 2419 % 2420 % Basic Axes & Coordinate Systems ### Stop: with \unprotect\protect --Apple-Mail=_507F2202-BED6-4186-9651-CCA4DD8A392E Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJX95bXAAoJECjJXJRicdfxJSgQAJMRCfZKT4oBgmKRi0MTEZMe YqWjgoPa8SXytn6Jbajd8FToOemPZQOK+iG9enkJk1cmIY2Tz5NKH1TjripxinGd D5OT0Tq46KBkAWjACl50QexwWp9aiEkMJgJPp4i5XaQRcyAfsX4YCoFNJ76aZezs WdIjjsLalkWtNLkeK9CdQaT+9xqsoUJFNYC5JZs7q1kRNsK+WaNCvfmgqlc0yPYK tdm+ONEaZIgGvmADKzH61W8WCTf7GJVEmL00gLPsKmPbGZTT3LxiW6P7nrQT5R5A vyf+tElUlgW1yNEQrQLmz1VOGHwF7UvG3+xrLBCyx7Bjwczju6kY+LHHNIOxtUb+ c+2P/aPqhxwrL1enk5dWfLkCOjeigXQIKXqjV0UthRM3eyXlxqmX+vBNh0C1cjiQ E/C2QepXI/GwuBYhSegxG6Nn66SqHjD8EyFDSCzHP0sE3fvfKmSIoTVRHsaI+GcX kxstGahP/qiMi0Xs/ISsPDCRT+pHJxMKRxei/UFT+LoWFn0lN3+nfCvhPMbtBOTN FICCYfze6dxkBKryU+jznlWDUDEUDA+cSAlVp7uUg00TBDy+uLSrRMpSCF9J8Q+u rmAp1ANcHD4Cuwh0tlhX3f7xzSPMI50y9owJVBQaMmQegkOpuWitySKC3DYTo45w IQ7bb4NbCBzFgf7M66Eu =UiuG -----END PGP SIGNATURE----- --Apple-Mail=_507F2202-BED6-4186-9651-CCA4DD8A392E-- --===============4717001153118959060== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============4717001153118959060==--