% -*- mode: latex; mode: auto-fill -*-

  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %%% Setup Document Style
  %%%
\documentclass[paper=5.5in:8.5in,pagesize,
               open=any,% ,chapterprefix=false,
               titlepage=false,
               headsepline=true,footsepline=false,
               fontsize=12pt,headings=small]{scrbook}

\addtokomafont{chapter}{\rmfamily}
\addtokomafont{chapterentry}{\rmfamily}
\addtokomafont{sectioning}{\rmfamily}

\areaset[.5in]{3.85in}{7.50in}

\pagestyle{headings}
\usepackage{bookman}
\usepackage[italian]{babel}
\usepackage{amsmath,amssymb,latexsym,xspace}

\usepackage[absolute]{textpos}
\usepackage{graphicx}
\usepackage{wrapfig}

% for digital version, use package on
% next line, which will include hyperlinks
\usepackage{hyperref}

% \usepackage{Sanserif}
% \usepackage[T1]{fontenc}
\usepackage{DejaVuSans}
%% Another possibility is
%% \usepackage{dejavu}
%% which loads the DejaVu Serif and DejaVu Sans Mono fonts as well
\renewcommand*\familydefault{\sfdefault} %% Only if the base font of the document is to be sans serif
\usepackage[T1]{fontenc}

% the following block sets all the hyperref params,
% and might need to be all commented out for the print version
\hypersetup{
    bookmarks=true,         % show bookmarks bar?
    unicode=false,          % non-Latin characters in Acrobat’s bookmarks
    pdftoolbar=true,        % show Acrobat’s toolbar?
    pdfmenubar=true,        % show Acrobat’s menu?
    pdffitwindow=true,     % window fit to page when opened
    pdfstartview={FitH},    % fits the width of the page to the window
    pdfpagelayout={TwoColumnRight},
    pdftitle={Digital Security for Activists},    % title
    pdfauthor={The Riseup Collective},     % author
    pdfsubject={Digital Justice},   % subject of the document
    pdfcreator={LaTeX},   % creator of the document
    pdfproducer={Propaganda Working Group}, % producer of the document
    pdfkeywords={digital justice, security culture}, % list of keywords
    pdfnewwindow=true,      % links in new window
    colorlinks=false,       % false: boxed links; true: colored links
    linkcolor=red,          % color of internal links
    citecolor=green,        % color of links to bibliography
    filecolor=magenta,      % color of file links
    urlcolor=cyan           % color of external links
}

% for printed version, use package on
% next line, instead, for better printing
%\usepackage{url}

% turn off numbers for chapters
% \setcounter{secnumdepth}{-1}
\newcommand{\mychapter}[1]{
  \chapter{#1}
%  \addcontentsline{toc}{chapter}{\protect\numberline{}#1}
}


% uncomment this next line to include a grid for easier
% layout work
%\usepackage[colorgrid,texcoord]{eso-pic}


\usepackage{color}
\definecolor{altbg}{gray}{0}
\definecolor{altfg}{gray}{1}

\recalctypearea


\hyphenation{ri-chie-sto}
\hyphenation{ris-chi}
\hyphenation{chat-ti}
\hyphenation{cer-to}
\hyphenation{pre-fe-ri-sce}
\hyphenation{ar-chi-via-zio-ne}
\hyphenation{am-mi-ni-stra-to-re}
\hyphenation{crit-to-gra-fia}
\hyphenation{vo-stro}
\hyphenation{of-fu-sca-men-to}
\hyphenation{me-glio}
\hyphenation{in-ter-cet-ta-zio-ne}
\hyphenation{que-sti}
\hyphenation{pro-vi-der}
\hyphenation{pro-vi-der}

% \hyphenation{e-ven-tua-li-ta}

%% Enable license helpers
\input{cc_beamer}

\linespread{1.1}


  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %%% The document
  %%%
\begin{document}


\thispagestyle{empty}
$\qquad$
\vspace{3em}
\begin{center}
\Huge Crypt r Die
\end{center}
\vspace{3em}

\begin{center}
AVANA
\end{center}

\newpage


\thispagestyle{empty}
\begin{center}
$\qquad$
\end{center}

\TPGrid{1}{7}

	\vfill
	\begin{center}
		\CcGroupByNcSa{0.83}{0.95ex}\\[2.5ex]
		{\tiny Released under the \emph{Creative Commons\CcLongnameByNcSa} license.}\\
                {\tiny Art/Articles copyright their individual
                  authors.\\
                  Some rights reserved.}
	\end{center}

% \begin{textblock}{1}(0,1)
% \includegraphics[width=.9\TPHorizModule,height=.9\TPHorizModule]{frontcover}
% \end{textblock}

\begin{textblock}{1}(0,6)
\begin{center}
\url{http://we.riseup.net/avana}
\end{center}
\end{textblock}

\newpage

%%%  Don't start counting pages until after the cover
\setcounter{page}{1} 
\tableofcontents


% \TPGrid{1}{7}

% \begin{textblock}{1}(-.05,0)
% \includegraphics[width=.8\TPHorizModule,height=7\TPVertModule]{bird_tree}
% \end{textblock}


 
\include{cryptrdie}




\newpage

\thispagestyle{empty}

% \TPGrid{1}{5}
% \begin{textblock}{1}(0,1)
% \includegraphics[width=.9\TPHorizModule,height=.9\TPHorizModule]{backcover}
% \end{textblock}

\begin{textblock}{1}(0,4.5)
\begin{center}
\url{http://we.riseup.net/avana}
\end{center}
\end{textblock}

\end{document}
