Debian Codegraph @

texmf-dist/tex/generic/tex4ht/gloss.4ht

raw
1 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2 % gloss.4ht 2009-05-21-09:32 %
3 % Copyright (C) 2000--2009 Eitan M. Gurari %
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 %
9 % in %
10 % http://www.latex-project.org/lppl.txt %
11 % and version 1.3c or later is part of all distributions %
12 % of LaTeX version 2005/12/01 or later. %
13 % %
14 % This work has the LPPL maintenance status "maintained".%
15 % %
16 % This Current Maintainer of this work %
17 % is Eitan M. Gurari. %
18 % %
19 % If you modify this program your changing its signature %
20 % with a directive of the following form will be %
21 % appreciated. %
22 % \message{signature} %
23 % %
24 % [email protected] %
25 % http://www.cse.ohio-state.edu/~gurari %
26 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
27 \immediate\write-1{version 2009-05-21-09:32}
28
29 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
30 \def\:tempc{\a:glosslist\o:glosslist:}
31 \HLet\glosslist=\:tempc
32 \append:def\endglosslist{\b:glosslist}
33 \renewcommand\setglosslabel[1]{%
34 \def\gls@label##1##2##3{\def\gls@short{##3}%
35 \c:glosslist #1\d:glosslist }}
36 \NewConfigure{glosslist}{4}
37 \NewConfigure{gloss}{2}
38
39 \AtBeginDocument{%
40 \def\gls@hyperlink#1#2{\a:gloss{#1}{}#2\b:gloss}%
41 \def\gls@raisedlink#1{\gls:raisedlink#1}}
42 \def\gls:raisedlink#1#2#3{%
43 \c:glosslist\a:GlossAnchor{}{#2}\b:GlossAnchor
44 \let\gls:label=\gls@label
45 \def\gls@label##1##2##3{\gls:label{##1}{##2}{##3}%
46 \let\gls@label=\gls:label
47 \d:glosslist }%
48 }
49 \Configure{gloss} {\Link} {\EndLink}
50 \NewConfigure{GlossAnchor}{2}
51 \Configure{GlossAnchor} {\Link} {\EndLink}
52
53 \Hinput{gloss}
54 \endinput
55