I've got myself seriously confused with latexmk. I have been using latexmk on TeX Live 2011 and I have loved it for making my document with a ToC and references with Biber. I am trying to make it work with the glossaries
package (makeglossaries) and I've hit a brick wall.
I've already looked at How to make Latexmk use makeglossaries? and have seen the suggestions of code to add but I can't find the latexmkrc file to save my life. I've searched in all the places that the latexmk manual suggests and I'm positive I'm viewing hidden files.
It would make my live much easier if the config file was in the directory with the document because I'm using a couple of different machines to do my writing.
In the end I would like latexmk to run pdfLaTeX, Biber and makeglossaries enough times to make my ToC, List of Tables, List of Figures, references and List of Abbreviations.
I'm running TeX Live 2011, which is fully updated. I'm using latexmk through TeXworks (it came ready configured).
Best Answer
First, let's make sure your latexmkrc file is working. If you're not sure if the
glossaries
part is working, you could try something simple, e.g. changing$pdf_previewer
(see the "List of configuration variables…" section of the latexmk documentation). You can put the file in the following locations:(from the "Configuration/initialization (RC) files" section of the latexmk documentation)
So putting it in your working directory should work, just make sure there aren't any other latexmkrc files in the locations specified in 1 and 2. (On my Windows 7 machine,
C:\latexmk\LatexMk
works.)Once you made sure latexmk finds your latexmkrc file, try putting the
glossaries
stuff back in.