summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/tex4ht/gloss.4ht
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/generic/tex4ht/gloss.4ht')
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/gloss.4ht38
1 files changed, 16 insertions, 22 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/gloss.4ht b/Master/texmf-dist/tex/generic/tex4ht/gloss.4ht
index bb1e6b59799..3d59cd50c70 100644
--- a/Master/texmf-dist/tex/generic/tex4ht/gloss.4ht
+++ b/Master/texmf-dist/tex/generic/tex4ht/gloss.4ht
@@ -1,6 +1,6 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% gloss.4ht 2005-10-23-04:19 %
-% Copyright (C) 2000--2005 Eitan M. Gurari %
+% gloss.4ht 2006-12-01-16:02 %
+% Copyright (C) 2000--2006 Eitan M. Gurari %
% %
% This work may be distributed and/or modified under the %
% conditions of the LaTeX Project Public License, either %
@@ -24,7 +24,7 @@
% gurari@cse.ohio-state.edu %
% http://www.cse.ohio-state.edu/~gurari %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\immediate\write-1{version 2005-10-23-04:19}
+\immediate\write-1{version 2006-12-01-16:02}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def\:tempc{\a:glosslist\o:glosslist:}
@@ -33,28 +33,22 @@
\renewcommand\setglosslabel[1]{%
\def\gls@label##1##2##3{\def\gls@short{##3}%
\c:glosslist #1\d:glosslist }}
-\pend:defIII\gls@label{\c:glosslist}
-\append:defIII\gls@label{\d:glosslist}
\NewConfigure{glosslist}{4}
-
-\pend:def\glso@default{\append:def\glso@word{%
- \def\:tempc{%
- \let\gls@refpage=\gls:refpage
- \csname gls@refpage\endcsname
- \let\gls:printtext=\gls@printtext
- \let\gls@printtext=\gls:prtxt
- }%
- \ifx \gls@refpage\:tempc \else
- \ifx \gls:refpage\:UnDef \let\gls:refpage=\gls@refpage \fi
- \let\gls@refpage=\:tempc
- \fi
-}}
-\def\gls:prtxt#1\fi{\a:gloss \gls:printtext#1\b:gloss\fi}
\NewConfigure{gloss}{2}
-\let\o:glossitem:=\glossitem
-\def\glossitem#1{\gdef\GlossLabel{#1}\o:glossitem:{#1}}
-\expandafter\let\csname glossitem*\endcsname\glossitem
+\AtBeginDocument{%
+ \def\gls@hyperlink#1#2{\a:gloss{#1}{}#2\b:gloss}%
+ \def\gls@raisedlink#1{\gls:raisedlink#1}}
+\def\gls:raisedlink#1#2#3{%
+ \c:glosslist\a:GlossAnchor{}{#2}\b:GlossAnchor
+ \let\gls:label=\gls@label
+ \def\gls@label##1##2##3{\gls:label{##1}{##2}{##3}%
+ \let\gls@label=\gls:label
+ \d:glosslist }%
+}
+\Configure{gloss} {\Link} {\EndLink}
+\NewConfigure{GlossAnchor}{2}
+\Configure{GlossAnchor} {\Link} {\EndLink}
\Hinput{gloss}
\endinput