[dev-context] Bug in pgfplots module

Marco netuse at lavabit.com
Tue Apr 24 10:11:37 CEST 2012


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.


Best wishes

Marco Patzer




More information about the dev-context mailing list