IIRC few days ago someone asked for a glossary support. I quickly checked the archives and it seemed to me that nobody hasn't point out a gloss based solution. Sorry if someone did it.
As far as my knowledge is concerned one of the most useful packages regarding glossaries is gloss. This package uses bibtex to generate the entries in the same way that a bibliography does.
Attached to this message you can find an example of a lyx file using gloss, glossary.lyx, and gloss-bibtex-like database of symbols, example_gloss. The sequence of commands to obtain the glossary is:
lyx --export latex glossary.lyx latex glossary bibtex glossary % to generate the bibliography bibtex glossary.gls % to generate the glossary latex glossary
I'd like to take advantage of this message to ask developers for a proper support of this package. IMHO it is only needed a menu entry completely analogous to Insert->List and TOC -> BibTeX Reference ...
but with GlossTeX, some latex commands to the preamble and that lyx takes care of the execution of bibtex $1.gls when a GlossTeX Reference is inserted. I always thought that this can not be very difficult however I could be completely wrong, so sorry if this is not the case.
Hope at least someone could benefit of the advantages of gloss. Best wishes -- http://www.iit.upco.es/~oscar Make me look like LINDA RONSTADT again!!
#LyX 1.3 created this file. For more info see http://www.lyx.org/ \lyxformat 221 \textclass article \begin_preamble \usepackage[refpages]{gloss} \makegloss \setglosstext{invisible}{} \setglossgroup{S}{Symbols} \setglossgroup{O}{Operators} \setglossgroup{B}{Subscripts} \setglossgroup{C}{Superscripts} \setglossgroup{A}{Acronyms}
\usepackage{multicol}
\end_preamble
\options boxed,a4paper
\language english
\inputencoding iso88595
\fontscheme times
\graphics default
\float_placement !htpb
\paperfontsize 12
\spacing single
\papersize Default
\paperpackage widemarginsa4
\use_geometry 1
\use_amsmath 1
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\topmargin 2cm
\bottommargin 2cm
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle fancy
\layout Section
\line_bottom
Glossary
\layout Standard
\begin_inset ERT
status Open
\layout Standard
\backslash
columnseprule=.4pt
\layout Standard
\backslash
begin{multicols}{2}
\layout Standard
\backslash
gloss[nocite]{*}
\layout Standard
\backslash
printgloss{example_gloss}
\layout Standard
\backslash
end{multicols}
\end_inset
\the_end
% This file was created by ./math2bib
% (c) 1999 by Jose Luis Dias and Javier Bezos.
% All Rights Reserved.
%
% This file is part of the gloss distribution release 1.4
% -----------------------------------------------------------
@string{alphasort = "01"}
@string{betasort = "02"}
@string{gammasort = "03"}
@string{deltasort = "04"}
@string{epsilonsort = "05"}
@string{zetasort = "06"}
@string{etasort = "07"}
@string{thetasort = "08"}
@string{iotasort = "09"}
@string{kappasort = "10"}
@string{lambdasort = "11"}
@string{musort = "12"}
@string{nusort = "13"}
@string{xisort = "14"}
@string{omicronsort = "15"}
@string{pisort = "16"}
@string{rhosort = "17"}
@string{sigmasort = "18"}
@string{tausort = "19"}
@string{upsilonsort = "20"}
@string{phisort = "21"}
@string{chisort = "22"}
@string{psisort = "23"}
@string{omegasort = "24"}
% -----------------------------------------------------------
% Subscripts group="B"
% -----------------------------------------------------------
@GLOSSDEF{sub-an,
word=" $ an $ ",
definition={Anhysterestic},
group="B"
}
@GLOSSDEF{sub-alpha,
word=" $ \alpha $ ",
definition={Aging rate},
group="B"
}
@GLOSSDEF{sub-d,
word=" $ d $ ",
definition={Dielectric},
group="B"
}
@GLOSSDEF{sub-i,
word=" $ i $ ",
definition={Irreversible},
group="B"
}
@GLOSSDEF{sub-m,
word=" $ m $ ",
definition={Magnetostrictive},
group="B"
}
@GLOSSDEF{sub-p,
word=" $ p $ ",
definition={Piezoelectric},
group="B"
}
@GLOSSDEF{sub-r,
word=" $ r $ ",
definition={Reversible},
group="B"
}
@GLOSSDEF{sub-s,
word=" $ s $ ",
definition={Saturation conditions},
group="B"
}
% -----------------------------------------------------------
% Superscripts group="C"
% -----------------------------------------------------------
@GLOSSDEF{super-e,
word=" $ e $ ",
definition={Element quantity},
group="C"
}
% -----------------------------------------------------------
% Symbols group="S"
% -----------------------------------------------------------
@GLOSSDEF{a,
word="$a$",
definition={ Ahnysteretic magnetization shape parameter },
group="S"
}
@GLOSSDEF{alpha,
word="$\alpha$",
definition={ Domain interaction parameter },
group="S"
}
@GLOSSDEF{a-u,
word="$A$",
definition={ Cross section },
group="S"
}
@GLOSSDEF{sigma,
word="$\sigma$",
definition={ Stress },
group="S"
}
@GLOSSDEF{sigma0,
word="$\sigma_0$",
definition={ Precompression stress },
group="S"
}
@GLOSSDEF{t,
word="$t$",
definition={ Time variable },
group="S"
}
@GLOSSDEF{tau,
word="$\tau$",
definition={ Time shift },
group="S"
}
@GLOSSDEF{varepsilon,
word="$\varepsilon$",
definition={ Strain },
group="S"
}
@GLOSSDEF{v-u,
word="$V$",
definition={ Volume },
group="S"
}
@GLOSSDEF{x,
word="$x$",
definition={ Longitudinal spatial coordinate },
group="S"
}
