Setting up latex. Install LaTeX workshop and make sure latex is working:
brew cask install mactex-no-gui
sudo tlmgr update --self && sudo tlmgr update --all