dependencies:
- Difftastic: for diff 2 latex file1
Here are my shell script for everyday latex routine, such as: build, clean, diff, minify and lint
Activate the script
sudo chmod +x latex.sh
For convinient, after activating the script, you can alias it for short, I use 'dtex' command,
# save this into .bashrc or .zshrc
alias dtex = sh /path/to/your/script/latex.sh
Footnotes
-
I choose
difftastic
for diff, instead of latexdiff, because it work on tex file, so we can easily edit later, whilelatexdiff
export topdf
for viewing only. ↩