Browse Source

added a BibLaTeX-Biber option '--biber' in analogy to the bibtex option

master
Philipp Leufke 13 years ago
parent
commit
ce3bfc31f7
  1. 11
      git-latexdiff

11
git-latexdiff

@ -46,6 +46,8 @@ Options:
--no-view don't display the resulting PDF file
--bibtex, -b run bibtex as well as latex
(pdflatex,bibtex,pdflatex,pdflatex)
--biber run BibLaTex-Biber as well as latex
(pdflatex,bibtex,pdflatex,pdflatex)
--view view the resulting PDF file
(default if -o is not used)
--pdf-viewer <cmd> use <cmd> to view the PDF file (default: \$PDFVIEWER)
@ -87,6 +89,7 @@ view=maybe
cleanup=1
verbose=0
bibtex=0
biber=0
output=
initial_dir=$PWD
@ -120,6 +123,9 @@ while test $# -ne 0; do
"-b"|"--bibtex")
bibtex=1
;;
"--biber")
biber=1
;;
"--verbose"|"-v")
verbose=1
;;
@ -254,6 +260,11 @@ else
pdflatex --interaction errorstopmode "$mainbase" || compile_error=1
pdflatex --interaction errorstopmode "$mainbase" || compile_error=1
fi
if test "$biber" = 1 ; then
biber "$mainbase" || compile_error=1
pdflatex --interaction errorstopmode "$mainbase" || compile_error=1
pdflatex --interaction errorstopmode "$mainbase" || compile_error=1
fi
fi
verbose_done

Loading…
Cancel
Save