Debian Codegraph @

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

raw
1 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2 % linguex.4ht 2009-05-21-09:32 %
3 % Copyright (C) 2008--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 \def\:tempc{{\hskip -\glossglue}\unhbox\gline\end{flushleft}%
30 \global\glossfalse%
31 \ifindex\expandafter\lookforwords\fi {} }
32 \ifx \gl@stop\:tempc
33 \def\gl@stop{\b:gll\unhbox\gline\end{flushleft}%
34 \c:gll
35 \global\glossfalse%
36 \ifindex\expandafter\lookforwords\fi {} }
37 \fi
38 \ifx \o:b:\:UnDef\else \let\b\o:b: \let\o:b:\:UnDef\fi
39 \def\:tempc.#1\par{\a:ex \o:ex:.#1\par \b:ex}
40 \HLet\ex\:tempc
41 \NewConfigure{ex}{2}
42 \def\a.{\ifindex\firstwordtrue\fi
43 \ifnum\theExDepth=0 \unembeddedtrue
44 \trivex.\fi
45 \csname a:a.list\endcsname
46 \refstepcounter{ExDepth}%
47 \begin{list}{\makebox[\labelwidth][l]{%
48 \ifnum\theExDepth=1 \SubExLeftBracket\alph{ABC}\SubExRightBracket%
49 \else
50 \ifnum\theExDepth=2 %
51 \ifdim\currentlabel<\lessthanthousand%
52 \ifalignSubEx
53 \llap{\hbox to \alignSubExnegindent{\ifunembedded%
54 \SubExLeftBracket\alph{SubExNo}\SubExRightBracket
55 \else\SubExlabel\fi\hss}}%
56 \else\SubExlabel\fi%
57 \else\ifunembedded%
58 \SubSubExLeftBracket\roman{SubExNo}\SubSubExRightBracket
59 \else\SubExlabel\fi\fi
60 \else
61 \ifnum\theExDepth=3 %
62 \if@noftnote%\ifunembedded\mbox{$\bullet$!}\else
63 \SubSubExLeftBracket\roman{SubSubExNo}\SubSubExRightBracket
64 %\fi
65 \else\arabic{SubSubExNo}\SubSubExRightBracket\fi
66 \fi\fi\fi}}%
67 {\labelsep\z@
68 \ifnum\theExDepth=2\topsep .3\Extopsep\else\topsep 0pt\fi
69 \parsep\z@\itemsep\z@
70 \ifnum\theExDepth=1 %
71 \usecounter{ABC}%
72 \settowidth{\currentlabel}{\theExNo}%
73 \listdecl%
74 \else
75 \ifnum\theExDepth=2 %
76 \usecounter{SubExNo}%
77 \ifalignSubEx\ifdim\currentlabel<\lessthanthousand%
78 \leftmargin\z@\else\leftmargin=\SubExleftmargin\fi%
79 \else\leftmargin=\SubExleftmargin\fi%
80 \else
81 \ifnum\theExDepth=3 \usecounter{SubSubExNo}\fi
82 \leftmargin=\SubSubExleftmargin%
83 \fi
84 \labelwidth=\leftmargin%
85 \fi}%
86 \ifnum\theExDepth=1 \setlength{\Exlabelwidth}{4em}\fi%
87 %previous line added 2000/12/22
88 \b.}
89 \NewConfigure{a.list}{1}
90
91 \Hinput{linguex}
92 \endinput
93