# LaTeX AFT 5.0 rules
#
ID	LaTeX

# Should AFT interpolate strings? (i.e. perform backslash substitutions, etc)
# For TeX: No! TeX uses backslashes for commands!
#
interpolate	no

Preamble{
%LaTeX 2.e output generated byt AFT
\documentclass{article}
\usepackage{epsfig}
\usepackage{alltt}
\usepackage{latexsym}
\parskip 5pt
\parindent 0pt
%\addtolength{\textwidth}{0.5in}
%\addtolength{\textheight}{0.75in}
\setlength{\evensidemargin}{0pt}
\setlength{\oddsidemargin}{0pt}
\setlength{\topmargin}{14pt}
\setlength{\headsep}{20pt}
\setlength{\marginparwidth}{5pt}
\setlength{\footskip}{1pt}
\setlength{\hoffset}{0pt}
\addtolength{\textwidth}{1.75in}
\addtolength{\textheight}{1.00in}
\pagestyle{headings}
\begin{document}
}Preamble

Postamble{
\end{document}

}Postamble

# Pre-Filters....
#

preFilter	\\.gif	\.eps
preFilter	\$	\\\$

# Allow TeX stylle linebreaks
#
preFilter	\\\\	%LiNeBrEaK%

preFilter	\\([^\$])	\\(\\backslash\\)$1

# No hyperlinks... so make  references where applicable
#
URL	{\tt %text%}
InternalReference	{\bf %text%}($\S$\ref{%target%})
Target		%text%\label{%target%}


# Protect the AFT hypertext braces
#
preFilter	\{\+(.*?)\+\}	%LeFtB%PlUs$1%PlUs%RiGhTB
preFilter	\}\+(.*?)\+\{	%RiGhTB%PlUs$1%PlUs%LeFtB
preFilter	\{\-(.*?)\-\}	%LeFtB%NeG$1%NeG%RiGhTB
preFilter	\}\-(.*?)\-\{	%RiGhTB%NeG$1%NeG%LeFtB

# Escape TeX braces
#
preFilter	[\{\}]	\\(\\$&\\)

preFilter	%LeFtB	{
preFilter	%RiGhTB	}
preFilter	%PlUs	+
preFilter	%NeG	-

postFilter	LaTeX	\\LaTeX{}
postFilter	[^a]TeX	\\TeX{}
postFilter	"(.*?)"	``$1''

# Formfeeds will force a new page
#
postFilter	\014	\\newpage

# Do the complex escaping that TeX likes
#
postFilter	[\^\~]	\\$&\{\}
postFilter	\[	\\lbrack{}
postFilter	\]	\\rbrack{}
postFilter	\|	\\(\\\vert\\)
postFilter	[\#\%\_\&]	\\$&

# The following 3 are used exclusively for AFTWEB... they should exist in
# their own dat file, but until then...
#
postFilter	<([^>]+?)>\+=	\\(\\langle\\)$1\\(\\rangle\\)+\\(\\equiv\\)
postFilter	<([^>]+?)>=	\\(\\langle\\)$1\\(\\rangle\\)\\(\\equiv\\)
postFilter	<([^>]+\s+\d+\s*?)>	{\\em\\(\\langle\\)$1\\(\\rangle\\)}

postFilter	[\<\>]	\\($&\\)
preFilter	%LiNeBrEaK%	\\\\

Title		\title{%title%}
Author		\author{%author%}\maketitle
TOC		\tableofcontents
Image		\epsfig{figure=%image%}
Image-center	\begin{center}\epsfig{figure=%image%}\end{center}
Image-left	\begin{flushleft}\epsfig{figure=%image%}\end{flushleft}
Image-right	\begin{flushright}\epsfig{figure=%image%}\end{flushright}

*		\section{%section%}\label{%section%}
**		\subsection{%section%}\label{%section%}
***		\subsubsection{%section%}\label{%section%}
****		\paragraph{%section%}\label{%section%}

^*		\section*{%section%}\addcontentsline{toc}{section}{%section%}\label{%section%}
^**		\subsection*{%section%}\addcontentsline{toc}{subsection}{%section%}\label{%section%}
^***		\subsubsection*{%section%}\addcontentsline{toc}{subsubsection}{%section%}\label{%section%}
^****		\paragraph*{%section%}\label{%section%}

EndSect1	
EndSect2	
EndSect3	
EndSect4	

StartParagraph	
EndParagraph	
Center		\begin{center} %center% \end{center}
HorizontalLine	\hrulefill


StartTable		\hrulefill \\\\ \begin{tabbing}
TableCaption		{\bf %caption%} \\\\
TableHeader		%stuff% \=\=
TableElement		%stuff%\>\>
TableRowStart		
TableRowEnd		\\\\ \hrulefill
EndTable		\end{tabbing} \hrulefill

StartBulletList		\begin{itemize}
BulletListElement	\item[$\bullet$]
EndBulletListElement	
EndBulletList		\end{itemize}

StartNamedList		\begin{itemize}
NamedListElement	\item[] {\bf %name%} -
EndNamedListElement	
EndNamedList		\end{itemize}

StartNumberedList	\begin{enumerate}
NumberedListElement	\item
EndNumberedListElement	
EndNumberedList		\end{enumerate}

StartQuote		\begin{quotation}
EndQuote		\end{quotation}

PreFilterVerbatim?	No
FullFilterFilteredVerbatim?		Yes
StartVerbatim		\begin{verbatim}
EndVerbatim		\end{verbatim}
StartBlockedVerbatim		\begin{verbatim}
EndBlockedVerbatim		\end{verbatim}
StartFilteredVerbatim		\begin{alltt}
EndFilteredVerbatim		\end{alltt}

StartTeletype		{\tt 
EndTeletype		}

StartSmall		{\rm\small 
EndSmall		}

StartEmphasis		{\em 
EndEmphasis		}

StartStrong		{\bf 
EndStrong		}

CommentLine		%%--- %line%
StrikeLine		%%--- %line%

NBSPACE	
