<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">For the record, thanks to communication from Herbert Schulz, this issue is resolved. <div class=""><br class=""></div><div class="">The remaining trouble was due to a processing problem with:</div><div class=""><br class=""></div><div class="">    \glossary[glossary]{$f \colon X \to Y$}{function from one set to another}</div><div class=""><br class=""></div><div class="">The cause was due to premature expansion of the math _relation_ \colon.</div><div class=""><br class=""></div><div class="">The simplest fix is to replace {$f \colon X \to Y$} in the \glossary command with  {$f \from X \to Y$}, using either one of the following (which produce slightly different spacing around the colon):</div><div class=""><br class=""></div><div class="">   \newcommand{\from}{:}</div><div class="">   \newcommand{\from}{\mathpunct{:}}</div><div class="">   \newcommand{\from}{\protect\colon}</div><div class=""><br class=""></div><div class="">Thank you, Herb!</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On<span style="font-family: Menlo-Regular; font-size: 13px;" class="">31 Jul 2016 16:19:30 -0400</span>, <span class="" style="font-family: Menlo-Regular; font-size: 13px; float: none; display: inline !important;">Murray Eisenberg <</span><a href="mailto:murrayeisenberg@gmail.com" class="" style="font-family: Menlo-Regular; font-size: 13px;">murrayeisenberg@gmail.com</a><span class="" style="font-family: Menlo-Regular; font-size: 13px; float: none; display: inline !important;">></span> wrote:</div></blockquote><blockquote type="cite" class=""><br class=""><div class=""><br style="font-family: Menlo-Regular; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Menlo-Regular; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">That platexmkrc worked with the TeXShop pdflatexmk ? up to a point: the glossary entry defined on the 2nd page (after the \newpage) never actually appears in the printed glossary. In fact, while the \glossentry for it gets put into the glossary.glo file, the corresponding \glossitem never gets put into the glossary.gls file.</span><br style="font-family: Menlo-Regular; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: Menlo-Regular; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Menlo-Regular; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">For the record, here?s platexmkrc contents:</span><br style="font-family: Menlo-Regular; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: Menlo-Regular; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Menlo-Regular; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">add_cus_dep('glo', 'gls', 0, 'makeglo2gls');</span><br style="font-family: Menlo-Regular; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span class="Apple-tab-span" style="font-family: Menlo-Regular; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: pre; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">      </span><span class="Apple-tab-span" style="font-family: Menlo-Regular; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: pre; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">      </span><span style="font-family: Menlo-Regular; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">sub makeglo2gls {</span><br style="font-family: Menlo-Regular; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span class="Apple-tab-span" style="font-family: Menlo-Regular; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: pre; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">     </span><span class="Apple-tab-span" style="font-family: Menlo-Regular; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: pre; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">      </span><span class="Apple-tab-span" style="font-family: Menlo-Regular; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: pre; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">      </span><span class="Apple-tab-span" style="font-family: Menlo-Regular; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: pre; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">      </span><span style="font-family: Menlo-Regular; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">system("makeindex -s basic.gst -t '$_[0]'.glg -o '$_[0]'.gls '$_[0]'.glo");</span><br style="font-family: Menlo-Regular; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span class="Apple-tab-span" style="font-family: Menlo-Regular; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: pre; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"> </span><span class="Apple-tab-span" style="font-family: Menlo-Regular; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: pre; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">      </span><span style="font-family: Menlo-Regular; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">};</span><br style="font-family: Menlo-Regular; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: Menlo-Regular; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: Menlo-Regular; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><blockquote type="cite" style="font-family: Menlo-Regular; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">On30 Jul 2016 16:08:54 -0500,Herbert Schulz <<a href="mailto:herbs@wideopenwest.com" class="">herbs@wideopenwest.com</a><span class="Apple-converted-space"> </span><<a href="mailto:herbs@wideopenwest.com" class="">mailto:herbs@wideopenwest.com</a>>> wrote:<br class=""><br class=""><br class=""><blockquote type="cite" class="">On Jul 30, 2016, at 3:31 PM, Murray Eisenberg <<a href="mailto:murrayeisenberg@gmail.com" class="">murrayeisenberg@gmail.com</a><<a href="mailto:murrayeisenberg@gmail.com" class="">mailto:murrayeisenberg@gmail.com</a>>> wrote:<br class=""><br class="">What changes to the ?pdflatexmk.engine" or the ?latexmkrcedit" file might be needed, if any, in order to run ?makeindex" from within a ?memoir" document class .tex source so as to create a glossary (along with an ordinary index)? Or is there an issue with the used ?imakeidx? package itself or the way I?m using it?<br class=""><br class="">Note that I?m using the built-in glossary facilities of the memoir class, and *not* the external package ?glossaries?.<br class=""><br class="">Below is the source, which when the pdflatexmk engine is run from within TeXShop, creates an *empty* file glossary.idx ? hence no glossary appears in the resulting .pdf.<br class=""><br class="">  \documentclass{memoir}<br class=""><br class="">  \usepackage{amsmath}<br class=""><br class="">  \usepackage[makeindex]{imakeidx}<br class="">  \makeindex[options=-s indexheaders]<br class="">  \makeglossary[glossary]<br class="">  \makeindex[name=glossary,title=Index of notation,options=-s glossarystyle.gst -o book.gls book.glo]<br class=""><br class="">  \begin{document}<br class=""><br class="">  The empty set is denoted by $\emptyset$.%<br class="">  \index{empty set!notation}<br class="">  \glossary[glossary]{$\emptyset$}{empty set}<br class=""><br class="">  The set of all subsets of a set $X$ is denoted by $\mathcal{P}(X)$.%<br class="">  \index{power set}<br class="">  \glossary[glossary]{$\mathcal{P}(X)$}{power set of set}<br class=""><br class="">  \newpage<br class=""><br class="">  For sets $X$ and $Y$, the notation $f \colon X \to Y$ means that $f$ is a functions from $X$ to $Y$.%<br class="">  \index{function!notation}<br class="">  \glossary[glossary]{$f \colon X \to Y$}{function from one set to another}.<br class=""><br class="">  \printindex<br class="">  \printglossary[glossary]<br class=""><br class="">  \end{document}<br class=""><br class="">This query is related to what I?ve posted a:t<span class="Apple-converted-space"> </span><a href="http://tex.stackexchange.com/questions/321597/how-run-makeindex-inside-memoir-class-document-for-glossary" class="">http://tex.stackexchange.com/questions/321597/how-run-makeindex-inside-memoir-class-document-for-glossary</a><span class="Apple-converted-space"> </span><<a href="http://tex.stackexchange.com/questions/321597/how-run-makeindex-inside-memoir-class-document-for-glossary" class="">http://tex.stackexchange.com/questions/321597/how-run-makeindex-inside-memoir-class-document-for-glossary</a>> .<br class="">At least I?ve progressed to the point that running the pdflatexmk engine no longer produces an error ? just no glossary at all!<br class=""></blockquote><br class="">Howdy,<br class=""><br class="">From the memoir manual, section 17.3.1 (and this has nothing to do with imakeidx---do you really need it?) the enclosed platexmkrc file should work. Place it in the same directory as your main/root source file and use the pdflatexmk engine.<br class=""></blockquote><br class="Apple-interchange-newline"></div></blockquote></div><br class=""><div class="">
---<br class="">Murray Eisenberg<span class="Apple-tab-span" style="white-space: pre;">                       </span><a href="mailto:murrayeisenberg@gmail.com" class="">murrayeisenberg@gmail.com</a><br class="">503 King Farm Blvd #101<span class="Apple-tab-span" style="white-space: pre;">     </span>Home (240)-246-7240<br class="">Rockville, MD 20850-6667<span class="Apple-tab-span" style="white-space: pre;">  </span>Mobile (413)-427-5334<br class=""><br class="">

</div>
<br class=""></div></body></html>