<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Thanks a lot for the swift reply!<div class=""><br class=""><div><blockquote type="cite" class=""><div class=""><div class="">I'm not sure what you are trying to accomplish </div></div></blockquote><div><br class=""></div><div>So I haven't been clear enough :)</div><div><br class=""></div><div>To compile a name-index I need to markup the keywords manually because this sort of texts is notoriously unreliable as to the forms in which it mentions the names: To stick with the example, sometimes it says "Charlemagne", sometimes "Charles", sometimes "Carolus magnus", sometime only "the king" -- sometimes not even spelled by modern conventions.</div><div>(So I don't think glossaries are the right tool, but I might be wrong as I have hardly used the package)</div><div><br class=""></div><div>At the first occurrence I determine how I want him to be called and, if necessary, be differentiated from other Charleses in the index (e.g. by dates and roles), perhaps I also need to add a sort key:</div><div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>\index[names]{Charles 1@Charles I \emph{Charlemagne} (742--814), emperor}</div></div><div>Whenever I meet the guy again I cannot remember all this.</div><div>So I'd like to be able to begin to type a part of the name and would like TeXShop to show me all the already marked occurrences that start with the same letters. Just like it shows all \label when I type \ref{… and hit F5</div><div><br class=""></div><div>When I add all previously mentioned entries in the way I have described it is possible to write "nCh" and toggle through all Charleses pressing "esc" and choose the appropriate one.</div><div><br class=""></div><br class=""><blockquote type="cite" class=""><div class=""><div class="">but if you Edit the file from within TeXShop (Source->Command Completion->Edit Command Completion File…) and Save it TeXShop seems to re-read the file without having to restart.<br class=""></div></div></blockquote><div><br class=""></div><div>There's the rub: I was hoping to use a few bash-lines in the TeXShop-engine to modify the contents of my .ind-file and add them to CommandCompletion.txt at every compilation.</div><div><br class=""></div><div>That's why I'd need to reload the file…</div><br class=""><blockquote type="cite" class=""><div class=""><div class=""><br class="">PS: take a look at the glossaries package and try using the pdflatexmk engine.<br class=""></div></div></blockquote></div><br class=""></div><div class=""><br class=""></div><div class="">Best,</div><div class="">Florian</div></body></html>