Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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.

share|improve this question
    
Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format. –  texenthusiast Aug 12 '13 at 5:35
add comment

1 Answer

You need to make TeXShop see the latexmk Engine. Go to your ~/Library/TeXShop folder, and inside you will see an Engines folder. Inside there should be a bunch of Engine files, and a folder named Inactive. Move the pdflatexmk.engine file (and any of the other *mk.engine files if you wish) from the Inactive folder to the Engines folder.

You will need to restart TeXShop for the change to take effect. Now, when you use the pulldown Typeset menu, the pdflatexmk engine should show up, and also your % !TEX TS-program = pdflatexmk line should work.

share|improve this answer
    
Thanks—that worked great! Somehow I had assumed that making a package active in the TexLive Utility would take care of this, but it didn't. –  Mike Aug 12 '13 at 13:48
1  
@Mike Accepting answer (by clicking on the checkmark) is a preferred way of saying Thanks. For more details on How do you accept an answer? –  texenthusiast Aug 12 '13 at 14:33
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.