summaryrefslogtreecommitdiff
path: root/scripts/context/ruby/newtexexec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/context/ruby/newtexexec.rb')
-rw-r--r--scripts/context/ruby/newtexexec.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/context/ruby/newtexexec.rb b/scripts/context/ruby/newtexexec.rb
index 0d9602312..9d9c880bd 100644
--- a/scripts/context/ruby/newtexexec.rb
+++ b/scripts/context/ruby/newtexexec.rb
@@ -137,7 +137,7 @@ class Commands
files = @commandline.arguments.sort
if files.length > 0 then
if f = File.open(job.tempfilename('tex'),'w') then
- job.runtexutil(files,"--figures")
+ job.runtexutil(files,"--figures", true)
figures = @commandline.checkedoption('method', 'a').downcase
paperoffset = @commandline.checkedoption('paperoffset', '0pt')
backspace = @commandline.checkedoption('backspace', '1.5cm')
@@ -193,7 +193,8 @@ class Commands
fnames.each do |ffname|
if msuffixes.include?(File.splitname(ffname)[1]) && FileTest.file?(ffname) then
if mod = File.open(job.tempfilename('tex'),'w') then
- job.runtexutil(ffname,"--documents")
+ # will become a call to ctxtools
+ job.runtexutil(ffname,"--documents", true)
if ted = File.silentopen(File.suffixed(ffname,'ted')) then
firstline = ted.gets
if firstline =~ /interface=/o then