ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Malte Harder <me@malteharder.de>
To: ntg-context@ntg.nl
Subject: pgfplots in newest beta
Date: Fri, 15 Feb 2013 14:03:32 +0100	[thread overview]
Message-ID: <20130215130332.GA17398@el-nath.fritz.box> (raw)

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
___________________________________________________________________________________


             reply	other threads:[~2013-02-15 13:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-15 13:03 Malte Harder [this message]
2013-02-20 15:08 ` Emanuele Sacco
2013-02-20 19:10   ` Jaroslav Hajtmar
2013-02-22  7:29   ` Mojca Miklavec
2013-02-22  8:04     ` Jaroslav Hajtmar
2013-02-22 10:37       ` Emanuele Sacco

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=20130215130332.GA17398@el-nath.fritz.box \
    --to=me@malteharder.de \
    --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).