summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/context/lua/mtx-plain.lua8
-rw-r--r--scripts/context/ruby/base/switch.rb2
-rw-r--r--scripts/context/ruby/base/tex.rb2
3 files changed, 7 insertions, 5 deletions
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