\typeout{review style for asl.cls. Version 1.0a, 03/11/08}

% 1.0a: \booktitle with \@addpunct
% 1.0: As 0.1c-ex.
% 0.1c-ex: problem with toctitle and aslprod by
%    hack removed; has to be changed!
% 0.1b: toctitle printed at the end of a review
% 0.1a: toctitle allowed

%%% New commands
\newcommand\booktitle[1]{{\bfseries\itshape #1}\unskip{\bfseries\itshape\@addpunct{.}}}
\newcommand\editor[1]{edited by #1,}

%%% Citations 
\renewcommand\cite[1]{\citeerror}

%%% Fonts
\newcommand\tbook[1]{{\bfseries\itshape #1}}
\newcommand\tarticle[1]{{\itshape #1}}
\newcommand\citeb[1]{{\bfseries\itshape #1}}
\newcommand\citej[1]{{\bfseries\itshape #1}}
\newcommand\citea[1]{{\itshape #1}}

%%% Special commands
\let\makereviewheadingg\makereviewheading
\def\makereviewheading{%\if\@toctitle\@empty\tocerror\fi%
%\if\@toctitle\@empty\def\toctitle{{--- Missing
%toctitle ---}}\tocerror\fi%
\gdef\@titleindex{1}%
\makereviewheadingg}
%% Don't put \toctitle as title,
%% but typeout a warning if it is missing.

%%%
% Print Toctitle after rev-email
%
%\let\revemaill\revemail
%\renewcommand{\revemail}{\revemaill \par \smallskip\noindent
%\marginpar{\tiny Toc-Entry:} \toctitle}
%\renewcommand{\toctitle}[1]{\if#1\@empty \else%
%\g@addto@macro\localaddresses{%
%\par \smallskip\noindent
%\textsf{\small Entry for the Table of Contents:}\\ #1}\fi%
%\g@addto@macro\localaddresses{\par}
%\gdef\@titleindex{1}}
\renewcommand{\revemail}[1]{\if#1\@empty \else%
\g@addto@macro\localaddresses{%
%\unskip\nobreak\hfil\penalty50% ynm debug 10/12/00
%\hskip .5em\nobreak
\nobreak \hskip .5em\nobreak             % ynm 11/11/00
\hbox{#1. }\hspace*{\fill}}\fi%
\g@addto@macro\localaddresses{\par\bigskip\noindent
%\textsf{\small Entry for the Table of Contents:}\\ \@toctitle}}
\enlargethispage{15pt}\textsf{\small Entry for the Table of Contents:}\\ 
\noindent\parbox[b]{\cw}
{\vskip 2pt
\raggedright
\parshape = 2 0pt \cw 1em \smallcw
%\the\revtitletoks.
\@toctitle.
\hskip .3em Reviewed by \reviewers\dotfill}{\hfill xxx\par}
}}

%\def\bslpaper#1{\noindent\parbox[b]{\cw}
%{\vskip 2pt
%\raggedright
%\parshape = 2 0pt \cw 1em \smallcw
%#1\dotfill}}
\newlength{\tempc}
\settowidth\tempc{\ 9999}
\newlength{\cw}
\setlength{\cw}{\textwidth}
\addtolength{\cw}{-\tempc}
\newlength{\smallcw}
\setlength{\smallcw}{\cw}
\addtolength{\smallcw}{-1em}


%%%%%%%%%%%%%%%%%%%
% Internal data
\typesetter{}
\revdate{OK}
\title{Reviews}
\papertype{reviews}
%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%
% Internal commands
%\def\tocerror{\typeout{^^JWarning: No toctitle!^^J}}
\def\tocerror{\ClassWarning{asl (reviews)}{No toctitle given!}}
\def\citeerror{\ClassError{asl (review)}{The use of the cite command is
forbitten!\MessageBreak Citations should be given in the text!}}
