Document Classeshow to do acronyms/Glossaries in memoir?

Information and discussion about specific document classes and how to create your own document classes.
artimess
Posts: 6
Joined: Sun Jun 27, 2010 5:34 pm

how to do acronyms/Glossaries in memoir?

Post by artimess »

I am using memoir class for a book. I need to create list of acronyms and glossary.
I like to know if it could be done in memoir (natively) and if so how. My first attempt was to use glossaries package, but it does not work even for a document of 10 lines due to "write error" because of number of files created.

I do appreciate your help.
Artimess

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

daleif
Posts: 199
Joined: Wed Nov 19, 2008 12:46 am

Re: how to do acronyms/Glossaries in memoir?

Post by daleif »

how complicated is that document, since you are running into the number of writes limit?

Could you provide a minimal example?
artimess
Posts: 6
Joined: Sun Jun 27, 2010 5:34 pm

how to do acronyms/Glossaries in memoir?

Post by artimess »

daleif wrote:how complicated is that document, since you are running into the number of writes limit?

Could you provide a minimal example?
Hi and thanks for your interest. Here is an example, my feeling is it is clashing with glossary implementation of memoir. But I am not that expert to understand the iners of either packages to fix the problem.

Do appreciate your help.
Artimess
Attachments
Submit.tex
(4.72 KiB) Downloaded 528 times
daleif
Posts: 199
Joined: Wed Nov 19, 2008 12:46 am

Re: how to do acronyms/Glossaries in memoir?

Post by daleif »

start by making that a minimal example by removing all that is not needed. You use a lot of stuff that are only relevant when typesetting the memoir manual, thus not relevant to your document.
daleif
Posts: 199
Joined: Wed Nov 19, 2008 12:46 am

how to do acronyms/Glossaries in memoir?

Post by daleif »

This

Code: Select all

\documentclass[10pt]{memoir}


\usepackage[acronym,toc]{glossaries}
%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newglossary[slg]{symbols}{sym}{sbl}{List of Symbols}

\makeglossaries

% The following definitions will go in the main glossary

\newglossaryentry{culdesac}{name=cul-de-sac,description={passage
or street closed at one end},plural=culs-de-sac}

\newglossaryentry{elite}{name={\'e}lite,description={select
group or class},sort=elite}

\newglossaryentry{elitism}{name={\'e}litism,description={advocacy
of dominance by an \gls{elite}},sort=elitism}

\newglossaryentry{attache}{name=attach\'e,
description={person with special diplomatic responsibilities}}

% The following definitions will go in the list of acronyms

\newacronym{led}{LED}{light-emitting diode}

\newacronym{eeprom}{EEPROM}{electrically erasable programmable
read-only memory}

% The following definitions will go in the list of symbols

\newglossaryentry{ohm}{type=symbols,name=ohm,
symbol={\ensuremath{\Omega}},
description=unit of electrical resistance}

\newglossaryentry{angstrom}{type=symbols,name={\aa}ngstr\"om,
symbol={\AA},sort=angstrom,
description={non-SI unit of length}}

\begin{document}

\glsaddall

\printglossary 

\end{document}
works just fine
artimess
Posts: 6
Joined: Sun Jun 27, 2010 5:34 pm

how to do acronyms/Glossaries in memoir?

Post by artimess »

daleif wrote:This

Code: Select all

\documentclass[10pt]{memoir}


\usepackage[acronym,toc]{glossaries}
%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newglossary[slg]{symbols}{sym}{sbl}{List of Symbols}

\makeglossaries

% The following definitions will go in the main glossary

\newglossaryentry{culdesac}{name=cul-de-sac,description={passage
or street closed at one end},plural=culs-de-sac}

\newglossaryentry{elite}{name={\'e}lite,description={select
group or class},sort=elite}

\newglossaryentry{elitism}{name={\'e}litism,description={advocacy
of dominance by an \gls{elite}},sort=elitism}

\newglossaryentry{attache}{name=attach\'e,
description={person with special diplomatic responsibilities}}

% The following definitions will go in the list of acronyms

\newacronym{led}{LED}{light-emitting diode}

\newacronym{eeprom}{EEPROM}{electrically erasable programmable
read-only memory}

% The following definitions will go in the list of symbols

\newglossaryentry{ohm}{type=symbols,name=ohm,
symbol={\ensuremath{\Omega}},
description=unit of electrical resistance}

\newglossaryentry{angstrom}{type=symbols,name={\aa}ngstr\"om,
symbol={\AA},sort=angstrom,
description={non-SI unit of length}}

\begin{document}

\glsaddall

\printglossary 

\end{document}
works just fine
Yes, but I need the stuff I sent you, I am depending on lots of memoir style...
Is there any way to increase number of the files to avoid this issue?
Thanks,
Artimess I
daleif
Posts: 199
Joined: Wed Nov 19, 2008 12:46 am

Re: how to do acronyms/Glossaries in memoir?

Post by daleif »

in what way depending? What exactly do you need from that setup?

There is no way of encreasing the number of writes (anoys me too)
daleif
Posts: 199
Joined: Wed Nov 19, 2008 12:46 am

Re: how to do acronyms/Glossaries in memoir?

Post by daleif »

BTW: A modified version of glossaries that should cut down on the use of writes is in the making.
artimess
Posts: 6
Joined: Sun Jun 27, 2010 5:34 pm

how to do acronyms/Glossaries in memoir?

Post by artimess »

daleif wrote:BTW: A modified version of glossaries that should cut down on the use of writes is in the making.
This is really a very good news. I find your package very comprehensive but a huge resource hug.
If I may suggest you should crash test it with memoir package. The example code that I posted does a very good job of it!
Looking forward to your new version.

Artimess
daleif
Posts: 199
Joined: Wed Nov 19, 2008 12:46 am

Re: how to do acronyms/Glossaries in memoir?

Post by daleif »

the memoir class is not a resource hog, but the memoir manual IS.

If you insist of using that as a base for your document without knowing what it does or which parts of it you actually need, then that is your choice.
Post Reply