summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2013-04-29 22:00:19 +0300
committerMarius <mariausol@gmail.com>2013-04-29 22:00:19 +0300
commit47551c2d1c6c0ee4af546107589fc1d5b23ac207 (patch)
tree937c44a33966be3409c9c308a3bc3dcfc7ca205b /scripts
parent62741f4c9fe81508ed14f2dbbaecef076bee31cb (diff)
downloadcontext-47551c2d1c6c0ee4af546107589fc1d5b23ac207.tar.gz
beta 2013.04.29 20:30
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