| 1 |
% glossaries.4ht (2024-12-06-14:38), generated from tex4ht-4ht.tex |
| 2 |
% Copyright 2008-2009 Eitan M. Gurari |
| 3 |
% Copyright 2009-2024 TeX Users Group |
| 4 |
% |
| 5 |
% This work may be distributed and/or modified under the |
| 6 |
% conditions of the LaTeX Project Public License, either |
| 7 |
% version 1.3c of this license or (at your option) any |
| 8 |
% later version. The latest version of this license is in |
| 9 |
% https://www.latex-project.org/lppl.txt |
| 10 |
% and version 1.3c or later is part of all distributions |
| 11 |
% of LaTeX version 2005/12/01 or later. |
| 12 |
% |
| 13 |
% This work has the LPPL maintenance status "maintained". |
| 14 |
% |
| 15 |
% The Current Maintainer of this work |
| 16 |
% is the TeX4ht Project <https://tug.org/tex4ht>. |
| 17 |
% |
| 18 |
% If you modify this program, changing the |
| 19 |
% version identification would be appreciated. |
| 20 |
\immediate\write-1{version 2024-12-06-14:38} |
| 21 |
|
| 22 |
\def\:tempc#1#2{\Link[ class="glossary"]{#1}{}#2\EndLink} |
| 23 |
\HLet\@glslink\:tempc |
| 24 |
\def\:tempc#1#2{\Link{}{#1}\EndLink#2} |
| 25 |
\HLet\@glstarget\:tempc |
| 26 |
\def\:tempc#1 #2\@nil{% |
| 27 |
\toks@=\expandafter{\the\toks@#1}% |
| 28 |
\ifx\\#2\\% |
| 29 |
\edef\x{\the\toks@}% |
| 30 |
\ifx\x\empty |
| 31 |
\else |
| 32 |
% \hyperlink{\glsentrycounter.\the\toks@}% |
| 33 |
{\the\toks@}% |
| 34 |
\fi |
| 35 |
\else |
| 36 |
\@gls@ReturnAfterFi{% |
| 37 |
\@gls@removespaces#2\@nil |
| 38 |
}% |
| 39 |
\fi |
| 40 |
} |
| 41 |
\HLet\@gls@removespaces\:tempc |
| 42 |
\NewConfigure{glossentry}{2} |
| 43 |
|
| 44 |
% Add formatting for glossary entries only if the environment used for printing |
| 45 |
% is not description. It would lead to errors otherwise. |
| 46 |
\def\:glsdescriptionname{description} |
| 47 |
\def\:tempa#1{\ifx\@currenvir\:glsdescriptionname\o:glossentry:{#1}\else\a:glossentry\o:glossentry:{#1}\b:glossentry\fi} |
| 48 |
\HLet\glossentry\:tempa |
| 49 |
|
| 50 |
\NewConfigure{glsgroupskip}{1} |
| 51 |
\def\:tempa{\a:glsgroupskip} |
| 52 |
\HLet\glsgroupskip\:tempa |
| 53 |
|
| 54 |
|
| 55 |
\Configure{@begin}{theglossary}{ |
| 56 |
\Configure{theindex}{}{}{}{}{}{}{}{}{}{} |
| 57 |
\def\idx:item{\SaveEverypar\ht:everypar{}} |
| 58 |
\let\end:theidx\empty |
| 59 |
} |
| 60 |
|
| 61 |
\Hinput{glossaries} |
| 62 |
\endinput |
| 63 |
|