On 2/27/2015 1:06 AM, Alias 1 wrote:
Hello
The following code gives an error (current beta and version from texlive 2014):
\usemodule[tikz]
\usetikzlibrary[datavisualization]
how is \usetikzlibrary defined? it should load the file in unprotected mode (\between \unprotect .. \protect) as hack you can probably do \unprotected \usetikzlibrary[datavisualization]
\starttext
A
\stoptext
The log gives the following error:
tex error > error on line 682 in file /usr/local/texlive/2014/texmf-dist/tex/generic/pgf/frontendlayer/tikz/libraries/datavisualization/tikzlibrarydatavisualization.code.tex: ! Missing number, treated as zero
<to be read again> ^ l.682 {\catcode`\^^ M=\active%
672 \def\pgf@temp{#1}% 673 \ifx\pgf@temp\tikz@lib@dv@auto@attribute% 674 \tikzdatavisualizationset{\tikz@dv@axis/label/.expanded=$\noexpand\mathit{\pgfkeysvalueof{\tikz@dv@axis/attribute}}$}% 675 \else 676 \tikzdatavisualizationset{\tikz@dv@axis/label={#1}}% 677 \fi 678 }, 679 label/.default=\tikz@lib@dv@auto@attribute, 680 % 681 % Strategies 682 >> % 683 tick placement strategy/.style={\tikz@dv@axis/@compute at positions={#1}}, 684 linear steps/.style={tick placement strategy=\tikz@lib@dv@compute@at@linear}, 685 % 686 % Attribute setter 687 % 688 goto/.code={\tikz@dv@goto{\tikz@dv@axis}{#1}}, 689 goto pos/.code={\tikz@dv@goto@pos{\tikz@dv@axis}{#1}}, 690 anchor at min/.code={\tikz@lib@dv@special@at{\tikz@dv@axis}{\tikz@dv@min@anchor}}, 691 anchor at max/.code={\tikz@lib@dv@special@at{\tikz@dv@axis}{\tikz@dv@max@anchor}}, 692 %
___________________________________________________________________________________ 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 ___________________________________________________________________________________
-- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------