19.6 Glossary

<..glossary.4ht..>
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 % glossary.4ht                          2014-07-12-22:36 %
 % Copyright (C) 2005--2009       Eitan M. Gurari         %
 <.TeX4ht copyright.>
 <.config glossary.>
 \Hinput{glossary}
 \endinput
 -_-_-

<..config glossary..>
 \def\glosslabel#1{\Link{}{#1}\EndLink}
 \def\glossref#1#2{\Link{#1}{}#2\EndLink}
 -_-_-

The above are problematic when spaces are present.

\documentclass{report} 
 
\usepackage{glossary} 
 
\makeglossary 
 
\begin{document} 
 
\printglossary 
 
\glossary{name=a b,description=c} 
 
\end{document} 

<..config glossary..>+
 \Configure{@begin}{theglossary}{\ind:defs}
 <.theglossary warning.>
 \warn:gls{\jobname}
 -_-_-

<..theglossary warning..>
 \def\warn:gls#1{%
   \expandafter\ifx \csname #1warn:glo\endcsname\relax
      \expandafter\global
          \expandafter\let \csname #1warn:glo\endcsname=\def
      \immediate\write16
         {---------------------------------------------------------}%
      \:warning{If not done so, the glossary is to be processed by
       ^^J\space\space tex ’\string\def\string\filename
          {{#1}{glo}{4dx}{gls}} \noexpand\input\space idxmake.4ht’
       ^^J\space\space  makeindex -o #1.gls -s #1.ist #1.4dx
       ^^Jinstead of
       ^^J\space\space  makeindex -o #1.gls -s #1.ist #1.glo
       ^^JOn some platforms, the quotation marks  should be
       ^^J      replaced by double quotation marks " or eliminated.
       ^^J---------------------------------------------------------
      }%
      {\Configure{Needs}{File: #1.4idx}\Needs{}}%
   \fi}
 -_-_-

<..config glossary..>+
 \def\gloskip{\expandafter\ifx\csname gloskip:\gls@style\endcsname\relax
       \indexspace \else \csname gloskip:\gls@style\endcsname\fi}
 \NewConfigure{gloskip}[2]{\expandafter\def\csname gloskip:#1\endcsname{#2}}
 -_-_-