Browse Source

--output now implies --cleanup all

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.
master
Matthieu Moy 12 years ago
parent
commit
7d99fb6935
  1. 5
      git-latexdiff

5
git-latexdiff

@ -72,8 +72,8 @@ Options:
--latexmk use latexmk --latexmk use latexmk
-o <file>, --output <file> -o <file>, --output <file>
copy resulting PDF into <file>
(usually ending with .pdf)
copy resulting PDF into <file> (usually ending with .pdf)
Implies "--cleanup all"
--tmpprefix where temporary directory will be created (default: /tmp) --tmpprefix where temporary directory will be created (default: /tmp)
--verbose, -v give more verbose output --verbose, -v give more verbose output
--prepare <cmd> run <cmd> before latexdiff (e.g. run make to generate --prepare <cmd> run <cmd> before latexdiff (e.g. run make to generate
@ -164,6 +164,7 @@ while test $# -ne 0; do
"-o"|"--output") "-o"|"--output")
test $# -gt 1 && shift || die "missing argument for $1" test $# -gt 1 && shift || die "missing argument for $1"
output=$1 output=$1
cleanup=all
;; ;;
"-b"|"--bibtex") "-b"|"--bibtex")
bibtex=1 bibtex=1

Loading…
Cancel
Save