OSDN Git Service

Regenerated luatexja-{ja,en,zh}.pdf.
[luatex-ja/luatexja.git] / src / luatexja.lua
index 1e00f47..7b608d5 100644 (file)
@@ -174,6 +174,12 @@ end
 
 -- EXT: print parameters that need arguments
 function luatexja.ext_get_parameter_binary(k,c)
+   if type(c)~='number' then
+      ltjb.package_error('luatexja',
+                        'invalid the second argument (' .. tostring(c) .. ')',
+                        'I changed this one to zero.')
+      c=0
+   end
    if k == 'jacharrange' then
       if c<0 or c>216 then 
         ltjb.package_error('luatexja',