%% LaTeX Beamer presentation template (requires beamer package)
%% see http://latex-beamer.sourceforge.net/
%% idea contributed by H. Turgut Uyar
%% template based on a template by Till Tantau
%% this template is still evolving - it might differ in future releases!


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%  Uncomment version below for creating normal slides  %%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\documentclass{beamer}
% allow absolutely-positioned blocks
\usepackage[absolute,overlay]{textpos}

\newif\ifsolutions

% Swap this to solutionstrue to include solution slides for the hands-on
% exercises
\solutionstrue
%\solutionsfalse

% Set up an \omitfromhandout command to specify slides that should be omitted
% when generating the handout.
\makeatletter
\newwrite\tf@ofh
\immediate\openout\tf@ofh\jobname.ofh
\makeatother

\newcommand{\omitfromhandout}{\addtocontents{ofh}{\thepage}}

\renewcommand<>{\omitfromhandout}[0]{{\only#1{\beameroriginal{\omitfromhandout}}}}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%  Uncomment version below for creating handouts  %%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% \documentclass[handout]{beamer}
% \usepackage{pgfpages}
% \pgfpagesuselayout{4 on 1}[a4paper, landscape, border shrink=5mm]

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\mode<presentation>

\usetheme{GATE}
\input{slides-preamble}

% use bold font for \alert.  This is only sensible if all your alerts are in tt
% text (as otherwise alerting would change the text layout), but in cases where
% they are bold red shows up a lot better on a projector than just red text.
\setbeamerfont{alerted text}{series=\bfseries}

\title{Advanced GATE Embedded}
\subtitle{Track II, Module 8}


% This is only inserted into the PDF information catalog. Can be left
% out.
\subject{Advanced GATE Embedded}

% If you have a file called "university-logo-filename.xxx", where xxx
% is a graphic format that can be processed by latex or pdflatex,
% resp., then you can add a logo as follows:

%\pgfdeclareimage[height=2cm]{university-logo}{../../images/logo.png}
%\logo{\pgfuseimage{university-logo}}



% Delete this, if you do not want the table of contents to pop up at
% the beginning of each section:
\AtBeginSection[]
{
\begin{frame}<beamer>
\frametitle{Outline}
\tableofcontents[currentsection]
\end{frame}
}

\begin{document}

% listings language definition for Groovy
\lstset{keywordstyle=[3]\bfseries\color{gate-dark-green},}
\lstdefinelanguage{groovy}[]{java}{
  % groovy keywords to typeset the same as Java keywords
  morekeywords={as,def,in,use},
  % GDK methods to highlight
  keywords=[3]{each,findAll,eachWithIndex,collect,groupBy,inject},
}

\begin{frame}
\titlepage
\end{frame}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{frame}{Outline}
\tableofcontents
% You might wish to add the option [pausesections]
\end{frame}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% sections in separate files
\input{uima}
\input{webapps}
\input{groovy}

\begin{frame}
\frametitle{Further Reading}
\begin{itemize}
\item UIMA: \url{http://uima.apache.org}
  \begin{itemize}
  \item \url{http://gate.ac.uk/userguide/chap:uima} for the GATE integration
    layer.
  \end{itemize}
\item Spring: \url{http://www.springsource.org}
\item Groovy: \url{http://groovy.codehaus.org}
  \begin{itemize}
  \item \url{http://gate.ac.uk/userguide/sec:api:groovy} for GATE details.
  \item Also worth a look: Grails: \url{http://grails.org}.  A Groovy- and
    Spring-based rapid development framework for web applications (we use
    Grails for GATE Wiki and M\'i{}mir).
  \end{itemize}
\end{itemize}
\end{frame}

\end{document}

% vim:ft=tex:
