Skip to content
Snippets Groups Projects
build-sam.sh 668 B
Newer Older


# consecutively build pdf, references, pdf
Jesse Brown's avatar
Jesse Brown committed
pdflatex sammy-main.tex && bibtex sammy-main.aux && pdflatex sammy-main.tex && pdflatex sammy-main.tex

# To automate the build in sublime, got to Tools->Build System->New Build System
# and create a file called LaTeX.sublime-build, with: 
#
# {
# 	"shell":true,
# 	"cmd": ["/Library/TeX/texbin/pdflatex $file && /Library/TeX/texbin/bibtex $file_base_name.aux && /Library/TeX/texbin/pdflatex $file && /Library/TeX/texbin/pdflatex $file" ],
# 	"selector": "text.tex.latex"
# }
#
# as the build environment. **Make sure that the path to TeX executables are correct!** 
# You can then build from sammy_main.tex with COMMAND+B.