[dev-context] Bug in pgfplots module
Mojca Miklavec
mojca.miklavec.lists at gmail.com
Tue Apr 24 10:26:50 CEST 2012
On Tue, Apr 24, 2012 at 10:11, Marco wrote:
> Hi,
>
> the pgfplots module t-pgfplots.tex lacks an \unprotect \protect
> pair, which causes a catcode error in the file
>
> numtable/pgfplotstable.code.tex on lines 1042-1045:
>
> {
> \catcode`\^^I=12
> \gdef\pgfplotstablesave at impl@TAB{^^I}
> }
>
> Suggested fix:
>
> --- texmf-modules/tex/context/third/pgfplots/t-pgfplots.tex~ 2012-04-24 10:01:24.972183906 +0200
> +++ texmf-modules/tex/context/third/pgfplots/t-pgfplots.tex 2012-04-24 10:03:13.712723135 +0200
> @@ -27,6 +27,8 @@
> \usemodule[tikz]
> \usetikzlibrary[plotmarks]
>
> +\unprotect
> +
> \edef\tikzatcode{\the\catcode`\@}
> \edef\tikzbarcode{\the\catcode`\|}
> \edef\tikzexclaimcode{\the\catcode`\!}
> @@ -61,4 +63,6 @@
> \catcode`\|=\tikzbarcode
> \catcode`\!=\tikzexclaimcode
>
> +\protect
> +
> \endinput
>
>
> I don't know who is responsible for that and if it needs to be fixed
> upstream or if the module is a part of ConTeXt.
The module is maintained by Christian Feuersaenger. I'm forwarding
your email to him. (Loading the module fails for me as well.)
However, I think that I'm not entirely innocent either. I'm still
fetching pgfplots from CVS and I just realized that the project
switched to GIT. (Nobody ever complained so far.) But there's no
unprotect/protect in git repository either, so it is not just due to
outdated sources. Christian - is there any chance to use git & TDS for
pgf as well?
Mojca
More information about the dev-context
mailing list