OSDN Git Service

loading message
authorHironori Kitagawa <h_kitagawa2001@yahoo.co.jp>
Sat, 16 Mar 2013 10:33:48 +0000 (19:33 +0900)
committerHironori Kitagawa <h_kitagawa2001@yahoo.co.jp>
Sun, 17 Mar 2013 23:21:14 +0000 (08:21 +0900)
src/luatexja.lua

index deee61c..83bfed3 100644 (file)
@@ -19,7 +19,7 @@ function luatexja.load_module(name)
         luatexja.error("File `" .. fn .. "' not found", 
                        {'This file ' .. fn .. ' is required for LuaTeX-ja.', 'Please check your installation.'})
       else 
-        texio.write('(' .. found .. ')\n')
+        texio.write_nl('(' .. found .. ')')
         dofile(found)
       end
    end
@@ -29,7 +29,7 @@ function luatexja.load_lua(fn)
    if not found then
       error("File `" .. fn .. "' not found")
    else 
-      texio.write('(' .. found .. ')\n')
+      texio.write_nl('(' .. found .. ')')
       dofile(found)
    end
 end