1
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2
% doc.4ht 2005-03-27-10:43 %
3
% Copyright (C) 1997--2005 Eitan M. Gurari %
5
% This work may be distributed and/or modified under the %
6
% conditions of the LaTeX Project Public License, either %
7
% version 1.3 of this license or (at your option) any %
8
% later version. The latest version of this license is %
10
% http://www.latex-project.org/lppl.txt %
11
% and version 1.3 or later is part of all distributions %
12
% of LaTeX version 2003/12/01 or later. %
14
% This work has the LPPL maintenance status "maintained".%
16
% This Current Maintainer of this work %
17
% is Eitan M. Gurari. %
19
% If you modify this program your changing its signature %
20
% with a directive of the following form will be %
22
% \message{signature} %
24
% gurari@cse.ohio-state.edu %
25
% http://www.cse.ohio-state.edu/~gurari %
26
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
27
\immediate\write-1{version 2005-03-27-10:43}
30
\:CheckOption{no^} \if:Option \else
31
\catcode`\^^M13 \def\hat:A#1^^M{\egroup} \catcode`\^^M5 %
32
\def\hhat:A{\bgroup \catcode`\^^M13 \hat:A}
33
\Configure{\string^\string^}{A}{\hhat:A}
35
\def\:temp{{\rmfamily B\textsc{ib}\TeX}}
37
\def\:temp{\textsc{Plain}\TeX}
40
\let\:temp\StopEventually
42
\ifx \:temp\StopEventually
45
\def\:temp{\long\def\StopEventually##1{##1}}
47
\expandafter \egroup \:temp
49
\:CheckOption{broken-index} \if:Option
51
\expandafter\ifx \csname #1warn:idx\endcsname\relax
53
\expandafter\let \csname #1warn:idx\endcsname\def
54
\:warning{If not done so, the index is to be processed by
55
^^J\space\space tex '\string\def\string\filename
56
{{#1}{idx}{4dx}{ind}} \noexpand\input\space idxmake.4ht'
57
^^J\space\space makeindex -s #1.ist -o #1.ind #1.4dx
59
^^J\space\space makeindex -s #1.ist -o #1.ind #1.idx
60
^^JOn some platforms, the quotation marks ' should be
61
^^J replaced by double quotation marks " or eliminated.
63
{\Configure{Needs}{File: #1.4idx}\Needs{}}%
66
\pend:defI\codeline@wrindex{\if@filesw
68
\hbox{\Link-{}{x\last:haddr}\EndLink}}{}%
69
\immediate\write\@indexfile{\string \beforeentry{\RefFileNumber
70
\FileNumber}{\title:chs{x\last:haddr}{\cur:th
71
\:currentlabel}}{\a:makeindex}}\fi}
74
\expandafter\ifx \csname #1warn:idx\endcsname\relax
76
\expandafter\let \csname #1warn:idx\endcsname\def
77
\:warning{If not done so, the index is to be processed by
78
^^J\space\space makeindex -o #1.ind #1.idx
80
{\Configure{Needs}{File: #1.4idx}\Needs{}}%