Debian Codegraph @

texmf-dist/tex/generic/tex4ht/acm_proc_article-sp.4ht

raw
1 % acm_proc_article-sp.4ht (2023-04-10-13:46), generated from tex4ht-4ht.tex
2 % Copyright (C) 2001-2009 Eitan M. Gurari
3 % Copyright 2009-2023 TeX Users Group
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 in
9 % http://www.latex-project.org/lppl.txt
10 % and version 1.3c or later is part of all distributions
11 % of LaTeX version 2005/12/01 or later.
12 %
13 % This work has the LPPL maintenance status "maintained".
14 %
15 % The Current Maintainer of this work
16 % is the TeX4ht Project <http://tug.org/tex4ht>.
17 %
18 % If you modify this program, changing the
19 % version identification would be appreciated.
20 \immediate\write-1{version 2023-04-10-13:46}
21
22 \catcode`\:=12
23 \def\@citex#1[#2]#3{%
24 \let\@citea\@empty
25 \csname a:cite\endcsname
26 \@cite{%
27 \@for\@citeb:=#3\do{%
28 \@citea
29 \def\@citea{#1 }%
30 \edef\@citeb{\expandafter\@iden\@citeb}%
31 \if@filesw
32 \immediate\write\@auxout{\string\citation{\@citeb}}%
33 \fi
34 \@ifundefined{b@\@citeb}{%
35 {\bf ?}%
36 \@warning{%
37 Citation `\@citeb' on page \thepage\space undefined%
38 }%
39 }%
40 {\cIteLink {X\@citeb}{}\csname b@\@citeb\endcsname\EndcIteLink}%
41 }%
42 }{#2}%
43 \csname b:cite\endcsname
44 }
45 \catcode`\:=11
46 \def\qed:sym{\leavevmode\a:qed }
47 \def\:temp{\qed:sym \global\@qededtrue }
48 \HLet\qed\:temp
49 \NewConfigure{qed}{1}
50 \def\endfigure{\end@float}
51 \def\endtable{\end@float}
52 \def\:temp#1{\a:email{#1}}
53 \HLet\email=\:temp
54 \def\c:email:{\def\a:email##1}
55 \Configure{email}{\o:email:{#1}}
56 \NewConfigure{caption}[4]{\c:def\cptA:{#1}\c:def\cptB:{#2}%
57 \c:def\cptC:{#3}\c:def\cptD:{#4}}
58 \long\def\@makecaption#1#2{%
59 {\cptA: \cap:ref{#1}%
60 \if :#1:\else\cptB:\fi}{\cptC:{#2}\cptD:}}
61
62 \def\:temp{\let\sv:item\item
63 \def\item[##1]{\nobreak
64 \let\item\sv:item
65 \item[##1]\b:newtheorem}%
66 \a:newtheorem %\AutoRefstepAnchor
67 \o:@ydefthm:}
68 \HLet\@ydefthm\:temp
69 \def\:temp{\let\sv:item\item
70 \def\item[##1]{\nobreak
71 %
72 \let\item\sv:item\item[##1]\b:newtheorem}%
73 \a:newtheorem %\AutoRefstepAnchor
74 \o:@begindef:}
75 \HLet\@begindef\:temp
76 \def\:temp{\let\sv:item\item
77 \def\item[##1]{\nobreak
78 %
79 \let\item\sv:item\item[##1]\b:proof}%
80 \a:proof \o:@proof:}
81 \HLet\@proof\:temp
82 \def\:temp{\let\sv:item\item
83 \def\item[##1]{\nobreak
84 %
85 \let\item\sv:item\item[##1]\b:proof}%
86 \a:proof \o:@xproof:}
87 \HLet\@xproof\:temp
88 \append:def\endproof{\c:proof}
89 \NewConfigure{proof}{3}
90 \pend:def\@maketitle{%
91 \let\thefootnote=\no:thefootnote
92 \let\@makefnmark=\no:@makefnmark
93 \pend:def\@title{\a:title}\append:def\@title{\b:title}%
94 \edef\:temp{\the\subtitletext}%
95 \ifx \:temp\empty \else
96 \edef\:temp{\subtitletext={\noexpand\a:subtitle
97 \the\subtitletext\noexpand\b:subtitle}}\:temp
98 \fi
99 \ConfigureEnv{center}{\empty}{}{\empty}{\empty}
100 \Configure{tabular}{}{}{}{}{\a:author}{\b:author}
101 \ConfigureEnv{tabular}{\empty}{}{}{}%
102 \ifx \@thanks\empty\else
103 \pend:def\@thanks{\a:thanks}\append:def\@thanks{\b:thanks}%
104 \fi
105 }
106 \NewConfigure{title}{2}
107 \NewConfigure{subtitle}{2}
108 \NewConfigure{thanks}{2}
109 \NewConfigure{author}{2}
110 \pend:def\maketitle{%
111 \let\no:thefootnote=\thefootnote
112 \let\no:@makefnmark=\@makefnmark
113 \a:maketitle \bgroup
114 \gHAdvance\:mpNum by 1
115 \HAssign\minipageNum=\:mpNum \relax
116 %
117 }
118 \append:def\maketitle{\egroup \b:maketitle }
119 \NewConfigure{maketitle}{2}
120 \def\titlenote{\@ifnextchar[\@xtitlenote{%
121 \global\advance\titlenotecount by 1
122 \let\acm:@footnotetext=\@footnotetext
123 \let\acm:thefootnote=\thefootnote
124 \long\def\@footnotetext####1{%
125 \let\@footnotetext=\acm:@footnotetext
126 {\reset@font\footnotesize
127 \@footnotetext{####1}}\let\thefootnote=\acm:thefootnote}%
128 \def\thefootnote{\@fnsymbol\titlenotecount}%
129 \footnote}}
130 \pend:def\abstract{\titlenotecount=0 }
131 \NewConfigure{toappear}{2}
132 \def\@copyrightspace{\ifx \@toappear\empty \else
133 \a:toappear{%
134 \edef\:temp{\the\conf}\ifx \:temp\empty\else
135 \edef\:temp{\conf={\noexpand\a:conf\the\conf\noexpand\b:conf}}\:temp
136 \fi
137 \edef\:temp{\the\confinfo}\ifx \:temp\empty\else
138 \edef\:temp{\confinfo={\noexpand
139 \a:confinfo\the\confinfo\noexpand\b:confinfo}}\:temp
140 \fi
141 \edef\:temp{\the\copyrightetc}\ifx \:temp\empty\else
142 \edef\:temp{\copyrightetc={\noexpand
143 \a:copyrightetc\the\copyrightetc\noexpand\b:copyrightetc}}\:temp
144 \fi
145 %
146 \crnotice{\@toappear}}\b:toappear
147 \fi}
148 \NewConfigure{boilerplate}{2}
149 \NewConfigure{conf}{2}
150 \NewConfigure{confinfo}{2}
151 \NewConfigure{copyrightetc}{2}
152 \def\@part[#1]#2{%
153 \ifnum \c@secnumdepth >-2\relax
154 \SkipRefstepAnchor \refstepcounter{part}%
155 \addcontentsline{toc}{part}{\thepart\hspace{1em}#1}%
156 \else
157 \addcontentsline{toc}{part}{#1}%
158 \fi
159 }
160 \let\:tempb\part
161 \Def:Section\part{\thepart}{#1}
162 \let\:part\part
163 \let\part\:tempb
164 \let\no@part\@part
165 \def\@part[#1]#2{%
166 {\let\addcontentsline\:gobbleIII\no@part[#1]{}}%
167 \HtmlEnv \Toc:Title{#1}\:part{#2}%
168 \csname @endpart\endcsname%
169 }
170 \Def:Section\likepart{}{#1}
171 \let\:likepart\likepart
172 \let\likepart\:UnDef
173 \let\no@spart\@spart
174 \def\@spart#1{%
175 {\let\addcontentsline\:gobbleIII\no@spart{}}%
176 \HtmlEnv \:likepart{#1}}
177
178 \let\no@section\section
179 \Def:Section\section{\ifnum \c:secnumdepth>\c@secnumdepth \else
180 \thesection \fi}{#1}
181 \let\no:section\section
182 \def\section{\rdef:sec{section}}
183 \Def:Section\likesection{}{#1}
184 \let\:likesection\likesection
185 \let\likesection\:UnDef
186
187 \let\no@subsection\subsection
188 \Def:Section\subsection{\ifnum \c:secnumdepth>\c@secnumdepth \else
189 \thesubsection \fi}{#1}
190 \let\no:subsection\subsection
191 \def\subsection{\rdef:sec{subsection}}
192 \Def:Section\likesubsection{}{#1}
193 \let\:likesubsection\likesubsection
194 \let\likesubsection\:UnDef
195
196 \let\no@subsubsection\subsubsection
197 \Def:Section\subsubsection{\ifnum \c:secnumdepth>\c@secnumdepth \else
198 \thesubsubsection \fi}{#1}
199 \let\no:subsubsection\subsubsection
200 \def\subsubsection{\rdef:sec{subsubsection}}
201 \Def:Section\likesubsubsection{}{#1}
202 \let\:likesubsubsection\likesubsubsection
203 \let\likesubsubsection\:UnDef
204
205 \let\no@paragraph\paragraph
206 \Def:Section\paragraph{\ifnum \c:secnumdepth>\c@secnumdepth \else
207 \theparagraph \fi}{#1}
208 \let\no:paragraph\paragraph
209 \def\paragraph{\rdef:sec{paragraph}}
210 \Def:Section\likeparagraph{}{#1}
211 \let\:likeparagraph\likeparagraph
212 \let\likeparagraph\:UnDef
213 \let\no@subparagraph\subparagraph
214 \Def:Section\subparagraph{\ifnum \c:secnumdepth>\c@secnumdepth \else
215 \thesubparagraph \fi}{#1}
216 \let\no:subparagraph\subparagraph
217 \def\subparagraph{\rdef:sec{subparagraph}}
218 \Def:Section\likesubparagraph{}{#1}
219 \let\:likesubparagraph\likesubparagraph
220 \let\likesubparagraph\:UnDef
221
222 \let\acm:sect\no@sect
223 \def\no@sect#1#2#3{\acm:sect{#1}{#2}{#3\relax\let\@svsec\empty}}
224
225 \Hinput{acm-proc-article-sp}
226 \endinput
227