ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Jaroslav Hajtmar <hajtmar@gyza.cz>
To: ntg-context@ntg.nl
Subject: Re: pgfplots in newest beta
Date: Wed, 20 Feb 2013 20:10:20 +0100	[thread overview]
Message-ID: <51251F9C.6070509@gyza.cz> (raw)
In-Reply-To: <CAGOHUrtDLHTr7cOeAEBS4t7P5uuu8R73ZqpWwV86LcnZs0T-2w@mail.gmail.com>

Hello.
I have the same problem.
Previous versions work properly...

It seems, that there is any problem with colors: See:

\pgfplots@loc@TMPa ->color(0cm)=(blue)
                                       ; color(1cm)=(yellow); 
color(2cm)=(ora...
...
l.726 ...); color(2cm)=(orange); color(3cm)=(red)}

Greetings.
Jaroslav Hajtmar

Here is my log:




C:\$~1da\SKOLA\2012-2013\Dum\mydums\vyroba_pomucek>ctx grafy-animace

C:\$~1da\SKOLA\2012-2013\Dum\mydums\vyroba_pomucek>context --autopdf 
grafy-anima
ce
Cannot execute command "[DocClose("%s")]" (error 16393)

mtx-context     | run 1: luatex 
--fmt="C:/context/tex/texmf-cache/luatex-cache/c
ontext/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en" 
--jobname="grafy
-animace" 
--lua="C:/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce
0dde776fb1556f32e/formats/luatex/cont-en.lui" --no-parse-first-line 
--c:autopdf
--c:currentrun=1 --c:fulljobname="./grafy-animace" 
--c:input="./grafy-animace" -
-c:kindofrun=1 "cont-yes.mkiv"
This is LuaTeX, Version beta-0.70.2-2013021710 (TeX Live 2012/W32TeX)
  \write18 enabled.
