%
% Copyright LANL
% Copyright Kitware
%
% This is documentation for the cinema file specification 
%

\documentclass{article}

\usepackage[export]{adjustbox}
\usepackage{authblk}
\usepackage[small,bf]{caption}
\usepackage{cite}
\usepackage{enumitem}
\setlist[description]{leftmargin=\parindent,labelindent=\parindent}
\usepackage{fancyhdr}
\usepackage{graphicx}
\usepackage[margin=1in]{geometry}
\usepackage{pdfpages}
\usepackage{tcolorbox}
\usepackage{times}
\usepackage{verbatim}
\usepackage{wallpaper}
\usepackage{xspace}


\begin{comment}
This is where we will put the copyright code
\end{comment}

\newcommand{\LAUR} {LA-UR-15-20572\xspace}
\newcommand{\insitu} {\textit{in situ}\xspace}
\newcommand{\CinemaSpecVersion} {v1.0\xspace}
\newcommand{\Simple} {\textit{Simple}\xspace}
\newcommand{\chaplin} {\textit{Chaplin}\xspace}
\newcommand{\Current} {\chaplin}

\pagestyle{fancy}
\fancyhf{}
\renewcommand{\headrulewidth}{0pt}
\chead{\LAUR}
\cfoot{\thepage}

\begin{document}

\renewcommand\Authands{ and }


%---------------------------------------------------------------------
% Title page 
%---------------------------------------------------------------------
\ThisCenterWallPaper{1.0}{img/script_cover.png}
\thispagestyle{empty}

\begin{ttfamily}
\begin{center}
\ \ \\
\vspace{3.5 in}
Cinema Database Specification \\
\bigskip
\bigskip
\Current Release \\
\bigskip
\LAUR\\
\bigskip
\bigskip
\bigskip
\bigskip
by \\
\bigskip
David DeMarle (Kitware, Inc)\\
David Rogers (LANL)\\
Jon Woodring (LANL)\\
John Patchett (LANL)\\
Berk Geveci (Kitware, Inc)\\
\end{center}
\vspace{1.0 in}
\begin{flushright}
Los Alamos National Laboratory\\
Bikini Atoll Rd., SM 30\\
Los Alamos, NM 87545\\
cinema@lanl.gov\\
\end{flushright}
\end{ttfamily}
\newpage

\tableofcontents
\newpage

\pagenumbering{arabic}

%---------------------------------------------------------------------
% Begin Content
%---------------------------------------------------------------------

\section{Cinema Overview}
\input{tex/cinema}

\newpage
\section{The Cinema \Current Specification}
\input{tex/chaplin}

\subsection{Chaplin Grammar}
\input{tex/grammar}

\subsection{Interpretation}
\input{tex/interpretation}

\subsubsection{Metadata}
\input{tex/metadata}

\subsubsection{Parameters}
\input{tex/parameters}

\subsubsection{Constraints}
\input{tex/constraints}

\newpage
\subsection{Storage Structure}
\input{tex/storage}

\section{Example}
\input{tex/example}

\section{Notes on Previous Specifications}
\input{tex/otherspecs}

\section{Contact Information}
\input{tex/contact}


\bibliography{bib}{}
\bibliographystyle{unsrt}


\end{document}
