I'm trying to add a glossary to my book. I wanted to use latexmk to execute makeglossaries for me. I'm using TeXShop on my Mac.
So I went to the TeX Live Utility and activated the latexmk package. Then I went to my source document and put the following on the top line:
% !TEX TS-program = pdflatexmk
Then I typeset my document. As best I can tell, adding that line to the top had no effect. It's not automatically running BibTeX, it's not creating my glossary (I already put all the relevant glossary commands in), etc.
What have I failed to do? Thanks.