summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/pgfplots/pgfplotscore.code.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/generic/pgfplots/pgfplotscore.code.tex')
-rw-r--r--Master/texmf-dist/tex/generic/pgfplots/pgfplotscore.code.tex12
1 files changed, 12 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/generic/pgfplots/pgfplotscore.code.tex b/Master/texmf-dist/tex/generic/pgfplots/pgfplotscore.code.tex
index 54e02d4496f..bc37418c689 100644
--- a/Master/texmf-dist/tex/generic/pgfplots/pgfplotscore.code.tex
+++ b/Master/texmf-dist/tex/generic/pgfplots/pgfplotscore.code.tex
@@ -109,6 +109,7 @@
\let\pgfplotsglobalretval=\pgfplots@luabackend@table
}%
}%
+
\ifpgfplots@LUA@supported
\let\pgfplotsutil@directlua=\directlua
\let\pgfplotsutil@directlua@std=\pgfplotsutil@directlua
@@ -273,6 +274,14 @@
\fi
\let#1=\relax
},
+ /pgfplots/exception/too few colormap positions/.code args={#1#2}{%
+ \ifx\pgfplotsexceptionmsg\relax
+ \pgfplots@error{#2}%
+ \else
+ \pgfplots@error{\pgfplotsexceptionmsg}%
+ \fi
+ \let#1=\relax
+ },
/pgfplots/exception/dimension too small in ticks/.code args={#1}{%
\ifx\pgfplotsexceptionmsg\relax
\pgfplots@error{The argument(s) for #1tick resulted in a tick distance which is too small. Please reconfigure the xtick argument(s)}%
@@ -290,6 +299,9 @@
/pgfplots/warning/illegal user argument in log axis/.code args={#1#2}{%
\pgfplotsthrow@warning{Ignoring illegal input argument #1=#2: cannot apply log.}%
},
+ /pgfplots/warning/too many colormap positions/.code={%
+ \pgfplotsthrow@warning{the colormap has too many positions; ignoring position #1}%
+ },
/pgfplots/warning/plot without coordinates/.code={%
\pgfplotsthrow@warning{the current plot has no coordinates (or all have been filtered away)}%
},