PDF writer: Print temp dir on --verbose.

This might help diagnose #777.
This commit is contained in:
John MacFarlane 2015-05-20 15:43:42 -07:00
parent 1ba9cfcd9e
commit 57e16e3287

View file

@ -198,6 +198,8 @@ runTeXProgram verbose program args runNumber numRuns tmpDir source = do
let env'' = ("TEXINPUTS", texinputs) :
[(k,v) | (k,v) <- env', k /= "TEXINPUTS"]
when (verbose && runNumber == 1) $ do
putStrLn $ "[makePDF] temp dir:"
putStrLn tmpDir'
putStrLn $ "[makePDF] Command line:"
putStrLn $ program ++ " " ++ unwords (map show programArgs)
putStr "\n"