Skip to content

Instantly share code, notes, and snippets.

@cmaspi
Created May 15, 2022 14:20
Show Gist options
  • Save cmaspi/3e96b7b3eab1bb5de6a7ebdcab72f17e to your computer and use it in GitHub Desktop.
Save cmaspi/3e96b7b3eab1bb5de6a7ebdcab72f17e to your computer and use it in GitHub Desktop.
This is a function to compile pdflatex with bibtex using a simple fish function, the limitation is that the tex file should be named main.
function pdf --description "It compiles a latex document"
pdflatex main.tex
bibtex main.aux
pdflatex main.tex
pdflatex main.tex
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment