Debian Codegraph @

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

raw
1 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2 % web.4ht 2009-05-21-09:32 %
3 % Copyright (C) 1999--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 \let\web:startsection=\@startsection
30 \def\@startsection{\def\@seccntformat##1{}\web:startsection}
31
32 \def\maketitle{{%
33 \gHAdvance\:mpNum by 1
34 \HAssign\minipageNum=\:mpNum \relax
35 %
36 \a:mktl
37 \pend:def\webversion{\a:webversion}%
38 \append:def\webversion{\b:webversion}%
39 \pend:def\webtitle{\a:webtitle}%
40 \append:def\webtitle{\b:webtitle}%
41 \pend:def\webauthor{\a:webauthor}%
42 \append:def\webauthor{\b:webauthor}%
43 \pend:def\webuniversity{\a:webuniversity}%
44 \append:def\webuniversity{\b:webuniversity}%
45 \o:maketitle: \b:mktl}}
46
47 \NewConfigure{maketitle}[2]{\def\a:mktl{#1}\def\b:mktl{#2}}
48 \NewConfigure{webauthor}{2}
49 \NewConfigure{webtitle}{2}
50 \NewConfigure{webuniversity}{2}
51 \NewConfigure{webversion}{2}
52 \def\HColor{\:warning{\string\Hcode{...}{...} is deprecated; Use
53 \string\Configure{HColor}{...}{...}}\Configure{HColor}}
54 \NewConfigure{HColor}[2]{\if !#1!\if!#2!\let\HColor\relax \else \edef\HColor{#2}\fi
55 \else
56 \expandafter\edef\csname CLR:#1\endcsname{#2}\fi}
57 \def\:temp#1#2#3{%
58 \@ifundefined{color@#2}%
59 {\c@lor@error{model `#2'}}%
60 {\@ifundefined{\string\color @#1}{}%
61 {\PackageInfo{color}{Redefining color #1}}%
62 \csname color@#2\expandafter\endcsname
63 \csname\string\color @#1\endcsname{#3}}}
64 \ifx \definecolor\:temp
65 \pend:defIII\definecolor{%
66 \expandafter\ifx\csname HColor:##2\endcsname\relax\else
67 \csname HColor:##2\endcsname ##3 //%
68 \edef\:temp{{HColor}{##1}{\HColor}}%
69 \expandafter\Configure\:temp
70 \fi}
71 \fi
72
73 \Hinput{web}
74 \endinput
75