Skip to content

Instantly share code, notes, and snippets.


Illya Starikov IllyaStarikov

  • Google
  • San Francisco Bay Area
View GitHub Profile
IllyaStarikov / latexerr
Last active March 10, 2017 18:27
A bash script to clean LaTeX temporary files, compiling, and glossaries.
View latexerr
# USAGE: ./script FILE --clean --glossary
extensions_to_delete=(gz fls fdb_latexmk blg bbl log aux out nav toc snm glg glo xdy)
compile_and_open() {
errors=$(pdflatex -shell-escape -interaction=nonstopmode -file-line-error "$argument" | grep ".*:[0-9]*:.*")