It doesn't really make sense to try to keep the PDF file in the temporary
directory since it has already been moved to the location specified by
--output. Without this change, the temporary directory is kept, but is
empty at the end of execution.
Moving the PDF file to the toplevel of the temporary directory was needed
for partial cleanup (keeppdf), but a side effect is that it makes
$pdffile absolute, and then breaks abs_pdffile="$PWD/$pdffile". Doing
this file move and make the path name absolute only if --output is not
active fixes the issue.
This is needed for viewers like evince that do not work when the file
being viewed is deleted right after the viewer is launched.
Based on patch from Sebastian Hofer <sebastian.hofer@univie.ac.at>