Separate the list of acronyms in the glossary (glossaries)
In my thesis I would like to enter a list of acronyms and a glossary. I'm
trying to do with the package glossaries. However, I meet a problem in
separating the first from the second. If I use the option acronym for the
glossaries package, I get the following error message is (which by the way
does not seem to cover package glossaries):
\tf@toc=\write14 \openout14 = `TESI.toc'.
\tf@lof=\write15 \openout15 = `TESI.lof'.
! No room for a new \write . \alloc@ ...else \errmessage {No room for a
new #2} \fi \fi l.147 \end{document}
This error message was generated by an \errmessage command, so I can't
give any explicit help. Pretend that you're Hercule Poirot: Examine all
clues, and deduce the truth by order and method.
! Missing number, treated as zero. \tf@lot l.147 \end{document}
A number should have been here; I inserted 0'. (If you can't figure out
why I needed to see a number, look upweird error' in the index to The
TeXbook.)
\openout0 = `.tex'.
Package atveryend Info: Empty hook `BeforeClearDocument' on input line
147. [201
] Package atveryend Info: Empty hook AfterLastShipout' on input line 147.
(./TESI.aux) Package atveryend Info: Executing hookAtVeryEndDocument' on
input line 147. Package atveryend Info: Executing hook AtEndAfterFileList'
on input line 147. Package rerunfilecheck Info: Checksums forTESI.out':
(rerunfilecheck) Before: 6858287EFF9067DC2B2F35821F921A46;16384
(rerunfilecheck) After: 39B0DF222BB6E30662BA0A306FB5451C;26306. Package
logreq Info: Writing requests to 'TESI.run.xml'. \openout1 =
`TESI.run.xml'.
Consider the following code:
% arara: pdflatex: {synctex: yes}
% arara: makeglossaries
% arara: pdflatex: {synctex: yes}
% arara: pdflatex: {synctex: yes}
% arara: pdflatex: {synctex: yes}
% !TEX program = pdflatex
\documentclass[a4paper,11pt, twoside]{memoir}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[italian]{babel}
\DeclareRobustCommand*{\acronimo}[1]{%
\mbox{\sffamily\scshape\MakeLowercase{#1}}}
\usepackage{xcolor}
\colorlet{grigioScuro}{gray!75!black}
\colorlet{grigioChiaro}{gray!95!black}
\colorlet{grigioSfondo}{gray!12!white}
\usepackage{hyperref}
\hypersetup{pdfborder=0 0 0,pdfstartpage=1,pdftitle={Titolo
PDF},pdfauthor={Nome Cognome},hidelinks,unicode}
\usepackage{xifthen,xkeyval,xfor,amsgen}
\usepackage[toc,acronym]{glossaries}
\usepackage{glossary-mcols} %su più colonne
%\newglossary[alg]{acronym}{acr}{acn}{\acronymname}
\makeglossaries
\renewcommand*{\glsnamefont}[1]{\textcolor{gray}{\textsf{\MakeLowercase #1}}}
\renewcommand*{\glsnamefont}[1]
\addto\captionsitalian{%
\renewcommand*{\glossaryname}{Glossario}%
\renewcommand*{\acronymname}{Acronimi}%
\renewcommand*{\entryname}{Nomenclatura}%
\renewcommand*{\descriptionname}{Descrizione}%
\renewcommand*{\symbolname}{Simbolo}%
\renewcommand*{\pagelistname}{Elenco delle pagine}%
\renewcommand*{\glssymbolsgroupname}{Simboli}%
\renewcommand*{\glsnumbersgroupname}{Numeri}
}
\ProvidesDictionary{glossaries-dictionary}{Italian}
\providetranslation{Glossary}{Glossario}
\renewcommand*{\glossaryentrynumbers}[1]{\quad #1}
%su più colonne
\renewcommand*{\glsmcols}{2}
\glossarystyle{mcolindex}
\newacronym{fem}{fem}{Finite Element Method}
\newglossaryentry{nomeVoce}{name={nome voce},description={Descrizione
della voce}}
\begin{document}
\printglossary[type=\acronymtype]
\printglossary
\gls{fem}. E poi\dots\ \gls{nomeVoce}
\end{document}
You can reproduce this result without using the option acronym? From the
documentation it seems to me that you understand that we can do, but I did
not succeed even after several attempts.
No comments:
Post a Comment