[texhax] [gloss.sty] problem with manual
Goebel, Juergen, OPE26
juergen.goebel at eads.com
Wed Nov 10 09:09:03 CET 2004
Hi,
At this moment I'm going to use gloss.sty for automatically creating
separate lists for abbreviations (LOA) and for symbols (LOS).
When reading the manual I found in section 4.3 the macro \gloss,
which may be used with different <name>-options. Alas, trying this
I encountered the following problem.
Running the enclosed example file through latex results in an error.
! Undefined control sequence.
\\printgloss <\\printgloss> ...ate \write \csname glsf@\gls at name
\endcsname
{\string \bibda...
l.17 \printgloss[List of Abbreviations]{LOA}
Probably there is something wrong in my approach, but I've no
idea what! Your help is appreciated.
TIA,
Jürgen
% example
\documentclass{scrartcl}
\usepackage{gloss}
\newgloss{LOA}{.loa}{LOA}{glsplain}
\newgloss{LOS}{.los}{LOS}{glsplain}
\newcommand{\loaentry}[1]{\gloss[LOA]{#1}}
\newcommand{\losentry}[1]{\gloss[LOS]{#1}}
\makegloss
\begin{document}
Entries for LOA:
\loaentry{MSK}
\loaentry{PSK}
Entries for LOS:
\losentry{f}
\losentry{fs}
\printgloss[List of Abbreviations]{LOA}
\printgloss[List of Symbols]{LOS}
\end{document}
% loa.bib
@gd{psk,
word={PSK},
definition={Phase Shift Keying}
}
@gd{msk,
word={MSK},
definition={Minimum Shift Keying}
}
% los.bib
@gd{f,
word={$f$},
definition={Frequenz},
group={F}
}
@gd{fs,
word={$f_{s}$},
definition={Sendefrequenz},
group={F},
sort-word={fs}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/texhax/attachments/20041110/943b0a14/attachment.htm
More information about the texhax
mailing list