(C:/context/tex/texmf-context/tex/context/base/cont-yes.mkiv
job             > passes > version mismatch: ? <> 1.21

ConTeXt  ver: 2013.02.20 14:35 MKIV  fmt: 2013.2.20  int: english/english

system          > cont-new.mkiv loaded
(C:/context/tex/texmf-context/tex/context/base/cont-new.mkiv
system          > beware: some patches loaded from cont-new.mkiv
)
system          > files > jobname: grafy-animace, input: grafy-animace, 
result:
grafy-animace
fonts           > latin modern fonts are not preloaded
languages       > language en is active
(grafy-animace.tex
colors          > rgb color space is supported
colors          > cmyk color space is supported
resolvers       > modules > loaded: 'pgfplots'
(C:/context/tex/texmf-modules/tex/context/third/pgfplots/t-pgfplots.tex
loading         > ConTeXt User Module / Pgfplots
resolvers       > modules > loaded: 'tikz'
(C:/context/tex/texmf-modules/tex/context/pgf/frontendlayer/t-tikz.tex
loading         > ConTeXt User Module / tikz
(C:/context/tex/texmf-modules/tex/context/pgf/basiclayer/t-pgf.tex
loading         > ConTeXt User Module / pgf
(C:/context/tex/texmf-modules/tex/context/pgf/basiclayer/t-pgfcor.tex
loading         > ConTeXt User Module / pgfcor
(C:/context/tex/texmf-modules/tex/context/pgf/systemlayer/t-pgfsys.tex
loading         > ConTeXt User Module / pgfsys
(C:/context/tex/texmf-modules/tex/context/pgf/utilities/t-pgfrcs.tex
loading         > ConTeXt User Module / pgfrcs
(C:/context/tex/texmf-modules/tex/context/pgf/utilities/t-pgfmod.tex
loading         > ConTeXt User Module / pgfmodules
) 
(C:/context/tex/texmf-modules/tex/generic/pgf/utilities/pgfutil-common.tex) 
(C
:/context/tex/texmf-modules/tex/generic/pgf/utilities/pgfutil-context.def) 
(C:/c
ontext/tex/texmf-modules/tex/generic/pgf/utilities/pgfrcs.code.tex)) 
(C:/context
/tex/texmf-modules/tex/generic/pgf/systemlayer/pgfsys.code.tex 
(C:/context/tex/t
exmf-modules/tex/generic/pgf/utilities/pgfkeys.code.tex 
(C:/context/tex/texmf-mo
dules/tex/generic/pgf/utilities/pgfkeysfiltered.code.tex)) 
(C:/context/tex/texmf
-modules/tex/generic/pgf/systemlayer/pgf.cfg) 
(C:/context/tex/texmf-modules/tex/
generic/pgf/systemlayer/pgfsys-pdftex.def 
(C:/context/tex/texmf-modules/tex/gene
ric/pgf/systemlayer/pgfsys-common-pdf.def)) (grafy-animace.pgf)) 
(C:/context/tex
/texmf-modules/tex/generic/pgf/systemlayer/pgfsyssoftpath.code.tex) 
(C:/context/
tex/texmf-modules/tex/generic/pgf/systemlayer/pgfsysprotocol.code.tex)) 
(C:/cont
ext/tex/texmf-modules/tex/generic/pgf/basiclayer/pgfcore.code.tex 
(C:/context/te
x/texmf-modules/tex/generic/pgf/math/pgfmath.code.tex 
(C:/context/tex/texmf-modu
les/tex/generic/pgf/math/pgfmathcalc.code.tex 
(C:/context/tex/texmf-modules/tex/
generic/pgf/math/pgfmathutil.code.tex
fonts           > beware: no fonts are loaded yet, using 'lm mono' in box
) 
(C:/context/tex/texmf-modules/tex/generic/pgf/math/pgfmathparser.code.tex) 
(C:
/context/tex/texmf-modules/tex/generic/pgf/math/pgfmathfunctions.code.tex (C:/co
ntext/tex/texmf-modules/tex/generic/pgf/math/pgfmathfunctions.basic.code.tex) 
(C
:/context/tex/texmf-modules/tex/generic/pgf/math/pgfmathfunctions.trigonometric.
code.tex) 
(C:/context/tex/texmf-modules/tex/generic/pgf/math/pgfmathfunctions.ra
ndom.code.tex) 
(C:/context/tex/texmf-modules/tex/generic/pgf/math/pgfmathfunctio
ns.comparison.code.tex) 
(C:/context/tex/texmf-modules/tex/generic/pgf/math/pgfma
thfunctions.base.code.tex) 
(C:/context/tex/texmf-modules/tex/generic/pgf/math/pg
fmathfunctions.round.code.tex) 
(C:/context/tex/texmf-modules/tex/generic/pgf/mat
h/pgfmathfunctions.misc.code.tex) 
(C:/context/tex/texmf-modules/tex/generic/pgf/
math/pgfmathfunctions.integerarithmetics.code.tex))) 
(C:/context/tex/texmf-modul
es/tex/generic/pgf/math/pgfmathfloat.code.tex)) 
(C:/context/tex/texmf-modules/te
x/generic/pgf/basiclayer/pgfcorepoints.code.tex) 
(C:/context/tex/texmf-modules/t
ex/generic/pgf/basiclayer/pgfcorepathconstruct.code.tex) 
(C:/context/tex/texmf-m
odules/tex/generic/pgf/basiclayer/pgfcorepathusage.code.tex) 
(C:/context/tex/tex
mf-modules/tex/generic/pgf/basiclayer/pgfcorescopes.code.tex) 
(C:/context/tex/te
xmf-modules/tex/generic/pgf/basiclayer/pgfcoregraphicstate.code.tex) 
(C:/context
/tex/texmf-modules/tex/generic/pgf/basiclayer/pgfcoretransformations.code.tex) 
(
C:/context/tex/texmf-modules/tex/generic/pgf/basiclayer/pgfcorequick.code.tex) 
(
C:/context/tex/texmf-modules/tex/generic/pgf/basiclayer/pgfcoreobjects.code.tex)
  (C:/context/tex/texmf-modules/tex/generic/pgf/basiclayer/pgfcorepathprocessing.
code.tex) 
(C:/context/tex/texmf-modules/tex/generic/pgf/basiclayer/pgfcorearrows
.code.tex) 
(C:/context/tex/texmf-modules/tex/generic/pgf/basiclayer/pgfcoreshade
.code.tex) 
(C:/context/tex/texmf-modules/tex/generic/pgf/basiclayer/pgfcoreimage
.code.tex 
(C:/context/tex/texmf-modules/tex/generic/pgf/basiclayer/pgfcoreextern
al.code.tex)) 
(C:/context/tex/texmf-modules/tex/generic/pgf/basiclayer/pgfcorela
yers.code.tex) 
(C:/context/tex/texmf-modules/tex/generic/pgf/basiclayer/pgfcoret
ransparency.code.tex) 
(C:/context/tex/texmf-modules/tex/generic/pgf/basiclayer/p
gfcorepatterns.code.tex))) 
(C:/context/tex/texmf-modules/tex/generic/pgf/modules
/pgfmoduleshapes.code.tex) 
(C:/context/tex/texmf-modules/tex/generic/pgf/modules
/pgfmoduleplot.code.tex)) 
(C:/context/tex/texmf-modules/tex/context/pgf/utilitie
s/t-pgffor.tex
loading         > ConTeXt User Module / pgffor
(C:/context/tex/texmf-modules/tex/context/pgf/utilities/t-pgfrcs.tex
loading         > ConTeXt User Module / pgfrcs
) (C:/context/tex/texmf-modules/tex/context/pgf/utilities/t-pgfkey.tex
loading         > ConTeXt User Module / pgfkey
(C:/context/tex/texmf-modules/tex/generic/pgf/utilities/pgfkeys.code.tex)) 
(C:/c
ontext/tex/texmf-modules/tex/generic/pgf/utilities/pgffor.code.tex 
(C:/context/t
ex/texmf-modules/tex/generic/pgf/math/pgfmath.code.tex))) 
(C:/context/tex/texmf-
modules/tex/generic/pgf/frontendlayer/tikz/tikz.code.tex 
(C:/context/tex/texmf-m
odules/tex/generic/pgf/libraries/pgflibraryplothandlers.code.tex) 
(C:/context/te
x/texmf-modules/tex/generic/pgf/modules/pgfmodulematrix.code.tex) 
(C:/context/te
x/texmf-modules/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibrarytopaths.
code.tex))) 
(C:/context/tex/texmf-modules/tex/generic/pgf/frontendlayer/tikz/lib
raries/tikzlibraryplotmarks.code.tex 
(C:/context/tex/texmf-modules/tex/generic/p
gf/libraries/pgflibraryplotmarks.code.tex)) 
(C:/context/tex/texmf-modules/tex/ge
neric/pgfplots/pgfplots.code.tex 
(C:/context/tex/texmf-modules/tex/generic/pgfpl
ots/pgfplotscore.code.tex 
(C:/context/tex/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=\mostrecen
t }).

)) 
(C:/context/tex/texmf-modules/tex/generic/pgfplots/libs/pgfplotslibrary.code.
tex) 
(C:/context/tex/texmf-modules/tex/generic/pgfplots/oldpgfcompatib/pgfplotso
ldpgfsupp_loader.code.tex 
(C:/context/tex/texmf-modules/tex/generic/pgf/librarie
s/pgflibraryfpu.code.tex)) 
(C:/context/tex/texmf-modules/tex/generic/pgfplots/ut
il/pgfplotsutil.code.tex 
(C:/context/tex/texmf-modules/tex/generic/pgfplots/list
structure/pgfplotsliststructure.code.tex) 
(C:/context/tex/texmf-modules/tex/gene
ric/pgfplots/liststructure/pgfplotsliststructureext.code.tex) 
(C:/context/tex/te
xmf-modules/tex/generic/pgfplots/liststructure/pgfplotsarray.code.tex) 
(C:/conte
xt/tex/texmf-modules/tex/generic/pgfplots/liststructure/pgfplotsmatrix.code.tex)
  (C:/context/tex/texmf-modules/tex/generic/pgfplots/numtable/pgfplotstableshared
.code.tex) 
(C:/context/tex/texmf-modules/tex/generic/pgfplots/liststructure/pgfp
lotsdeque.code.tex) 
(C:/context/tex/texmf-modules/tex/generic/pgfplots/util/pgfp
lotsbinary.code.tex 
(C:/context/tex/texmf-modules/tex/generic/pgfplots/util/pgfp
lotsbinary.data.code.tex)) 
(C:/context/tex/texmf-modules/tex/generic/pgfplots/ut
il/pgfplotsutil.verb.code.tex) 
(C:/context/tex/texmf-modules/tex/generic/pgfplot
s/libs/pgflibrarypgfplots.surfshading.code.tex 
(C:/context/tex/texmf-modules/tex
/generic/pgfplots/sys/pgflibrarypgfplots.surfshading.pgfsys-pdftex.def))) (C:/co
ntext/tex/texmf-modules/tex/generic/pgfplots/util/pgfplotscolormap.code.tex 
(C:/
context/tex/texmf-modules/tex/generic/pgfplots/util/pgfplotscolor.code.tex)
! Argument of \pgfutil@firstoftwo has an extra }.

system          > tex > error on line 726 in file 
C:/context/tex/texmf-modules/t
ex/generic/pgfplots/util/pgfplotscolormap.code.tex: Argument of ...

716             \if m\pgfplots@colormap@access
717 \pgfplotscolormapfind@precomputed[#1:#2][#3]{#4}{#5}%
718             \else
719                     \pgfplotscolormapgetindex{#4}{#5}%
720             \fi
721     }%
722
723
724     \pgfutil@definecolor{mapped color}{rgb}{0,0,0}% make sure this 
color exi
sts. It will be overwritten if needed.
725     % ATTENTION: replicated in pgfplots.code.tex :
726 >>  \pgfplotscreatecolormap{hot}{color(0cm)=(blue); 
color(1cm)=(yellow); col
or(2cm)=(orange); color(3cm)=(red)}
727
728     \def\pgfplotspointmetatransformedrange{0:1000}
729
730     % Defines the 'mapped color' on the basis of
731     % the current color map.
732     %
733     % #1: is the value which should be mapped into the color map; it
734     % is expected in the range [0,1000] (like point meta).
735     \def\pgfplotscolormapdefinemappedcolor#1{%
736 \expandafter\pgfplotscolormapaccess\expandafter[\pgfplotspointme
tatransformedrange]

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

?

Dne 20.2.2013 16:08, Emanuele Sacco napsal(a):
> I have the same problem.
>
>
> 2013/2/15 Malte Harder <me@malteharder.de <mailto: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 <mailto: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 <mailto: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.
>
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________

___________________________________________________________________________________
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-20 19:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-15 13:03 Malte Harder
2013-02-20 15:08 ` Emanuele Sacco
2013-02-20 19:10   ` Jaroslav Hajtmar [this message]
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=51251F9C.6070509@gyza.cz \
    --to=hajtmar@gyza.cz \
    --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).