69.57 acm-proc-article-sp.sty

files

<..acm_proc_article-sp.4ht..>
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 % acm_proc_article-sp.4ht               2014-07-12-22:36 %
 % Copyright (C) 2001--2009       Eitan M. Gurari         %
 <.TeX4ht copyright.>
    <.config acm-proc-article-sp.>
 \Hinput{acm-proc-article-sp}
 \endinput
 -_-_-

<..sig-alternate.4ht..>
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 % sig-alternate.4ht                     2014-07-12-22:36 %
 % Copyright (C) 2001--2009       Eitan M. Gurari         %
 <.TeX4ht copyright.>
    \input acm_proc_article-sp.4ht
    <.config sig-alternate.>
 \Hinput{sig-alternate}
 \endinput
 -_-_-

The above style files, and provided example, are a little weirds at points.

<..config sig-alternate..>
 \def\thesubsubsection{\thesubsection.\arabic{subsubsection}}
 \def\theparagraph{\thesubsubsection.\arabic{paragraph}}
 \def\endthebibliography{\endlist}
 -_-_-

<..config acm-proc-article-sp..>
 \catcode‘\:=12
 \def\@citex#1[#2]#3{%
     \let\@citea\@empty
     \csname a:cite\endcsname
     \@cite{%
         \@for\@citeb:=#3\do{%
             \@citea
             \def\@citea{#1 }%
             \edef\@citeb{\expandafter\@iden\@citeb}%
             \if@filesw
                 \immediate\write\@auxout{\string\citation{\@citeb}}%
             \fi
             \@ifundefined{b@\@citeb}{%
                 {\bf ?}%
                 \@warning{%
                     Citation ‘\@citeb’ on page \thepage\space undefined%
                 }%
             }%
             {\cIteLink {X\@citeb}{}\csname b@\@citeb\endcsname\EndcIteLink}%
         }%
     }{#2}%
     \csname b:cite\endcsname
 }
 \catcode‘\:=11
 -_-_-

<..config acm-proc-article-sp..>+
 \def\qed:sym{\leavevmode\a:qed }
 \def\:temp{\qed:sym \global\@qededtrue }
 \HLet\qed=\:temp
 \NewConfigure{qed}{1}
 \def\endfigure{\end@float}
 \def\endtable{\end@float}
 \def\:temp#1{\a:email{#1}}
 \HLet\email=\:temp
 \def\c:email:{\def\a:email##1}
 \Configure{email}{\o:email:{#1}}
 <.config makecaption.>
 -_-_-

<..config acm-proc-article-sp..>+
 \def\:temp{\let\sv:item\item
    \def\item[##1]{<.no page break before item.>\let\item\sv:item
                   \item[##1]\b:newtheorem}%
    \a:newtheorem  %\AutoRefstepAnchor
    \o:@ydefthm:}
 \HLet\@ydefthm\:temp
 \def\:temp{\let\sv:item\item
    \def\item[##1]{<.no page break before item.>%
                   \let\item\sv:item\item[##1]\b:newtheorem}%
    \a:newtheorem  %\AutoRefstepAnchor
    \o:@begindef:}
 \HLet\@begindef\:temp
 \def\:temp{\let\sv:item\item
    \def\item[##1]{<.no page break before item.>%
                   \let\item\sv:item\item[##1]\b:proof}%
    \a:proof  \o:@proof:}
 \HLet\@proof\:temp
 \def\:temp{\let\sv:item\item
    \def\item[##1]{<.no page break before item.>%
                   \let\item\sv:item\item[##1]\b:proof}%
    \a:proof \o:@xproof:}
 \HLet\@xproof\:temp
 \append:def\endproof{\c:proof}
 \NewConfigure{proof}{3}
 -_-_-

<..config acm-proc-article-sp..>+
 \pend:def\@maketitle{%
   \let\thefootnote=\no:thefootnote
   \let\@makefnmark=\no:@makefnmark
   \pend:def\@title{\a:title}\append:def\@title{\b:title}%
   \edef\:temp{\the\subtitletext}%
   \ifx \:temp\empty \else
      \edef\:temp{\subtitletext={\noexpand\a:subtitle
                    \the\subtitletext\noexpand\b:subtitle}}\:temp
   \fi
   \ConfigureEnv{center}{\empty}{}{\empty}{\empty}
   \Configure{tabular}{}{}{}{}{\a:author}{\b:author}
   \ConfigureEnv{tabular}{\empty}{}{}{}%
   \ifx \@thanks\empty\else
     \pend:def\@thanks{\a:thanks}\append:def\@thanks{\b:thanks}%
   \fi
 }
 \NewConfigure{title}{2}
 \NewConfigure{subtitle}{2}
 \NewConfigure{thanks}{2}
 \NewConfigure{author}{2}
 \pend:def\maketitle{%
    \let\no:thefootnote=\thefootnote
    \let\no:@makefnmark=\@makefnmark
    \a:maketitle \bgroup
    <.adjust minipageNum for setcounter footnote 0.>%
 }
 \append:def\maketitle{\egroup \b:maketitle }
 \NewConfigure{maketitle}{2}
 \def\titlenote{\@ifnextchar[\@xtitlenote{%
    \global\advance\titlenotecount by 1
    \let\acm:@footnotetext=\@footnotetext
    \let\acm:thefootnote=\thefootnote
    \long\def\@footnotetext####1{%
          \let\@footnotetext=\acm:@footnotetext
          {\reset@font\footnotesize
           \@footnotetext{####1}}\let\thefootnote=\acm:thefootnote}%
    \def\thefootnote{\@fnsymbol\titlenotecount}%
    \footnote}}
 \pend:def\abstract{\titlenotecount=0 }
 -_-_-

<..config acm-proc-article-sp..>+
 \NewConfigure{toappear}{2}
 \def\@copyrightspace{\ifx \@toappear\empty \else
     \a:toappear{%
       <.toappear parts.>%
       \crnotice{\@toappear}}\b:toappear
   \fi}
 \NewConfigure{boilerplate}{2}
 \NewConfigure{conf}{2}
 \NewConfigure{confinfo}{2}
 \NewConfigure{copyrightetc}{2}
 -_-_-

<..toappear parts..>
 \edef\:temp{\the\conf}\ifx \:temp\empty\else
   \edef\:temp{\conf={\noexpand\a:conf\the\conf\noexpand\b:conf}}\:temp
 \fi
 \edef\:temp{\the\confinfo}\ifx \:temp\empty\else
   \edef\:temp{\confinfo={\noexpand
       \a:confinfo\the\confinfo\noexpand\b:confinfo}}\:temp
 \fi
 \edef\:temp{\the\copyrightetc}\ifx \:temp\empty\else
   \edef\:temp{\copyrightetc={\noexpand
      \a:copyrightetc\the\copyrightetc\noexpand\b:copyrightetc}}\:temp
 \fi
 -_-_-

<..config acm-proc-article-sp..>+
 <.html late parts.>
 <.html late sections.>
 <.subsections for book / report / article.>
 <.subsubsections for book / report / article.>
 <.paragraphs for book / report / article.>
 \let\acm:sect=\no@sect
 \def\no@sect#1#2#3{\acm:sect{#1}{#2}{#3\relax\let\@svsec=\empty}}
 -_-_-