Fix building diffed PDF
This commit is contained in:
parent
37475b58ee
commit
c64ceb86cb
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@
|
|||
mv book.tex ../sent.tex
|
||||
popd
|
||||
mkdir build
|
||||
${full-texlive}/bin/latexdiff --math-markup=whole -t CFONT sent.tex book.tex > diff.tex
|
||||
${full-texlive}/bin/latexdiff --math-markup=whole -t CFONT -c 'VERBATIMENV=(?:(?:comment)|(?:minted)|(?:luacode[*]?))' sent.tex book.tex | sed "s/%DIF > $//" > diff.tex
|
||||
${full-texlive}/bin/latexmk -f -pdf -lualatex -shell-escape -interaction=nonstopmode -output-directory=build book.tex
|
||||
${full-texlive}/bin/latexmk -f -pdf -lualatex -shell-escape -interaction=nonstopmode -output-directory=build diff.tex
|
||||
mv build/book.pdf build/diff.pdf .
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue