%
% Run this through \LaTeX...
%
% If it complains about "a4.sty" then remove the reference
% to "a4" from the \documentstyle line below...
%
% $Id: amd.tex,v 1.1.1.1 2018/04/24 16:12:57 root Exp $
%
% Copyright (c) 1989 Jan-Simon Pendry
% Copyright (c) 1989 Imperial College of Science, Technology & Medicine
% Copyright (c) 1989 The Regents of the University of California.
% All rights reserved.
%
% This code is derived from software contributed to Berkeley by
% Jan-Simon Pendry at Imperial College, London.
%
% Redistribution and use in source and binary forms are permitted provided
% that: (1) source distributions retain this entire copyright notice and
% comment, and (2) distributions including binaries display the following
% acknowledgement:  ``This product includes software developed by the
% University of California, Berkeley and its contributors'' in the
% documentation or other materials provided with the distribution and in
% all advertising materials mentioning features or use of this software.
% Neither the name of the University nor the names of its contributors may
% be used to endorse or promote products derived from this software without
% specific prior written permission.
% THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
% WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
% MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
%
%	@(#)amd.tex	5.1 (Berkeley) 7/19/90


%
% Set this to Report for a report
% or Article for an article
%
\def\ArticleReport{Article}


\def\Article{Article}
\def\ifarticle{\ifx\ArticleReport\Article}

%\documentstyle[a4,nh,11pt,twoside,openbib,draft]{report}

%\documentstyle[a4,nh,11pt,openbib,draft]{report}
\ifarticle
\documentstyle[a4,nh]{article}
\else
\documentstyle[a4,nh,11pt,openbib]{report}
\fi
\newcommand{\DRAFT}{}%{DRAFT}
\newcommand{\VERSION}{5.1d}
\newcommand{\AKAVERSION}{5.1.1.7}

%
% The next block of commands are only used in report mode
%
\ifarticle
\newcommand{\Chapter}{\section}\renewcommand{\chapter}{\section}
\newcommand{\Section}{\subsection}
\newcommand{\Subsection}{\subsubsection}
\else
\newcommand{\Chapter}{\chapter}
\newcommand{\Section}{\section}
\newcommand{\Subsection}{\subsection}
\fi

\pagestyle{footers}
\pagenumbering{roman}

\newcommand{\Edition}{Second}

\newcommand{\see}{}

\setheader{}
\setfooter{}
\setchapterfoot{}

\ifarticle\else
\setcounter{tocdepth}{2}
\setcounter{secnumdepth}{2}
\fi

\newcommand{\C}{{\sf C}}
\newcommand{\Unix}{{\sc Unix}}
\newcommand{\NFS}{{\sf NFS}}
\newcommand{\UFS}{{\sf UFS}}
\newcommand{\Amd}{{\sf Amd}}
\newcommand{\Amq}{{\sf Amq}}
\newcommand{\amd}{{\sf amd}}
\newcommand{\amq}{{\sf amq}}
\newcommand{\opt}[1]{{\tt #1}}
\newcommand{\Ref}[1]{{\S\ref{#1},~p\pageref{#1}}}
\newcommand{\Var}[1]{{\tt \$\{{#1}\}}}
\newcommand{\etc}{{\em etc\/}}
\newcommand{\ie}{{\em\/ie\/}}
\newcommand{\eg}{{\em\/eg\/}}

\begin{document}
\input title
\input overview
\input maps
\input cmdline
\input fstype
\input amq
\input examples
\input internals
\input biblio

\end{document}
