Browse Source

allow passing --latexpand multiple times

The documentation was saying that --latexpand should appear last, which
basically wasn't true. We now allow --latexpand OPT1 --latexpand OPT2.
master
Matthieu Moy 10 years ago
parent
commit
09d2d1ac5e
  1. 5
      git-latexdiff

5
git-latexdiff

@ -125,7 +125,8 @@ Options:
--ignore-makefile ignore the Makefile, build as though it doesn't exist --ignore-makefile ignore the Makefile, build as though it doesn't exist
-* other options are passed directly to latexdiff -* other options are passed directly to latexdiff
--bbl shortcut to flatten a bbl file of the same name as the project --bbl shortcut to flatten a bbl file of the same name as the project
--latexpand pass options to latexpand (should be last option specified)
--latexpand OPT pass option OPT to latexpand. Use multiple times like
--latexpand OPT1 --latexpand OPT2 to pass multiple options.
--latexdiff-flatten use --flatten from latexdiff instead of latexpand --latexdiff-flatten use --flatten from latexdiff instead of latexpand
EOF EOF
} }
@ -270,7 +271,7 @@ while test $# -ne 0; do
;; ;;
"--latexpand") "--latexpand")
shift shift
latexpand=$1
latexpand=("${latexpand[@]}" "$1")
;; ;;
"--bbl") "--bbl")
bbl=1 bbl=1

Loading…
Cancel
Save