On Sat, May 05, 2001 at 01:08:15PM +0200, Herbert Voss wrote:
> "Joao B. Oliveira" wrote:
> >
> > Once again Herbert scores a point... I was using another form of abbreviation,
> > including it in a .loa file:
> >
> > \newcommand{\abbrev}[2]{%
> > \if@abbrlistmissing
> > \listofabbreviations
> > \@abbrlistmissingfalse
> > \fi
> > \addtocontents{loa}{\protect\makebox[8em][l]{#1}{#2}\newline}
> > }
> >
> > The problem was that calling \addtocontents with the unprotected first
> > argument did not work at all. Interestingly, Herbert's solution works
> > quite differently and avoids the problem.
> >
> > On the other hand, now all abbreviations must be together in the
> > beginning of the file, and cannot be apreaded around the text.
>
> in this case you should use package nomencl. it does what you want!
> have a look at the attached dvi and lyx-file.
>
> the only problem is, that you have to run latex by hand!
> 1. file->export->latex
> 2. from shell run twice: latex myFile.tex
> 2a. makeindex -p -s myFile.tex if you have an index in text
> 3. makeindex myFile.glo -s myFile.ist -o myFile.gls
> 4. latex myFile.tex
...or create a shell script which does the above and call that as a
converter for your "new" file type.
Kenward
--
It is not so very important for a person to learn facts. For that he
doesn't really need a college education, for he can learn them from
books. The value of an education in a liberal arts college is not the
learning of many facts but the training of the mind to thinking--something
that cannot be learned from books. Albert Einstein