[OS X TeX] How make glossary with memoir class built-in facility and package imakeeidx

Murray Eisenberg murrayeisenberg at gmail.com
Sat Jul 30 22:31:48 CEST 2016


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?

Note that I’m using the built-in glossary facilities of the memoir class, and *not* the external package “glossaries”.

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.

    \documentclass{memoir}
    
    \usepackage{amsmath}
    
    \usepackage[makeindex]{imakeidx}
    \makeindex[options=-s indexheaders]
    \makeglossary[glossary]
    \makeindex[name=glossary,title=Index of notation,options=-s glossarystyle.gst -o book.gls book.glo]
    
    \begin{document}
    
    The empty set is denoted by $\emptyset$.%
    \index{empty set!notation}
    \glossary[glossary]{$\emptyset$}{empty set}
    
    The set of all subsets of a set $X$ is denoted by $\mathcal{P}(X)$.%
    \index{power set}
    \glossary[glossary]{$\mathcal{P}(X)$}{power set of set}
    
    \newpage
    
    For sets $X$ and $Y$, the notation $f \colon X \to Y$ means that $f$ is a functions from $X$ to $Y$.%
    \index{function!notation}
    \glossary[glossary]{$f \colon X \to Y$}{function from one set to another}.
    
    \printindex
    \printglossary[glossary]
    
    \end{document}

This query is related to what I’ve posted a:t http://tex.stackexchange.com/questions/321597/how-run-makeindex-inside-memoir-class-document-for-glossary <http://tex.stackexchange.com/questions/321597/how-run-makeindex-inside-memoir-class-document-for-glossary> .
At least I’ve progressed to the point that running the pdflatexmk engine no longer produces an error — just no glossary at all!

---
Murray Eisenberg			murrayeisenberg at gmail.com
503 King Farm Blvd #101	Home (240)-246-7240
Rockville, MD 20850-6667	Mobile (413)-427-5334


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/macostex-archives/attachments/20160730/7244d1d7/attachment.html>
-------------- next part --------------
----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://www.esm.psu.edu/~gray/tex/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
                https://email.esm.psu.edu/pipermail/macosx-tex/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex


More information about the macostex-archives mailing list