From 47551c2d1c6c0ee4af546107589fc1d5b23ac207 Mon Sep 17 00:00:00 2001 From: Marius Date: Mon, 29 Apr 2013 22:00:19 +0300 Subject: beta 2013.04.29 20:30 --- scripts/context/lua/mtx-plain.lua | 8 +++----- scripts/context/ruby/base/switch.rb | 2 ++ scripts/context/ruby/base/tex.rb | 2 ++ 3 files changed, 7 insertions(+), 5 deletions(-) (limited to 'scripts') diff --git a/scripts/context/lua/mtx-plain.lua b/scripts/context/lua/mtx-plain.lua index f7fe60483..f43dcdeaf 100644 --- a/scripts/context/lua/mtx-plain.lua +++ b/scripts/context/lua/mtx-plain.lua @@ -47,10 +47,8 @@ scripts.plain = scripts.plain or { } local function execute(...) local command = string.format(...) - report("running command %a",command) - report() + report("running command %a\n",command) os.execute(command) - report() end local function resultof(...) @@ -97,10 +95,10 @@ function scripts.plain.make(texengine,texformat) else lfs.chdir(fmtpath) end - execute('%s --ini %s',texengine,file.addsuffix(texformat,"tex")) + execute('%s --ini %s \\dump',texengine,file.addsuffix(texformat,"tex")) report("generating kpse file database") execute("mktexlsr") - report("format saved on path %a",fmtpath) + report("format %a saved on path %a",texformat,fmtpath) end function scripts.plain.run(texengine,texformat,filename) diff --git a/scripts/context/ruby/base/switch.rb b/scripts/context/ruby/base/switch.rb index 79613dcd0..e38752018 100644 --- a/scripts/context/ruby/base/switch.rb +++ b/scripts/context/ruby/base/switch.rb @@ -1,3 +1,5 @@ +#encoding: ASCII-8BIT + # module : base/switch # copyright : PRAGMA Advanced Document Engineering # version : 2002-2005 diff --git a/scripts/context/ruby/base/tex.rb b/scripts/context/ruby/base/tex.rb index 9ba842501..77d61b4db 100644 --- a/scripts/context/ruby/base/tex.rb +++ b/scripts/context/ruby/base/tex.rb @@ -1,3 +1,5 @@ +#encoding: ASCII-8BIT + # module : base/tex # copyright : PRAGMA Advanced Document Engineering # version : 2005 -- cgit v1.2.3