LaTeX setup for Mac
If you are installing LaTeX on a mac, and want to use department-specific styles and fonts, follow these steps:
Install the latest TeXLive available through the MacTeX distribution.
During the installation it will possibly complain that 'mactex is from an unidentified developer', and refuse to continue. In that case, do a Ctrl-click on the file, and select 'open'. It will again complain about 'unidentified developer', but in this case allow you to continue anyway.- Execute
sudo curl -o /usr/local/bin/update-texmf-local http://dist.control.lth.se/public/Texlive/texmf-local/scripts/update-texmf-local sudo chmod +x /usr/local/bin/update-texmf-local sudo update-texmf-local
Done. You may do a quick test by copying the directory /usr/local/texlive/texmf-local/template/LTHreport (use cp -a) to a test area and then run pdflatex template. This should confirm that everything works as intended.
It is a good idea to run /usr/local/bin/update-texmf-local regularly (once a month?) to get any new and updated packages.