69,6 → 69,26 |
|
%%%%% <-- % The place for your own macros is here. |
|
\def\gloslist{} |
\def\glos #1#2{\global\sdef{;#1}{{#1}{#2}}% |
\global\expandafter\addto\expandafter\gloslist\expandafter{\csname;#1\endcsname}% |
} |
\def\makeglos{% |
\ifx\gloslist\empty |
\opwarning{Gossary data unavailable}% |
\else |
\bgroup |
\let\iilist=\gloslist |
\dosorting |
\def\act##1{\ifx##1\relax \else \expandafter\printglos##1\expandafter\act\fi} |
\expandafter\act\iilist\relax |
\egroup |
\fi |
} |
\newdimen\glosindent \glosindent=2\parindent |
\def\printglos #1#2{\noindent #1 -- #2\par} |
|
|
%\draft % Uncomment this if the version of your document is working only. |
%\linespacing=1.7 % uncomment this if you need more spaces between lines |
% Warning: this works only when \draft is activated! |