summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2009-09-12 14:44:00 +0200
committerHans Hagen <pragma@wxs.nl>2009-09-12 14:44:00 +0200
commit423febe11aeeb079c8edfde2ea6e66c71709fc2f (patch)
treebbf50d747815d4e255a8d47b7385a24bae9284ee /scripts
parent31c85bed04f79cca40e26af118964bd86e8edd16 (diff)
downloadcontext-423febe11aeeb079c8edfde2ea6e66c71709fc2f.tar.gz
beta 2009.09.12 14:44
Diffstat (limited to 'scripts')
-rw-r--r--scripts/context/ruby/base/tex.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/context/ruby/base/tex.rb b/scripts/context/ruby/base/tex.rb
index 23db7f1e8..15d69e306 100644
--- a/scripts/context/ruby/base/tex.rb
+++ b/scripts/context/ruby/base/tex.rb
@@ -680,6 +680,11 @@ class TEX
texformatpath = ''
setvariable('error','no permissions to write')
end
+ if not mpsformats then
+ # we want metafun to be in sync
+ setvariable('mpsformats',defaultmpsformats)
+ mpsformats = validmpsformat(getarrayvariable('mpsformats'))
+ end
else
texformatpath = ''
end