summaryrefslogtreecommitdiff
path: root/scripts/context/ruby
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2007-01-02 10:34:00 +0100
committerHans Hagen <pragma@wxs.nl>2007-01-02 10:34:00 +0100
commitdf357eceacf49ab989db1882e5b788a51c6039e1 (patch)
tree750512346b4c428758bc361b5c116a70441853b3 /scripts/context/ruby
parentfd24aade07671dbdb72b393d6bd570a62eeab39f (diff)
downloadcontext-df357eceacf49ab989db1882e5b788a51c6039e1.tar.gz
stable 2007.01.02 10:34
Diffstat (limited to 'scripts/context/ruby')
-rw-r--r--scripts/context/ruby/base/tex.rb18
-rw-r--r--scripts/context/ruby/ctxtools.rb2
2 files changed, 10 insertions, 10 deletions
diff --git a/scripts/context/ruby/base/tex.rb b/scripts/context/ruby/base/tex.rb
index 1b526f6e5..eee599801 100644
--- a/scripts/context/ruby/base/tex.rb
+++ b/scripts/context/ruby/base/tex.rb
@@ -594,16 +594,16 @@ class TEX
else
report('updating file database')
Kpse.update
- end
- if getvariable('luatex') then
- begin
- luatools = `texmfstart luatools --format=texmfscripts luatools.lua`.chomp.strip
- unless luatools.empty? then
- runcommand(["luatex","--luaonly=#{luatools}","--generate","--verbose"])
+ if getvariable('luatex') then
+ begin
+ luatools = `texmfstart luatools --format=texmfscripts luatools.lua`.chomp.strip
+ unless luatools.empty? then
+ runcommand(["luatex","--luaonly=#{luatools}","--generate","--verbose"])
+ end
+ rescue
+ report("run 'luatex --luaonly=....../luatools.lua --generate' manually")
+ exit
end
- rescue
- report("run 'luatex --luaonly=....../luatools.lua --generate' manually")
- exit
end
end
# goody
diff --git a/scripts/context/ruby/ctxtools.rb b/scripts/context/ruby/ctxtools.rb
index 567c927a5..275739a72 100644
--- a/scripts/context/ruby/ctxtools.rb
+++ b/scripts/context/ruby/ctxtools.rb
@@ -1612,7 +1612,7 @@ class Commands
@@languagedata['la' ] = [ 'ec' , ['lahyph.tex'] ]
# mnhyph
@@languagedata['nl' ] = [ 'ec' , ['nehyph96.tex'] ]
- @@languagedata['no' ] = [ 'ec' , ['nohyph.tex'] ]
+ @@languagedata['no' ] = [ 'ec' , ['nohyphbx.tex','nohyph2.tex','nohyph1.tex','nohyph.tex'] ]
@@languagedata['agr'] = [ 'agr' , [['grahyph4.tex','oldgrhyph.tex']] ] # new, todo
@@languagedata['pl' ] = [ 'ec' , ['plhyph.tex'] ]
@@languagedata['pt' ] = [ 'ec' , ['pthyph.tex'] ]