PDF: Make sure --latex-engine-opt
goes before the filename...
on the command line. LaTeX needs the argument to come after the options. Closes #1779 - again! Thanks to squisher for pointing out the problem.
This commit is contained in:
parent
4667f92987
commit
ac79429a12
1 changed files with 1 additions and 1 deletions
|
@ -190,7 +190,7 @@ runTeXProgram verbose program args runNumber numRuns tmpDir source = do
|
|||
let file' = file
|
||||
#endif
|
||||
let programArgs = ["-halt-on-error", "-interaction", "nonstopmode",
|
||||
"-output-directory", tmpDir', file'] ++ args
|
||||
"-output-directory", tmpDir'] ++ args ++ [file']
|
||||
env' <- getEnvironment
|
||||
let sep = searchPathSeparator:[]
|
||||
let texinputs = maybe (tmpDir' ++ sep) ((tmpDir' ++ sep) ++)
|
||||
|
|
Loading…
Reference in a new issue