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 followed the instruction from Creating Glossaries in TeXShop on Mac but the created engine did not appear (even not with Emacs). Here is what I did:

I created glossary_run.engine with TextEdit (and later also with Emacs):


bfname=$(dirname "$1")/"`basename "$1" .tex`"

makeindex -s "$bfname".ist -t "$bfname".alg -o "$bfname".acr "$bfname".acn
makeindex -s "$bfname".ist -t "$bfname".glg -o "$bfname".gls "$bfname".glo

I saved the file in /Applications/TeX/TeXShop.app/Contents/Resources/TeXShop and then run

chmod a+x glossary_run.engine

in Terminal, started TeXShopbut could not find glossary_run in the dropdown-menu. Has anyone an idea what went wrong?

share|improve this question
When I have done this in the past, I placed the .engine file in ~/Library/TeXShop/Engines not in the actual .app wrapper, and you need to exit and re-launch TeXShop. –  Peter Grill Mar 23 '12 at 16:48
Now the engine appears in the dropdown-menu. But still the glossary won't appear: I first compiled my document MainV2.tex with LaTeX and then with glossary_run. I got the following message: This is makeindex, version 2.15 [TeX Live 2010] (kpathsea + Thai support). Scanning style file ./MainV2.ist...........................done (27 attributes redefined, 0 ignored). Scanning input file ./MainV2.glo...done (0 entries accepted, 0 rejected). Nothing written in ./MainV2.gls. Transcript written in ./MainV2.glg. By the way: I put all glossary-entries in a separate tex-file (Glossary.tex). –  John Mar 23 '12 at 18:51
Did you re-run LaTex again after glossary_run? –  Peter Grill Mar 23 '12 at 19:38
Yes, several times. –  John Mar 23 '12 at 20:00
OK, but that seems to be unrelated to this question. Please post a separate question including a complete MWE that illustrates the problem including the \documentclass and the appropriate packages so that those trying to help don't have to recreate it. –  Peter Grill Mar 23 '12 at 22:07
show 1 more comment

1 Answer

up vote 2 down vote accepted

The .engine file should be placed in


not in the actual .app wrapper, and you need to exit and re-launch TeXShop.

After this the glossary_run command will appear in the pull down menu.

share|improve this answer
add comment

Your Answer


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.