I have the same problem.


2013/2/15 Malte Harder <me@malteharder.de>
Hi list,

I've got a problem with the latest beta and pgfplots. It already
happens when the module is loaded and also with a minimal file testing
pgfplots. Output is attached below. Is this is a known problem that
has a workaround or will be fixed in the future?

Not a big problem for me, I guess I'll just downgrade to a working
version in the meantime.

Best,
Malte

ConTeXt output:

loading         > ConTeXt User Module / Pgfplots
resolvers       > modules > already loaded: 'tikz'
(/opt/context-minimals/texmf-modules/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibraryplotmarks.code.tex (/opt/context-minimals/texmf-modules/tex/generic/pgf/libraries/pgflibraryplotmarks.code.tex)) (/opt/context-minimals/texmf-modules/tex/generic/pgfplots/pgfplots.code.tex (/opt/context-minimals/texmf-modules/tex/generic/pgfplots/pgfplotscore.code.tex (/opt/context-minimals/texmf-modules/tex/generic/pgfplots/sys/pgfplotssysgeneric.code.tex
Package pgfplots notification 'compat/show suggested version=true': document has been generated with the most recent feature set (\pgfplotsset{compat=\mostrecent }).

)) (/opt/context-minimals/texmf-modules/tex/generic/pgfplots/libs/pgfplotslibrary.code.tex) (/opt/context-minimals/texmf-modules/tex/generic/pgfplots/oldpgfcompatib/pgfplotsoldpgfsupp_loader.code.tex (/opt/context-minimals/texmf-modules/tex/generic/pgf/libraries/pgflibraryfpu.code.tex)) (/opt/context-minimals/texmf-modules/tex/generic/pgfplots/util/pgfplotsutil.code.tex (/opt/context-minimals/texmf-modules/tex/generic/pgfplots/liststructure/pgfplotsliststructure.code.tex) (/opt/context-minimals/texmf-modules/tex/generic/pgfplots/liststructure/pgfplotsliststructureext.code.tex) (/opt/context-minimals/texmf-modules/tex/generic/pgfplots/liststructure/pgfplotsarray.code.tex) (/opt/context-minimals/texmf-modules/tex/generic/pgfplots/liststructure/pgfplotsmatrix.code.tex) (/opt/context-minimals/texmf-modules/tex/generic/pgfplots/numtable/pgfplotstableshared.code.tex) (/opt/context-minimals/texmf-modules/tex/generic/pgfplots/liststructure/pgfplotsdeque.code.tex) (/opt/context-minimals/texmf
 -modules/tex/generic/pgfplots/util/pgfplotsbinary.code.tex (/opt/context-minimals/texmf-modules/tex/generic/pgfplots/util/pgfplotsbinary.data.code.tex)) (/opt/context-minimals/texmf-modules/tex/generic/pgfplots/util/pgfplotsutil.verb.code.tex) (/opt/context-minimals/texmf-modules/tex/generic/pgfplots/libs/pgflibrarypgfplots.surfshading.code.tex (/opt/context-minimals/texmf-modules/tex/generic/pgfplots/sys/pgflibrarypgfplots.surfshading.pgfsys-pdftex.def))) (/opt/context-minimals/texmf-modules/tex/generic/pgfplots/util/pgfplotscolormap.code.tex (/opt/context-minimals/texmf-modules/tex/generic/pgfplots/util/pgfplotscolor.code.tex)
! Argument of \pgfutil@firstoftwo has an extra }.

system          > tex > error on line 762 in file /opt/context-minimals/texmf-modules/tex/generic/pgfplots/util/pgfplotscolormap.code.tex: Argument of  ...

752     \def\pgfplotscolormapaccess@precomputed[#1:#2][#3]#4#5{%
753             \if m\pgfplots@colormap@access
754                 \pgfplotscolormapfind@precomputed[#1:#2][#3]{#4}{#5}%
755                 \else
756                     \pgfplotscolormapgetindex{#4}{#5}%
757                     \fi
758     }%
759
760
761     \pgfutil@definecolor{mapped color}{rgb}{0,0,0}% make sure this color exists. It will be overwritten if needed.
762 >>  \pgfplotscreatecolormap{hot}{color(0cm)=(blue); color(1cm)=(yellow); color(2cm)=(orange); color(3cm)=(red)}
763
764     \def\pgfplotspointmetatransformedrange{0:1000}
765
766     % Defines the 'mapped color' on the basis of
767     % the current color map.
768     %
769     % #1: is the value which should be mapped into the color map; it
770     % is expected in the range [0,1000] (like point meta).
771     \def\pgfplotscolormapdefinemappedcolor#1{%
772             \expandafter\pgfplotscolormapaccess\expandafter[\pgfplotspointmetatransformedrange]

<inserted text>
                \par
<to be read again>
                   }
\pgfplotscolornormalizesequencenext@color ...lor }
                                                  \edef \pgfplots@loc@TMPb {...
\pgfplots@createcolormap@nextcolor ...ncenext {#2}
                                                  \let \pgfplots@createcolor...
\pgfplots@createcolormap@next@ ...r {#1}{color=#2}
                                                  \pgfplots@createcolormap@
\pgfplots@loc@TMPa ->color(0cm)=(blue)
                                      ; color(1cm)=(yellow); color(2cm)=(ora...
...
l.762 ...); color(2cm)=(orange); color(3cm)=(red)}

--
Malte Harder            me@malteharder.de
___________________________________________________________________________________
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
___________________________________________________________________________________



--
Al mondo ci sono 10 tipi di persone: quelli che conoscono il sistema
binario e quelli che non lo conoscono.