summaryrefslogtreecommitdiff
path: root/macros/luatex/latex/luaplot/luaplot.sty
diff options
context:
space:
mode:
Diffstat (limited to 'macros/luatex/latex/luaplot/luaplot.sty')
-rw-r--r--macros/luatex/latex/luaplot/luaplot.sty9
1 files changed, 5 insertions, 4 deletions
diff --git a/macros/luatex/latex/luaplot/luaplot.sty b/macros/luatex/latex/luaplot/luaplot.sty
index f9f5377c90..b148c5bdfe 100644
--- a/macros/luatex/latex/luaplot/luaplot.sty
+++ b/macros/luatex/latex/luaplot/luaplot.sty
@@ -1,9 +1,9 @@
% luaplot package
-% version 1.2
+% version 1.3
% Licensed under LaTeX Project Public License v1.3c or later. The complete license text is available at http://www.latex-project.org/lppl.txt.
%Authors: Chetan Shirore and Ajit Kumar
-\ProvidesPackage{luaplot}[1.2]
+\ProvidesPackage{luaplot}[1.3]
\RequirePackage{xkeyval}
\RequirePackage{luacode}
\RequirePackage{tikz}
@@ -110,13 +110,14 @@ for subexp in string.gmatch(\luastring{#2}, '([^,]+)') do
end
local colortbl={}
local countclr = 1
-for funcolor in string.gmatch(\mop@eight, '([^,]+)') do
+for funcolor in string.gmatch(\mop@eight, '[^,]*') do
+ if funcolor == nil or funcolor=='' then funcolor='black' end
colortbl[countclr] = funcolor
countclr = countclr + 1
end
local plotstytbl={}
local countplotsty = 1
-for funplotsty in string.gmatch(\mop@nine, '([^,]+)') do
+for funplotsty in string.gmatch(\mop@nine, '[^,]*') do
plotstytbl[countplotsty] = funplotsty
countplotsty = countplotsty + 1
end