This also works (I couldn't get the above script working for a symbol list with units AND glossary..). Important is the order of lines here!
BasicFile.tex:
%Load the package
\usepackage[
nonumberlist, %do not show page numbers
acronym, %generate acronym listing -> Not used in this example (see line with %%% )
toc, %show listings as entries in table of contents
section] %use section level for toc entries
{glossaries}
%Generate a list of symbols
\newglossary[slg]{symbols}{syi}{syg}{List of symbols}
%Remove the dot at the end of glossary descriptions
\renewcommand*{\glspostdescription}{}
%Activate glossary commands
\makeglossaries
%Load nomenclature and glossary files
\loadglsentries{nomenclature}
\loadglsentries{glossary}
%These commands sort the lists
%%%makeindex -s filename.ist -t filename.alg -o filename.acr filename.acn
%makeindex -s filename.ist -t filename.glg -o filename.gls filename.glo
%makeindex -s filename.ist -t filename.slg -o filename.syi filename.syg
\begin{document}
%Print the glossary
\printglossary[style=altlist,title=Glossary]
%%%%Print list of acronyms
%%%\printglossary[type=\acronymtype,style=long]
%Print list of symbols
\printglossary[type=symbols,style=long4col]
\clearpage
bla-bla \gls{h} \gls{nslats} \gls{illuminance}
\end{document}
nomenclature.tex:
%Some entries for the list of symbols
\newglossaryentry{nslats}{
name=$nslats$,
description={The number of slats},
sort=S, type=symbols, symbol=[$-$]}
\newglossaryentry{h}{
name=$h$,
description={Height},
sort=h, type=symbols, symbol=[$m$]}
glossary.tex
%Some glossary terms
\newglossaryentry{illuminance}{
name=Illuminance,
description={Light flux striking a surface, measured in Lux (lx).}
}
%%% In case you also want a list acronyms
%%%\newacronym{MS}{MS}{Microsoft}
%%%\newacronym{CD}{CD}{Compact Disc}
I don't use Perl so I type these lines directly in the command prompt after changes in any file (notice: if you didn't change anything concerning the glossary or the symbol list it is be okay to just pdflatex only once!):
pdflatex BasicFile.tex
pdflatex BasicFile.tex
makeindex -s BasicFile.ist -t BasicFile.slg -o BasicFile.syi BasicFile.syg
makeindex -s BasicFile.ist -t BasicFile.glg -o BasicFile.gls Report_Base_v6.glo
pdflatex BasicFile.tex
BasicFile.pdf
glosspackage for the abbreviations? – guillem Dec 12 '12 at 7:21glossaries, a package which is capable of dealing with multiple - well - glossaries. – cgnieder Dec 12 '12 at 9:06glossaries, Iused that myself, and it works great. I guess it is up to @cgnieder to make that an answer. – mafp Dec 12 '12 at 16:36glossariesis perfectly capable of the task it's not an answer to the question, strictly speaking... – cgnieder Dec 12 '12 at 17:50