Continuously build / preview a latex document

You can easily build and preview latex documents using both emacs and evince. Evince will reload pdf documents once changed. I use inotify to trigger the build shell script once any .tex file is changed. The scripts below are generic enough to be used for any build: The first script is #!/bin/bash pdfcmd=”pdflatex -file-line-error […]