Created
April 4, 2022 01:31
-
-
Save jaredyam/9ac4057e8df9d103fbd1bcf0c81aaad1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "This is a console commands collection, do not run this script directly" | |
exit 1 | |
# latexdiff | |
latexdiff "$1" "$2" >_diff.tex 2>/dev/null | |
sed -i.bak '/\RequirePackage\[normalem\]{ulem}/d' _diff.tex | |
xelatex _diff | |
bibtex _diff | |
xelatex _diff | |
xelatex _diff | |
# git-latexdiff | |
git latexdiff --filter "sed -i.bak '/\RequirePackage\[normalem\]{ulem}/d' Thesis.tex" --xelatex --bibtex HEAD^ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment