| 1 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 2 |
% apa-a.4ht 2009-05-21-09:32 % |
| 3 |
% Copyright (C) 2003--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 |
\append:def\maketitle{\egroup} |
| 30 |
\pend:def\maketitle{% |
| 31 |
\bgroup |
| 32 |
\ConfigureEnv{figure}{\def\makebox[########1]########2{}}{}{}{}% |
| 33 |
\@ifundefined{@abstract}{}{% |
| 34 |
\pend:def\@abstract{\a:abstract}% |
| 35 |
\append:def\@abstract{\b:abstract}% |
| 36 |
}% |
| 37 |
\@ifundefined{@note}{}{% |
| 38 |
\pend:def\@note{\a:note}% |
| 39 |
\append:def\@note{\b:note}% |
| 40 |
}% |
| 41 |
\@ifundefined{@author}{}{% |
| 42 |
\pend:def\@affil{\a:affil}% |
| 43 |
\append:def\@affil{\b:affil}% |
| 44 |
}% |
| 45 |
\@ifundefined{@authorOne}{}{% |
| 46 |
\pend:def\@authorOne{\a:author}% |
| 47 |
\append:def\@authorOne{\b:author}% |
| 48 |
\pend:def\@affilOne{\a:affil}% |
| 49 |
\append:def\@affilOne{\b:affil}% |
| 50 |
}% |
| 51 |
\@ifundefined{@authorTwo}{}{% |
| 52 |
\pend:def\@authorTwo{\a:author}% |
| 53 |
\append:def\@authorTwo{\b:author}% |
| 54 |
\pend:def\@affilTwo{\a:affil}% |
| 55 |
\append:def\@affilTwo{\b:affil}% |
| 56 |
}% |
| 57 |
\@ifundefined{@authorFour}{}{% |
| 58 |
\pend:def\@authorFour{\a:author}% |
| 59 |
\append:def\@authorFour{\b:author}% |
| 60 |
\pend:def\@affilFour{\a:affil}% |
| 61 |
\append:def\@affilFour{\b:affil}% |
| 62 |
}% |
| 63 |
% |
| 64 |
} |
| 65 |
\NewConfigure{abstract}{2} |
| 66 |
\NewConfigure{note}{2} |
| 67 |
\NewConfigure{affil}{2} |
| 68 |
\def\appendix{% |
| 69 |
\appendixtrue |
| 70 |
\apaappfig |
| 71 |
\apaapptab |
| 72 |
\ifapamodejou{}{\clearpage} |
| 73 |
\let\old@apa@section=\leveltwo |
| 74 |
\newlength{\app@t@width} |
| 75 |
\setlength{\app@t@width}{\columnwidth} |
| 76 |
\addtolength{\app@t@width}{-8em}% |
| 77 |
\long\def\leveltwo##1{% |
| 78 |
\ifapamodeman{% |
| 79 |
\clearpage |
| 80 |
\setcounter{postfig}{0} |
| 81 |
\setcounter{posttbl}{0} |
| 82 |
\efloat@condopen{fff} |
| 83 |
\efloat@iwrite{fff}{\string\addtocounter{appendix}{1}} |
| 84 |
\efloat@iwrite{fff}{\string\setcounter{figure}{0}} |
| 85 |
\efloat@condopen{ttt} |
| 86 |
\efloat@iwrite{ttt}{\string\addtocounter{appendix}{1}} |
| 87 |
\efloat@iwrite{ttt}{\string\setcounter{table}{0}}% |
| 88 |
}{% |
| 89 |
\setcounter{figure}{0}% |
| 90 |
\setcounter{table}{0}% |
| 91 |
}% |
| 92 |
\refstepcounter{appendix}% |
| 93 |
\ifnum\c@appendix>1 \immediate\write |
| 94 |
\@auxout{\global\string\oneappendixfalse}\fi% |
| 95 |
\old@apa@section{% |
| 96 |
\appendixname\ifoneappendix\else~\theappendix\fi\\ |
| 97 |
##1% |
| 98 |
}% |
| 99 |
}% |
| 100 |
} |
| 101 |
\append:def\seriate{\a:seriate |
| 102 |
\pend:def\item{\c:seriate |
| 103 |
\let\sp:ce=\space |
| 104 |
\def\space{\d:seriate\let\space=\sp:ce \space}% |
| 105 |
}}% |
| 106 |
\pend:def\endseriate{\b:seriate} |
| 107 |
\NewConfigure{seriate}{4} |
| 108 |
\def\s@title{} |
| 109 |
\def\shorttitle#1{} |
| 110 |
\AtBeginDocument{\def\rheadname{}} |
| 111 |
|
| 112 |
\Hinput{apa} |
| 113 |
\endinput |
| 114 |
|