Browse Source

Merge branch 'patch-1' into 'master'

add option to compile using tectonic

See merge request git-latexdiff/git-latexdiff!14
master
Matthieu Moy 6 years ago
parent
commit
da4e4fe68d
  1. 7
      git-latexdiff

7
git-latexdiff

@ -94,6 +94,7 @@ Options:
--latex run latex instead of pdflatex --latex run latex instead of pdflatex
--xelatex run xelatex instead of pdflatex --xelatex run xelatex instead of pdflatex
--lualatex run lualatex instead of pdflatex --lualatex run lualatex instead of pdflatex
--tectonic run tectonic instead of pdflatex
--bibtex, --bbl display changes in the bibliography --bibtex, --bbl display changes in the bibliography
(runs bibtex to generate *.bbl files and (runs bibtex to generate *.bbl files and
include them in the source file using include them in the source file using
@ -239,6 +240,7 @@ latexdiff_flatten=0
latex=0 latex=0
xelatex=0 xelatex=0
lualatex=0 lualatex=0
tectonic=0
BIBTEX_EXEC=bibtex BIBTEX_EXEC=bibtex
while test $# -ne 0; do while test $# -ne 0; do
@ -307,6 +309,9 @@ while test $# -ne 0; do
"--lualatex") "--lualatex")
lualatex=1 lualatex=1
;; ;;
"--tectonic")
tectonic=1
;;
"--biber") "--biber")
BIBTEX_EXEC=biber BIBTEX_EXEC=biber
bbl=1 bbl=1
@ -486,6 +491,8 @@ elif test $xelatex = 1; then
LATEX_EXEC=xelatex LATEX_EXEC=xelatex
elif test $lualatex = 1; then elif test $lualatex = 1; then
LATEX_EXEC=lualatex LATEX_EXEC=lualatex
elif test $tectonic = 1; then
LATEX_EXEC=tectonic
else else
LATEX_EXEC=pdflatex LATEX_EXEC=pdflatex
fi fi

Loading…
Cancel
Save