diff options
Diffstat (limited to 'scripts/context/ruby/texexec.rb')
-rw-r--r-- | scripts/context/ruby/texexec.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/context/ruby/texexec.rb b/scripts/context/ruby/texexec.rb index 4194874e9..b74b6c793 100644 --- a/scripts/context/ruby/texexec.rb +++ b/scripts/context/ruby/texexec.rb @@ -473,10 +473,10 @@ class Commands job.setvariable(k,@commandline.option(k)) end job.stringvars.each do |k| - job.setvariable(k,@commandline.option(k)) + job.setvariable(k,@commandline.option(k)) unless @commandline.option(k).empty? end job.standardvars.each do |k| - job.setvariable(k,@commandline.option(k)) + job.setvariable(k,@commandline.option(k)) unless @commandline.option(k).empty? end job.knownvars.each do |k| job.setvariable(k,@commandline.option(k)) unless @commandline.option(k).empty? @@ -649,6 +649,7 @@ end commandline.registerflag('pdf') commandline.registerflag('pdftex') commandline.registerflag('pdfetex') +commandline.registerflag('luatex') commandline.registerflag('dvipdfmx') commandline.registerflag('dvipdfm') |