\documentclass[11pt]{article}

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[english]{babel}
\usepackage{hyperref}

\title{Fast set implementation based on a hybrid hashtable and AVL}
\author{
    Julian Ganz\\
    \and
    Matthias Beyer\\
}

\begin{document}

\maketitle{}

\tableofcontents{}

\input{intro}
\input{overview}
\input{data-layout}
\input{operations}
\input{parameters}

\end{document}

Add inclusion of amsmfonts package

\documentclass[11pt]{article}

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[english]{babel}
\usepackage{hyperref}

\usepackage{amsfonts}

\title{Fast set implementation based on a hybrid hashtable and AVL}
\author{
    Julian Ganz\\
    \and
    Matthias Beyer\\
}

\begin{document}

\maketitle{}

\tableofcontents{}

\input{intro}
\input{overview}
\input{data-layout}
\input{operations}
\input{parameters}

\end{document}


\section{Miscellaneous}
\label{sec:misc}

    This section serves the purpose of documenting miscellaneous algorithms used
    in the library.

Add explanation of bit counting algorithm

\section{Miscellaneous}
\label{sec:misc}

    This section serves the purpose of documenting miscellaneous algorithms used
    in the library.

    \subsection{Bit counting algorithm}
    \label{sec:misc-bitcount}

        A classical way of counting bits set in an integer is to perform shifts
        to the right, reading out the single bits and counting up a variable for
        each bit found set to $1$.
        This simple algorithm is in $O(n)$, where $n$ is the number of bits in
        an integer.
        This section will introduce an algorithm which performs the same task,
        but is in $O(log(n))$.

        An integer is a series of bits, representing a number. But each bit
        itself or any sub-group of adjacent bits within the integer may also
        be interpreted as a number.

        Now imagine each bit of an integer as an virtual integer of it's own,
        which may be either $0$ or $1$.
        If we group those bits into pairs, and add up each pair, the result is
        half the number of integers, which may each take the place of the pair
        which was used to calculate them.
        Each of the new integers holds the number of bits set in the original
        pair.
        Now imaging those 2bit-wide integers be grouped in pairs and added up.
        The result will be, again, half the number of integers which are now
        4bit wide.
        The step may be continued until only one number remains, which fills up
        the entire space of the physical integer.
        This integer now holds the number of bits which were set in the original
        integer fed to the algorithm.
        For a visualization of the algorithm, see figure
        \ref{fig:misc-bitcount-hierarchical_merge}).

        \begin{figure}[!h]
            \caption{Hierarchical merges}
            \label{fig:misc-bitcount-hierarchical_merge}
            \begin{center}
                \includegraphics{fig/hierarchical-merge.1}
            \end{center}
        \end{figure}

        The algorithm is in $O(log(n))$ if we manage to perform each step in
        constant time, e.g. independently of the number of pairs being merged.
        This is, indeed, possible using bitwise operations which affect all the
        pairs in parallel.

        To merge each pair, we have to shift the entire physical integer to the
        right by the width of one virtual integer.
        This results in the ``higher'' of the integers in a pair to be on the
        same ``level'' as the ``lower'' one was before.
        If we mask both the result of the shifting operation and the original
        value, we have two clean sets of virtual integers.
        If we add those physical integers the regular way, the overflows of each
        pair will end up in the place where the ``higher'' of the virtual
        integers was before (see fig. \ref{fig:misc-bitcount-single_merge}).
        Since the overflow may be of one bit at most, this is acceptable.

        \begin{figure}[!h]
            \caption{A single merge}
            \label{fig:misc-bitcount-single_merge}
            \begin{center}
                \includegraphics{fig/single-merge.1}
            \end{center}
        \end{figure}


\documentclass{article}
% This is the main document.
%
% The different document parts are loaded using the 'subfiles' package.

% For compiling subdocuments separately.
\usepackage{subfiles}

% To get automatic line breaks in tables.
\usepackage{tabularx}

% Colors, mainly red
\usepackage{color}

% To include figures
\usepackage{graphicx}

% graphics path
\graphicspath{{img/}{../img/}}

% force figure placment
\usepackage{float}

\begin{document}
\subfile{tex/titlepage}

\subfile{tex/abstract}
\newpage

\subfile{tex/contents}
\newpage

\subfile{tex/introduction}

\subfile{tex/project_plan}

\subfile{tex/preliminary_study}

\subfile{tex/lifecycle_model}

\subfile{tex/requirements}

\subfile{tex/sprint1}

\subfile{tex/sprint2}

\subfile{tex/sprint3}

\subfile{tex/conclusion}

\subfile{tex/appendices}

\end{document}

Make initial pages use roman numerals.

\documentclass{article}
% This is the main document.
%
% The different document parts are loaded using the 'subfiles' package.

% For compiling subdocuments separately.
\usepackage{subfiles}

% To get automatic line breaks in tables.
\usepackage{tabularx}

% Colors, mainly red
\usepackage{color}

% To include figures
\usepackage{graphicx}

% graphics path
\graphicspath{{img/}{../img/}}

% force figure placment
\usepackage{float}

\begin{document}
\renewcommand{\thepage}{\roman{page}}
\subfile{tex/titlepage}

\subfile{tex/abstract}
\newpage

\subfile{tex/contents}
\newpage

\setcounter{page}{1}
\renewcommand{\thepage}{\arabic{page}}
\subfile{tex/introduction}

\subfile{tex/project_plan}

\subfile{tex/preliminary_study}

\subfile{tex/lifecycle_model}

\subfile{tex/requirements}

\subfile{tex/sprint1}

\subfile{tex/sprint2}

\subfile{tex/sprint3}

\subfile{tex/conclusion}

\subfile{tex/appendices}

\end{document}


\documentclass{beamer}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[english]{babel}
\usepackage{graphicx}
\usepackage{times}

\usepackage{xkeyval}
\usepackage{todonotes}
\presetkeys{todonotes}{inline}{}

\usetheme{AGH}

\title[Mindmapping system]{Mindmapping system for Android}

\author[Szawan, Rus]{Katarzyna Szawan\\Michał Rus}

\date[2013]{28/11/2013}

\institute[AGH-UST]
{Wydział EAIiB\\
Katedra informatyki
}

\setbeamertemplate{itemize item}{$\maltese$}

\begin{document}

{
%\usebackgroundtemplate{\includegraphics[width=\paperwidth]{titlepage}} % wersja angielska
\usebackgroundtemplate{\includegraphics[width=\paperwidth]{titlepagepl}} % wersja polska
 \begin{frame}
   \titlepage
 \end{frame}
}

%---------------------------------------------------------------------------

\input{mind-maps}
\input{our-app}
\input{android-akka-spray}
\input{collaboration}
\input{synchronization}
\input{subtree-recreation}
\input{summary}

%---------------------------------------------------------------------------

\end{document}

Add Igor Wojnicki, PhD to the list of authors

\documentclass{beamer}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[english]{babel}
\usepackage{graphicx}
\usepackage{times}

\usepackage{xkeyval}
\usepackage{todonotes}
\presetkeys{todonotes}{inline}{}

\usetheme{AGH}

\title[Mindmapping system]{Mindmapping system for Android}

\author[Szawan, Rus]{Katarzyna Szawan\\Michał Rus\\dr inż. Igor Wojnicki}

\date[2013]{28/11/2013}

\institute[AGH-UST]
{Wydział EAIiB\\
Katedra informatyki
}

\setbeamertemplate{itemize item}{$\maltese$}

\begin{document}

{
%\usebackgroundtemplate{\includegraphics[width=\paperwidth]{titlepage}} % wersja angielska
\usebackgroundtemplate{\includegraphics[width=\paperwidth]{titlepagepl}} % wersja polska
 \begin{frame}
   \titlepage
 \end{frame}
}

%---------------------------------------------------------------------------

\input{mind-maps}
\input{our-app}
\input{android-akka-spray}
\input{collaboration}
\input{synchronization}
\input{subtree-recreation}
\input{summary}

%---------------------------------------------------------------------------

\end{document}


@Book{Bueler2021,
  AUTHOR    = {E. Bueler},
  TITLE     = {{PETSc} for {P}artial {D}ifferential {E}quations: {N}umerical
               {S}olutions in {C} and {P}ython},
  PUBLISHER = {SIAM Press},
  ADDRESS   = {Philadelphia},
  YEAR      = {2021},
  URL       = {https://github.com/bueler/p4pdes},
}

Add nonstandard bibtex field "isbn" for completeness.

@Book{Bueler2021,
  AUTHOR    = {E. Bueler},
  TITLE     = {{PETSc} for {P}artial {D}ifferential {E}quations: {N}umerical
               {S}olutions in {C} and {P}ython},
  PUBLISHER = {SIAM Press},
  ADDRESS   = {Philadelphia},
  YEAR      = {2021},
  ISBN      = {9781611976304},
  URL       = {https://github.com/bueler/p4pdes},
}


@article{Kurimo:2017,
  author    = {Mikko Kurimo and
               Seppo Enarvi and
               Ottokar Tilk and
               Matti Varjokallio and
               Andr{\'e} Mansikkaniemi and
               Tanel Alum{\"a}e},
  title     = {Modeling under-resourced languages for speech recognition},
  journal   = {Language Resources and Evaluation},
  issn      = {1574-0218},
  numpages  = {27},
  year      = {2017},
  month     = dec,
  volume    = {51},
  number    = {4},
  pages     = {961--987},
  publisher = {Springer},
  address   = {Dordrecht, The Netherlands},
  language  = {eng},
  doi       = {10.1007/s10579-016-9336-9},
  url       = {http://dx.doi.org/10.1007/s10579-016-9336-9}
}

Address to Springer main office

@article{Kurimo:2017,
  author    = {Mikko Kurimo and
               Seppo Enarvi and
               Ottokar Tilk and
               Matti Varjokallio and
               Andr{\'e} Mansikkaniemi and
               Tanel Alum{\"a}e},
  title     = {Modeling under-resourced languages for speech recognition},
  journal   = {Language Resources and Evaluation},
  issn      = {1574-0218},
  numpages  = {27},
  year      = {2017},
  month     = dec,
  volume    = {51},
  number    = {4},
  pages     = {961--987},
  publisher = {Springer},
  address   = {New York, NY, USA},
  language  = {eng},
  doi       = {10.1007/s10579-016-9336-9},
  url       = {http://dx.doi.org/10.1007/s10579-016-9336-9}
}


\author{Guido van Rossum\\
	Fred L. Drake, Jr., editor}
\authoraddress{
	BeOpen PythonLabs\\
	E-mail: \email{python-docs@python.org}
}

\date{September 5, 2000}			% XXX update before release!
\release{2.0b1}

Remove the specific date -- back in development mode.

\author{Guido van Rossum\\
	Fred L. Drake, Jr., editor}
\authoraddress{
	BeOpen PythonLabs\\
	E-mail: \email{python-docs@python.org}
}

\date{\today}			% XXX update before release!
\release{2.0b1}


\chapter{Contributors}
\noindent

The ORFEO Toolbox is a project conducted by CNES and developed in
cooperation with CS (Communication \& Syst\`{e}mes), \url{http://www.c-s.fr}.\\

This Software Guide is based on the ITK Software Guide: the build
process for the documentation, many examples and even the \LaTeX~ ~
sources were taken from ITK. We are very grateful to the ITK
developers and contributors and especially to Luis Ib\'a\~nez.\\

The OTB specifics were implemented and documented by the OTB Development Team
with some help from several contributors. Without these people OTB will not be
where it is today. This list is presented in alphbetical order and not by
importance of contribution:

\input{ContributorList.tex}

Contributions from users are expected and encouraged for the coming
versions of the ORFEO ToolBox.

Fix typo in Software Guide

\chapter{Contributors}
\noindent

The ORFEO Toolbox is a project conducted by CNES and developed in
cooperation with CS (Communication \& Syst\`{e}mes), \url{http://www.c-s.fr}.\\

This Software Guide is based on the ITK Software Guide: the build
process for the documentation, many examples and even the \LaTeX~ ~
sources were taken from ITK. We are very grateful to the ITK
developers and contributors and especially to Luis Ib\'a\~nez.\\

The OTB specifics were implemented and documented by the OTB Development Team
with some help from several contributors. Without these people OTB will not be
where it is today. This list is presented in alphabetical order and not by
importance of contribution:

\input{ContributorList.tex}

Contributions from users are expected and encouraged for the coming
versions of the ORFEO ToolBox.


\hrulefill

% \begin{itemize}
% \item \textbf{Research question}
% \item \textbf{Methodology}
% \item \textbf{Findings/results}
% \item \textbf{Author recommendations for future research}
% \item \textbf{Keywords}
% \item \textbf{How could I improve the study?}
% \end{itemize}

% \begin{itemize}
% \item \textbf{Is the research question wrong?}
% \item \textbf{Did they leave something out?}
% \item \textbf{Is the methodology faulty?}
% \item \textbf{Were the findings faulty?}
% \item \textbf{Can I pursue the author's recommendation for future research?}
% \end{itemize}

%%% Local Variables:
%%% mode: latex
%%% TeX-master: "annotated-bibliography-fake"
%%% End:
\newpage

Add \input{ruffle-files line to template

\hrulefill

\input{ruffle-files/<cite-key>.ruf}

% \begin{itemize}
% \item \textbf{Research question}
% \item \textbf{Methodology}
% \item \textbf{Findings/results}
% \item \textbf{Author recommendations for future research}
% \item \textbf{Keywords}
% \item \textbf{How could I improve the study?}
% \end{itemize}

% \begin{itemize}
% \item \textbf{Is the research question wrong?}
% \item \textbf{Did they leave something out?}
% \item \textbf{Is the methodology faulty?}
% \item \textbf{Were the findings faulty?}
% \item \textbf{Can I pursue the author's recommendation for future research?}
% \end{itemize}

%%% Local Variables:
%%% mode: latex
%%% TeX-master: "annotated-bibliography-fake"
%%% End:
\newpage


@report{bitcoin,
author = {Satoshi Nakamoto},
title = {Bitcoin: A Peer-to-Peer Electronic Cash System},
type = {},
institution = {},
date = {},
}

@report{bartercast,
author = {Michel Meulpolder, Johan Pouwelse, Dick Epema, Henk Sips},
title = {BarterCast: Fully distributed Sharing-Ratio Enforcement in BitTorrent},
type = {},
institution = {TU Delft},
date = {},
}

@report{dispersy,
author = {Boudewijn Schoon},
title = {Dispersy: Distributed Permission System},
type = {},
institution = {TU Delft},
date = {},
}

@book{networksbook,
author = {Andrew S. Tanenbaum, David J. Wetherall},
title = {Computer Networks, Fifth edition},
date = {2011},
}

@online{noclassesvid,
ALTauthor = {Jack Diederich},
ALTeditor = {editor},
title = {Stop Writing Classes. http://pyvideo.org/video/880/stop-writing-classes, 24-06-2015},
date = {24-06-2015},
url = {http://pyvideo.org/video/880/stop-writing-classes}
}

Update references to include more information.

@article{bitcoin,
  title={Bitcoin: A peer-to-peer electronic cash system},
  author={Nakamoto, Satoshi},
  journal={Consulted},
  volume={1},
  number={2012},
  pages={28},
  year={2008}
}

@article{bartercast,
  title={Bartercast: Fully distributed sharing-ratio enforcement in bittorrent},
  author={Meulpolder, Michel and Pouwelse, Johan and Epema, Dick and Sips, Henk},
  journal={Delft University of Technology-Parallel and Distributed Systems Report Series},
  year={2008}
}

@report{dispersy,
author = {Boudewijn Schoon},
title = {Dispersy: Distributed Permission System},
type = {},
institution = {TU Delft},
date = {},
}

@book{networksbook,
author = {Andrew S. Tanenbaum, David J. Wetherall},
title = {Computer Networks, Fifth edition},
date = {2011},
}

@online{noclassesvid,
ALTauthor = {Jack Diederich},
ALTeditor = {editor},
title = {Stop Writing Classes. http://pyvideo.org/video/880/stop-writing-classes, 24-06-2015},
date = {24-06-2015},
url = {http://pyvideo.org/video/880/stop-writing-classes}
}


\begin{abstract}

This paper presents experiences using Intel's KNL MIC platform, focusing on 1)
porting of existing scientific applications; 2) observed performance of this
software.  Additionally, we comment on both the ease of use of KNL and observed
performance of KNL as compared to previous generation ``Knights Ferry'' and
``Knights Corner'' Xeon Phi MICs~\cite{schulz2012early}.  Fortran, C, and C++
applications are chosen from a variety of scientific disciplines including
computational fluid dynamics, numerical linear algebra, uncertainty
quantification, finite-element methods, and computational chemistry.

\keywords{co-processors \and heterogeneous computing \and scientific
  applications \and many integrated cores \and many-core architecture}

\end{abstract}

Add stampede 2 hype to abstract

\begin{abstract}

This paper presents experiences using Intel's KNL MIC platform on early-access
hardware for the upcoming Stampede 2 cluster launching in Summer 2017. We focus
on 1) porting of existing scientific software; 2) observed performance of this
software.  Additionally, we comment on both the ease of use of KNL and observed
performance of KNL as compared to previous generation ``Knights Ferry'' and
``Knights Corner'' Xeon Phi MICs~\cite{schulz2012early}.  Fortran, C, and C++
applications are chosen from a variety of scientific disciplines including
computational fluid dynamics, numerical linear algebra, uncertainty
quantification, finite element methods, and computational chemistry.

\keywords{co-processors \and heterogeneous computing \and scientific
  applications \and many integrated cores \and many-core architecture}

\end{abstract}


---
---
@article{chhabra2019,
  abbr={PATENT},
  title={Multiple Pane Web Display with Dynamic Content (Patent pending)},
  author={Chhabra, Vidhem and Jain, Abhineet and Pandya, Aditya and Park, David and Johanssen, Christian},
  journal={U.S. Patent and Trademark Office, Application No. 16/711299},
  year={2019},
  abstract={Improve job application experience for job seekers on Indeed.com by displaying job description and application form on a
single page with an inset online resume editor.}
}

Add Workshop paper in Bibliography

---
---
@article{chhabra2019,
  abbr={PATENT},
  title={Multiple Pane Web Display with Dynamic Content (Patent pending)},
  author={Chhabra, Vidhem and Jain, Abhineet and Pandya, Aditya and Park, David and Johanssen, Christian},
  journal={U.S. Patent and Trademark Office, Application No. 16/711299},
  year={2019},
  abstract={Improve job application experience for job seekers on Indeed.com by displaying job description and application form on a
single page with an inset online resume editor.}
}

@article{jain2022correctivedemos,
  title={Evaluating the Effectiveness of Corrective Demonstrations and a Low-Cost Sensor for Dexterous Manipulation},
  author={Jain, Abhineet* and Kolb, Jack and Abbess IV, J. M. and Ravichandar, Harish},
  journal={Machine Learning in Human-Robot Collaboration Workshop at ACM/IEEE International Conference on Human-Robot Interaction},
  year={2022}
}


\begin{frame}
\frametitle{Nasze rozwiązanie --- dla end-usera}

\begin{columns}[c]
	\begin{column}{.45\textwidth}
		\begin{enumerate}
\item \todo{Że na Androida.}

\item \todo{Że import.}

\item \todo{Że synchronizacja online i offline.}

\item \todo{Że banalne w obsłudze --- genialny UX!}
		\end{enumerate}
	\end{column}
	\begin{column}{.45\textwidth}
		\begin{figure}
			\includegraphics[width=\textwidth]{xmind}
			\caption{Mapa myśli z XMind-a.}
		\end{figure}
	\end{column}
\end{columns}

\end{frame}

Add information to our app slide

\begin{frame}
\frametitle{Nasze rozwiązanie --- dla end-usera}

\begin{columns}[c]
	\begin{column}{.45\textwidth}
		\begin{enumerate}
 \item Android
 \item Kompatybilność z formatem programu XMind
 \item Kolaboracja online
 \item Synchronizacja offline
 \item Intuicyjny interfejs użytkownika
		\end{enumerate}
	\end{column}
	\begin{column}{.45\textwidth}
		\begin{figure}
			\includegraphics[width=\textwidth]{xmind}
			\caption{Mapa myśli z XMind-a.}
		\end{figure}
	\end{column}
\end{columns}

\end{frame}


\usepackage{newunicodechar}

\DeclareUnicodeCharacter{0101}{\=a}
\newunicodechar{⏎}{$\hookleftarrow$} % \hookleftarrow ≅ ↩

Add replacements for unicode chars

\usepackage{newunicodechar}

\DeclareUnicodeCharacter{0101}{\=a}
\newunicodechar{⏎}{$\hookleftarrow$} % \hookleftarrow ≅ ↩
\newunicodechar{🔑}{key}
\newunicodechar{🦄}{unicorn}
\newunicodechar{👾}{alien}


\newcommand{\lib}{\texttt{libcaf}\xspace}

\newcommand{\libtitle}{%
\texttt{\huge{\textbf{\lib}}}\\~\\A C++ library for actor programming\\~\\~\\~\\%
}

\newcommand{\libsubtitle}{%
User Manual\\\normalsize{\lib version 0.10}\vfill%
}

Use `CAF` rather than `libcaf` in manual

\newcommand{\lib}{CAF\xspace}

\newcommand{\libtitle}{%
\texttt{\huge{\textbf{\lib}}}\\~\\A C++ framework for actor programming\\~\\~\\~\\%
}

\newcommand{\libsubtitle}{%
User Manual\\\normalsize{\lib version 0.10}\vfill%
}


\begin{table}[htbp]
\centering
\resizebox{\columnwidth}{!}{
\begin{tabular}{cclll}

\hline
\rowcolor{lightgray}
\textbf{ordinal} & \textbf{branch\_path} & \textbf{weight} \\
\hline
0 & b1$\sim$b11\_b21 & 0.1125 \\
1 & b1$\sim$b11\_b22 & 0.075 \\
2 & b1$\sim$b12\_b21 & 0.0375 \\
3 & b1$\sim$b12\_b22 & 0.025 \\
4 & b2$\sim$b11\_b21 & 0.3375 \\
5 & b2$\sim$b11\_b22 & 0.225 \\
6 & b2$\sim$b12\_b21 & 0.1125 \\
7 & b2$\sim$b12\_b22 & 0.075 \\
\hline

\end{tabular}
}
\caption{Example of a realizations file}
\label{output:realizations}
\end{table}

Reduce the size of gigantic Table 4.3

\begin{table}[htbp]
\centering
\begin{tabular}{cclll}

\hline
\rowcolor{lightgray}
\textbf{ordinal} & \textbf{branch\_path} & \textbf{weight} \\
\hline
0 & b1$\sim$b11\_b21 & 0.1125 \\
1 & b1$\sim$b11\_b22 & 0.075 \\
2 & b1$\sim$b12\_b21 & 0.0375 \\
3 & b1$\sim$b12\_b22 & 0.025 \\
4 & b2$\sim$b11\_b21 & 0.3375 \\
5 & b2$\sim$b11\_b22 & 0.225 \\
6 & b2$\sim$b12\_b21 & 0.1125 \\
7 & b2$\sim$b12\_b22 & 0.075 \\
\hline

\end{tabular}
\caption{Example of a realizations file}
\label{output:realizations}
\end{table}


http://www.ics.uci.edu/~eppstein/161/960229.html

Format eppstein source bibtex properly

@misc{website:eppstein,
	author = {David Eppstein},
	title = {ICS 161: Design and Analysis of Algorithms},
	url = "http://www.ics.uci.edu/~eppstein/161/960229.html",
	note = "\url{http://www.ics.uci.edu/~eppstein/161/960229.html}"
}


\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{custommacros}[2017/10/16 v0.1 Custom macros and helpers]

\RequirePackage{xcolor}
\RequirePackage{graphicx}
\RequirePackage{hyperref}
\RequirePackage{xparse}

\newcommand{\todo}[1][To be updated later!]{{\color{red} TODO: {#1}}}

\makeatletter
\def\app@exe{\immediate\write18}
\def\inputAllFiles#1{%
  \app@exe{ls #1/*.tex | xargs cat >> #1/\jobname.tmp}%
  \InputIfFileExists{#1/\jobname.tmp}{}
  \AtEndDocument{\app@exe{rm -f #1/\jobname.tmp}}}
\makeatother

%%% This macro is a drop in replacement for \includegraphics that ensures the images
%%% aspect ratio is maintained when changing its width, height or scale
%%% Usage \imageKeepAspect[keyvals]{imagePath}
\NewDocumentCommand{\imageKeepAspect}{+O{width=\textwidth,height=\textheight}+m}{%
	\includegraphics[#1,keepaspectratio]{#2}
}

Hide colored borders around hyperlinks

\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{custommacros}[2017/10/16 v0.1 Custom macros and helpers]

\RequirePackage{xcolor}
\RequirePackage{graphicx}
\RequirePackage[hidelinks]{hyperref}
\RequirePackage{xparse}

\newcommand{\todo}[1][To be updated later!]{{\color{red} TODO: {#1}}}

\makeatletter
\def\app@exe{\immediate\write18}
\def\inputAllFiles#1{%
  \app@exe{ls #1/*.tex | xargs cat >> #1/\jobname.tmp}%
  \InputIfFileExists{#1/\jobname.tmp}{}
  \AtEndDocument{\app@exe{rm -f #1/\jobname.tmp}}}
\makeatother

%%% This macro is a drop in replacement for \includegraphics that ensures the images
%%% aspect ratio is maintained when changing its width, height or scale
%%% Usage \imageKeepAspect[keyvals]{imagePath}
\NewDocumentCommand{\imageKeepAspect}{+O{width=\textwidth,height=\textheight}+m}{%
	\includegraphics[#1,keepaspectratio]{#2}
}


\section{Applications and Scientific Kernels}
\label{sec:apps}

The subsections which follow highlight two things: 1) the level of effort
required in porting software applications from a wide array of scientific
disciplines written in commonly used procedural languages; and 2) observed
performance of these applications.  Applications are drawn from four distinct
scientific disciplines.

\paragraph{Poongback}  Poongback is a Fortran application targeted towards
solving the incompressible Navier-Stokes equations in a periodic wall-bounded
channel.

\paragraph{C4}  C4 is a collection of Fortran applications that leverages a
suite of algorithms for solving coupled-cluster problems in quantum chemistry.

\paragraph{QUESO}  QUESO is a C++ library for the Quantifying Uncertainty in
Estimation, Simulation, and Optimization.  It provides a suite of algorithms
for sampling unknown probability distributions and provides a parallel (MPI)
environment to allow the user to leverage this in large-scale engineering
applications.

\paragraph{ArcSyn3sis}  ArcSyn3sis is a C++ library that implements a
blended isogeometric discontinuous Galerkin (BIDG) method that seamlessly blends the discontinuous Galerkin method with isogeometric analysis.

We explore each of these applications in turn.

Rename and reorder application focuses

\section{Applications and Scientific Kernels}
\label{sec:apps}

The subsections which follow highlight two things: 1) the level of effort
required in porting software applications from a wide array of scientific
disciplines written in commonly used procedural languages; and 2) observed
performance of these applications.  Applications are drawn from four distinct
scientific disciplines:

\paragraph{Incompressible fluid dynamics}  Poongback is a Fortran application
targeted towards solving the incompressible Navier-Stokes equations in a
periodic wall-bounded channel.

\paragraph{Uncertainty quantification}  QUESO is a C++ library for the
Quantifying Uncertainty in Estimation, Simulation, and Optimization.  It
provides a suite of algorithms for sampling unknown probability distributions
and provides a parallel (MPI) environment to allow the user to leverage this in
large-scale engineering applications.

\paragraph{Computational chemistry}  CFOUR is a collection of Fortran
applications that leverages a suite of algorithms for solving coupled-cluster
problems in quantum chemistry.

\paragraph{Finite element methods}  ArcSyn3sis is a C++ library that implements
a blended isogeometric discontinuous Galerkin (BIDG) method that seamlessly
blends the discontinuous Galerkin method with isogeometric analysis.

We explore each of these applications in turn.


\section{\module{tty} ---
         Terminal control functions}

\declaremodule{standard}{tty}
  \platform{Unix}
\moduleauthor{Steen Lumholt}{}
\sectionauthor{Moshe Zadka}{moshez@zadka.site.co.il}
\modulesynopsis{Utility functions that perform common terminal control
                operations.}

The \module{tty} module defines functions for putting the tty into
cbreak and raw modes.

Because it requires the \refmodule{termios} module, it will work
only on \UNIX.

The \module{tty} module defines the following functions:

\begin{funcdesc}{setraw}{fd\optional{, when}}
Change the mode of the file descriptor \var{fd} to raw. If \var{when}
is omitted, it defaults to \constant{TERMIOS.TCAFLUSH}, and is passed
to \function{termios.tcsetattr()}.
\end{funcdesc}

\begin{funcdesc}{setcbreak}{fd\optional{, when}}
Change the mode of file descriptor \var{fd} to cbreak. If \var{when}
is omitted, it defaults to \constant{TERMIOS.TCAFLUSH}, and is passed
to \function{termios.tcsetattr()}.
\end{funcdesc}

\begin{seealso}
  \seemodule{termios}{Low-level terminal control interface.}
  \seemodule[TERMIOSuppercase]{TERMIOS}{Constants useful for terminal
                                        control operations.}
\end{seealso}

Use correct constant; remove reference to TERMIOS.py

\section{\module{tty} ---
         Terminal control functions}

\declaremodule{standard}{tty}
  \platform{Unix}
\moduleauthor{Steen Lumholt}{}
\sectionauthor{Moshe Zadka}{moshez@zadka.site.co.il}
\modulesynopsis{Utility functions that perform common terminal control
                operations.}

The \module{tty} module defines functions for putting the tty into
cbreak and raw modes.

Because it requires the \refmodule{termios} module, it will work
only on \UNIX.

The \module{tty} module defines the following functions:

\begin{funcdesc}{setraw}{fd\optional{, when}}
Change the mode of the file descriptor \var{fd} to raw. If \var{when}
is omitted, it defaults to \constant{termios.TCSAFLUSH}, and is passed
to \function{termios.tcsetattr()}.
\end{funcdesc}

\begin{funcdesc}{setcbreak}{fd\optional{, when}}
Change the mode of file descriptor \var{fd} to cbreak. If \var{when}
is omitted, it defaults to \constant{termios.TCSAFLUSH}, and is passed
to \function{termios.tcsetattr()}.
\end{funcdesc}

\begin{seealso}
  \seemodule{termios}{Low-level terminal control interface.}
\end{seealso}


\chapter{Internet Protocols and Support \label{internet}}

\index{WWW}
\index{Internet}
\index{World-Wide Web}

The modules described in this chapter implement Internet protocols and
support for related technology.  They are all implemented in Python.
Some of these modules require the presence of the system-dependent
module \module{socket}\refbimodindex{socket}, which is currently only
fully supported on \UNIX{} and Windows NT.  Here is an overview:

\localmoduletable

Make reference to the socket module a hyperlink.

\chapter{Internet Protocols and Support \label{internet}}

\index{WWW}
\index{Internet}
\index{World-Wide Web}

The modules described in this chapter implement Internet protocols and
support for related technology.  They are all implemented in Python.
Some of these modules require the presence of the system-dependent
module \refmodule{socket}\refbimodindex{socket}, which is currently only
fully supported on \UNIX{} and Windows NT.  Here is an overview:

\localmoduletable


\section{Choice of parameters}
\label{sec:parameters}

Add introduction to section "Parameters"

\section{Choice of parameters}
\label{sec:parameters}

    Along the description of algorithms the previous sections also contain
    estimates of the runtime the algorithms take to be performed.
    In most cases, the runtime depends on the number of elements involved.
    Since the set implementation described in this document consists of
    a hierarchy of data structures, the number of subdivisions in a layer
    can be influenced to optimize the overall runtime expected for an
    operation.

    The most interesting data structures in this respect are the hash table
    and the AVL tree.
    The fact that the AVL tree incorporates bloom filters for each subtree has
    a positive impact on the runtime complexity of many operations.


\chapter{Troubleshooting}

We have several sources of information in case you run into trouble installing or running \fluidity.

Firstly, check if your question is answered in this manual. An overview how to correctly set up \fluidity \mbox{ } is given in chapter \ref{chap:gettingstarted}.
Questions about configuring \fluidity\mbox{ } are covered in chapter \ref{chap:configuration}.

Secondly, have a look at our ''Cookbook for \fluidity`` (\url{http://amcg.ese.ic.ac.uk/index.php?title=Cook_Book}). This webpage provides examples of how to set up particular types of problems in \fluidity.

If none of these documents answered your question, we highly encourage you to get in contact with us by sending us an email to \url{fluidity@imperial.ac.uk}.

Fix \fluidity spacing in Appendix D. An mbox was using, hence creating double spacing.

\chapter{Troubleshooting}

We have several sources of information in case you run into trouble installing or running \fluidity.

Firstly, check if your question is answered in this manual. An overview how to correctly set up \fluidity is given in chapter \ref{chap:gettingstarted}.
Questions about configuring \fluidity are covered in chapter \ref{chap:configuration}.

Secondly, have a look at our ''Cookbook for \fluidity`` (\url{http://amcg.ese.ic.ac.uk/index.php?title=Cook_Book}). This webpage provides examples of how to set up particular types of problems in \fluidity.

If none of these documents answered your question, we highly encourage you to get in contact with us by sending us an email to \url{fluidity@imperial.ac.uk}.


\documentclass{article}
\usepackage{circuitikz}
\begin{document}

% https://tex.stackexchange.com/a/32843/132144
\begin{circuitikz} \draw

(0,0) node[nand port] (nand1) {}
(-2,1) node[nand port] (nand2) {}
(-2,-1) node[nand port] (nand3) {}

(nand2.out) -- (nand1.in 1)
(nand3.out) -- (nand1.in 2);

\end{circuitikz}

\end{document}

Update the sample TeX file

\documentclass{article}
\usepackage{circuitikz}
\begin{document}

% https://tex.stackexchange.com/a/32843/132144
\begin{circuitikz}

\node[nand port] at (0,0) (nand1) {};
\node[nand port] at (-2,1) (nand2) {};
\node[nand port] at (-2,-1) (nand3) {};

\draw (nand2.out) -- (nand1.in 1);
\draw (nand3.out) -- (nand1.in 2);

\node (i0) at (-4,1.3) {$I_0$};
\node (i1) at (-4,0.7) {$I_1$};
\node (i2) at (-4,-0.7) {$I_2$};
\node (i3) at (-4,-1.3) {$I_3$};
\node (o0) at (1,0) {$O_0$};

\draw (i0) -- (nand2.in 1);
\draw (i1) -- (nand2.in 2);
\draw (i2) -- (nand3.in 1);
\draw (i3) -- (nand3.in 2);
\draw (nand1.out) -- (o0);

\end{circuitikz}

\end{document}


% ------------------------------------------
%  IEEE ARTICLE TEMPLATE
% ------------------------------------------
% Author(s):
% Institution(s):
% ------------------------------------------
\documentclass[journal,twocolumn,letterpaper,10pt]{ieee-sty/IEEEtran}
\usepackage[acronym]{glossaries}

% Generates the acronyms list
\makeglossaries

% Acronyms list
\input{acronyms/acronyms.tex}

% ------------------------------------------
%  MAIN DOCUMENT
% ------------------------------------------
\begin{document}

% Variables file
\input{variables.tex}

% Article title
\title{\Title}

% Author(s) Name
\author{\Authors\\
        \Institutions}

\maketitle

% Abstract
\input{abstract/abstract.tex}

% Keywords
\input{keywords/keywords.tex}

% Sections
\input{sections/main.tex}

% Print the acronyms list
\printglossaries

\if\hasBibliography 1
% Bibliography
\bibliographystyle{IEEEtran}
% Bibliography file
\bibliography{IEEEabrv,bibliography/article}
\fi

\end{document}

Remove printglossaries from the template.

% ------------------------------------------
%  IEEE ARTICLE TEMPLATE
% ------------------------------------------
% Author(s):
% Institution(s):
% ------------------------------------------
\documentclass[journal,twocolumn,letterpaper,10pt]{ieee-sty/IEEEtran}
\usepackage[acronym]{glossaries}

% Generates the acronyms list
\makeglossaries

% Acronyms list
\input{acronyms/acronyms.tex}

% ------------------------------------------
%  MAIN DOCUMENT
% ------------------------------------------
\begin{document}

% Variables file
\input{variables.tex}

% Article title
\title{\Title}

% Author(s) Name
\author{\Authors\\
        \Institutions}

\maketitle

% Abstract
\input{abstract/abstract.tex}

% Keywords
\input{keywords/keywords.tex}

% Sections
\input{sections/main.tex}

\if\hasBibliography 1
% Bibliography
\bibliographystyle{IEEEtran}
% Bibliography file
\bibliography{IEEEabrv,bibliography/article}
\fi

\end{document}


\documentclass[11pt]{article}

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[english]{babel}
\usepackage{hyperref}

\begin{document}
\end{document}


\documentclass[++fontsize++]{++documentclass++}
\usepackage[paper=++paper++, top=++margin++, bottom=++margin++, left=++margin++, right=++margin++]{geometry}
\usepackage[T1]{fontenc}
\usepackage{cmbright}
\catcode`\_=12

\usepackage{hyperref}
\hypersetup{colorlinks=true, linkcolor=++linkcolor++, citecolor=++linkcolor++, filecolor=++linkcolor++, urlcolor=++linkcolor++}

\usepackage[parfill]{parskip}

++preamble++

\begin{document}
@+ if title +@
\newgeometry{top=2in}
\begin{titlepage}
  \begin{center}
    \rule{\linewidth}{2pt}\par
    \bigskip
        {\huge \textbf{++title++}}
    \smallskip
    \rule{\linewidth}{1pt}\par
    @+ if subtitle +@
    \medskip
    {\LARGE ++subtitle++}\par
    @+ endif +@
    @+ if author +@
    \vfill
    ++author++\par
    @+ endif +@
    \vfill
    @+ if institution +@
    ++institution++\par
    \medskip
    @+ endif +@
    @+ if today +@
    \today\par
    \smallskip
    @+ endif +@
    \end{center}
\end{titlepage}
@+ endif +@
@+ if tableofcontents +@
\tableofcontents\newpage
@+ endif +@
++content++
\end{document}

Remove cmbright package that does not work on vanilla texlive on linux

\documentclass[++fontsize++]{++documentclass++}
\usepackage[paper=++paper++, top=++margin++, bottom=++margin++, left=++margin++, right=++margin++]{geometry}
\usepackage[T1]{fontenc}
\catcode`\_=12

\usepackage{hyperref}
\hypersetup{colorlinks=true, linkcolor=++linkcolor++, citecolor=++linkcolor++, filecolor=++linkcolor++, urlcolor=++linkcolor++}

\usepackage[parfill]{parskip}

++preamble++

\begin{document}
@+ if title +@
\newgeometry{top=2in}
\begin{titlepage}
  \begin{center}
    \rule{\linewidth}{2pt}\par
    \bigskip
        {\huge \textbf{++title++}}
    \smallskip
    \rule{\linewidth}{1pt}\par
    @+ if subtitle +@
    \medskip
    {\LARGE ++subtitle++}\par
    @+ endif +@
    @+ if author +@
    \vfill
    ++author++\par
    @+ endif +@
    \vfill
    @+ if institution +@
    ++institution++\par
    \medskip
    @+ endif +@
    @+ if today +@
    \today\par
    \smallskip
    @+ endif +@
    \end{center}
\end{titlepage}
@+ endif +@
@+ if tableofcontents +@
\tableofcontents\newpage
@+ endif +@
++content++
\end{document}


\chapter{The \texttt{loop} macro}

Our \texttt{loop} module uses all available Common Lisp functions for
its analysis of syntax and semantics.  We believe this is not a
problem, even though we assume the existence of \texttt{loop} for many
other modules, because the code in this module will be executed during
macro-expansion time, and for a new Common Lisp system, it would be
executed during cross compilation by another full Common Lisp
implementation.

Our \texttt{loop} module will use only standard Common Lisp code in
its expansion, so that macro-expanded uses of \texttt{loop} will not
require any other \sysname{} module in order to work.

The code for the \sysname{} \texttt{loop} macro is located in the
directory \texttt{Code/Loop}.

For parsing a \texttt{loop} expression, we use a technique called
\emph{combinatory parsing}.

\section{Current state}

At the moment, the full \texttt{loop} syntax is parsed.  Code
generation is incomplete, however.  Only the constructs have code
generators: \texttt{initially}, \texttt{finally}, \texttt{until},
\texttt{while}, \texttt{do}, \texttt{with}, \texttt{repeat},
\texttt{collect}, \texttt{sum}.

Update section on the status of the LOOP macro, to reflect later work.

\chapter{The \texttt{loop} macro}

Our \texttt{loop} module uses all available Common Lisp functions for
its analysis of syntax and semantics.  We believe this is not a
problem, even though we assume the existence of \texttt{loop} for many
other modules, because the code in this module will be executed during
macro-expansion time, and for a new Common Lisp system, it would be
executed during cross compilation by another full Common Lisp
implementation.

Our \texttt{loop} module uses only standard Common Lisp code in its
expansion, so that macro-expanded uses of \texttt{loop} will not
require any other \sysname{} module in order to work.

The code for the \sysname{} \texttt{loop} macro is located in the
directory \texttt{Code/Loop}.

For parsing a \texttt{loop} expression, we use a technique called
\emph{combinatory parsing}, except that we do not handle arbitrary
backtracking.  Luckily, arbitrary backtracking is not required to
parse the fairly simple syntax of \texttt{loop} clauses.

\section{Current state}

All \texttt{loop} clauses have been tested with the test cases
provided by Paul Dietz' ANSI \commonlisp{} test suite.

Future work includes providing an alternative parser to be used when
the normal parser fails.  The purpose of the alternative parser is to
provide good error messages to the programmer.


\documentclass[
pdftex,
a4paper,
11pt,
listof=totoc,index=totoc,bibliography=totoc
]{scrreprt}

\usepackage[l2tabu, orthodox]{nag}

\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\usepackage{listings}

\usepackage{blindtext}
\usepackage{refcheck}

\usepackage[pdftex,
    pdfauthor={Florian Wilhelm},
    pdfsubject={TODO},
    pdftitle={TODO},
    pdfproducer={LaTeX with hyperref},
    pdfpagemode=UseOutlines,
    pdfcreator={pdflatex},
    breaklinks]
{hyperref}

\usepackage{xcolor}

\definecolor{color-green-comment}{HTML}{146414}
\lstset{
        breaklines=true,
        basicstyle=\small\fontfamily{lmtt}\selectfont,
        captionpos=b,
        stringstyle=\color{blue},
        numberstyle=\tiny\color{gray},
        keywordstyle=\color{blue},
        commentstyle=\color{color-green-comment}
}

\usepackage{xparse} % NewDocumentCommand

Define more colors for code listings.

\documentclass[
pdftex,
a4paper,
11pt,
listof=totoc,index=totoc,bibliography=totoc
]{scrreprt}

\usepackage[l2tabu, orthodox]{nag}

\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\usepackage{listings}

\usepackage{blindtext}
\usepackage{refcheck}

\usepackage[pdftex,
    pdfauthor={Florian Wilhelm},
    pdfsubject={TODO},
    pdftitle={TODO},
    pdfproducer={LaTeX with hyperref},
    pdfpagemode=UseOutlines,
    pdfcreator={pdflatex},
    breaklinks]
{hyperref}

\usepackage{xcolor}

\definecolor{color-green-comment}{HTML}{146414}
\definecolor{color-green-string}{HTML}{326b29}
\definecolor{color-blue-keyword}{HTML}{47357d}
\lstset{
        breaklines=true,
        basicstyle=\small\fontfamily{lmtt}\selectfont,
        captionpos=b,
        stringstyle=\color{color-green-string},
        numberstyle=\tiny\color{gray},
        keywordstyle=\color{color-blue-keyword},
        commentstyle=\color{color-green-comment}
}

\usepackage{xparse} % NewDocumentCommand


%
% Pull Down Resistor
%
\documentclass[border=3mm]{standalone}
\usepackage{tikz}
\usetikzlibrary{circuits.ee.IEC}

\begin{document}

\begin{tikzpicture}[circuit ee IEC,large circuit symbols,
                    pin/.style={circle,draw=black!100,fill=white!20,thin, inner sep=0pt,minimum size=4mm}]
    \begin{scope}[set resistor graphic=var resistor IEC graphic,
                  set diode graphic=var diode IEC graphic,font=\small]
        \node (output) at (6,0) [pin,label=right: ] {};
        \draw [-] (0,0) to (output);
        \draw (3,0) to [resistor={ohm=10K},point down] (4,3)
                      to (3,-4.4) node [ground,point down] {} (3,-4.4);
    \end{scope}
\end{tikzpicture}

\end{document}

Adjust proportions, set font. Add label.

%
% Pull Down Resistor
%
\documentclass[border=3mm]{standalone}
\usepackage{tikz}
\usetikzlibrary{circuits.ee.IEC}

\begin{document}

\begin{tikzpicture}[circuit ee IEC,large circuit symbols,
                    pin/.style={circle,draw=black!100,fill=white!20,thin, inner sep=0pt,minimum size=4mm}]
    \begin{scope}[set resistor graphic=var resistor IEC graphic,
                  set diode graphic=var diode IEC graphic,font=\small]
        \node (output) at (5,0) [pin] {};
        \node [font=\footnotesize,above] at (output.north) {GPIOA Pin 3};
        \node [font=\footnotesize,below] at (output.south) {Digital Input};
        \draw [-] (0,0) to (output);
        \draw (2.5,0) to [resistor={ohm=10K},point down] (4,2.5)
                      to (2.5,-4.0) node [ground,point down] {} (2.5,-4.0);
    \end{scope}
\end{tikzpicture}

\end{document}


\documentclass[preview]{standalone}

\usepackage{microtype}
\usepackage{tikz}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{minted}
\usepackage{mathptmx}
\usepackage{anyfontsize}
\usepackage{t1enc}

\begin{document}%
{_user_code_}
\end{document}

Revert "Added some more packages"

\documentclass[preview]{standalone}

\usepackage{microtype}
\usepackage{tikz}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{minted}

\begin{document}%
{_user_code_}
\end{document}


## Interface: 50100
## Title: Titan [|cffeda55fPlayed|r]
## Notes: Display time played for each character
## Author: Philip Abbet
## DefaultState: Enabled
## SavedVariables: TitanPlayedTimes
## OptionalDeps:
## Dependencies: Titan
## Version: 1.0
libs\LibQTip-1.0\LibQTip-1.0.lua
libs\LibStub\LibStub.lua
TitanPlayed.xml

Make it compatible with WoW 5.4

## Interface: 50400
## Title: Titan [|cffeda55fPlayed|r]
## Notes: Display time played for each character
## Author: Philip Abbet
## DefaultState: Enabled
## SavedVariables: TitanPlayedTimes
## OptionalDeps:
## Dependencies: Titan
## Version: 1.0
libs\LibQTip-1.0\LibQTip-1.0.lua
libs\LibStub\LibStub.lua
TitanPlayed.xml


\chapter{Cryptographic Services}
\label{crypto}
\index{cryptography}

The modules described in this chapter implement various algorithms of
a cryptographic nature.  They are available at the discretion of the
installation.  Here's an overview:

\localmoduletable

Hardcore cypherpunks will probably find the cryptographic modules
written by Andrew Kuchling of further interest; the package adds
built-in modules for DES and IDEA encryption, provides a Python module
for reading and decrypting PGP files, and then some.  These modules
are not distributed with Python but available separately.  See the URL
\url{http://starship.python.net/crew/amk/python/code/crypto.html} or
send email to \email{amk1@bigfoot.com} for more information.
\index{PGP}
\index{Pretty Good Privacy}
\indexii{DES}{cipher}
\indexii{IDEA}{cipher}
\index{cryptography}
\index{Kuchling, Andrew}

Update URL, and remove e-mail address reference (readers can get it from the Web page)

\chapter{Cryptographic Services}
\label{crypto}
\index{cryptography}

The modules described in this chapter implement various algorithms of
a cryptographic nature.  They are available at the discretion of the
installation.  Here's an overview:

\localmoduletable

Hardcore cypherpunks will probably find the cryptographic modules
written by A.M. Kuchling of further interest; the package adds
built-in modules for DES and IDEA encryption, provides a Python module
for reading and decrypting PGP files, and then some.  These modules
are not distributed with Python but available separately.  See the URL
\url{http://www.amk.ca/python/code/crypto.html}
for more information.
\index{PGP}
\index{Pretty Good Privacy}
\indexii{DES}{cipher}
\indexii{IDEA}{cipher}
\index{cryptography}
\index{Kuchling, Andrew}


\section{Our technique}

\begin{verbatim}
(defmacro with-test-and-test-not
    ((test-var test-not-var) &body body)
  `(cond ((and (null ,test-var)
               (null ,test-not-var))
	  ,@body)
	 ((null ,test-not-var)
	  (cond ((or (eq ,test-var #'eq)
                     (eq ,test-var 'eq))
		 ,@body)
		((or (eq ,test-var #'eql)
                     (eq ,test-var 'eql))
		 ,@body)
		(t
		 ,@body)))
	 ((null ,test-var)
	  (cond ((or (eq ,test-not-var #'eq)
                     (eq ,test-not-var 'eq))
		 ,@body)
		((or (eq ,test-not-var #'eql)
                     (eq ,test-not-var 'eql))
		 ,@body)
		(t
		 ,@body)))
	 (t
	  (error "Both test and test-not given."))))
\end{verbatim}

Remove macro handling TEST and TEST-NOT. We need a better test case.


\input{res/sections/introduzione.tex}
\input{res/sections/analisiRischi.tex}
\input{res/sections/scadenze.tex}
\input{res/sections/ruoliECosti.tex}
\input{res/sections/pianificazione.tex}
\input{res/sections/suddivisioneDelLavoroEProspettoOrario.tex}
\input{res/sections/prospettoEconomico.tex}

Update list of section Comment include of 'suddivisioneDelLavoroEProspettoOrario' and 'prospettoEconomico' because incomplete its.


\usepackage{newunicodechar}

\DeclareUnicodeCharacter{0101}{\=a}
\newunicodechar{⏎}{$\hookleftarrow$} % \hookleftarrow ≅ ↩
\newunicodechar{⇧}{$\Uparrow$}
\newunicodechar{⌥}{alt}
\newunicodechar{⌘}{cmd}
\newunicodechar{σ}{$\sigma$}
\newunicodechar{🎵}{musical note}
\newunicodechar{🐜}{ant}
\newunicodechar{⚒}{hammer and pick}
\newunicodechar{🔑}{key}
\newunicodechar{😭}{loudly crying face}
\newunicodechar{🦄}{unicorn}
\newunicodechar{👾}{alien}
\newunicodechar{🐳}{whale}
\newunicodechar{🌎}{world}
\newunicodechar{🍂}{fallen leaves}
\newunicodechar{🍁}{maple leaf}
\newunicodechar{🙈}{see-no-evil monkey}
\newunicodechar{🍏}{green apple}
\newunicodechar{🍎}{red apple}
\newunicodechar{🐧}{penguin}
\newunicodechar{🐣}{hatching chick}
\newunicodechar{🐓}{cockerel}
\newunicodechar{🔗}{link symbol}
\newunicodechar{😈}{smiling face with horns}

Add replacement text for `📚`

\usepackage{newunicodechar}

\DeclareUnicodeCharacter{0101}{\=a}
\newunicodechar{⏎}{$\hookleftarrow$} % \hookleftarrow ≅ ↩
\newunicodechar{⇧}{$\Uparrow$}
\newunicodechar{⌥}{alt}
\newunicodechar{⌘}{cmd}
\newunicodechar{σ}{$\sigma$}
\newunicodechar{🎵}{musical note}
\newunicodechar{🐜}{ant}
\newunicodechar{⚒}{hammer and pick}
\newunicodechar{🔑}{key}
\newunicodechar{😭}{loudly crying face}
\newunicodechar{🦄}{unicorn}
\newunicodechar{👾}{alien}
\newunicodechar{🐳}{whale}
\newunicodechar{🌎}{world}
\newunicodechar{🍂}{fallen leaves}
\newunicodechar{🍁}{maple leaf}
\newunicodechar{🙈}{see-no-evil monkey}
\newunicodechar{🍏}{green apple}
\newunicodechar{🍎}{red apple}
\newunicodechar{🐧}{penguin}
\newunicodechar{🐣}{hatching chick}
\newunicodechar{🐓}{cockerel}
\newunicodechar{🔗}{link symbol}
\newunicodechar{😈}{smiling face with horns}
\newunicodechar{📚}{books}


\author{Guido van Rossum}

\authoraddress{
	Corporation for National Research Initiatives (CNRI) \\
	1895 Preston White Drive, Reston, Va 20191, USA \\
	E-mail: \email{guido@CNRI.Reston.Va.US}, \email{guido@python.org}
}

\date{August 6, 1998}		% XXX update before release!
\release{1.5.1}

Update date & version number for release 1.5.2a1.

\author{Guido van Rossum}

\authoraddress{
	Corporation for National Research Initiatives (CNRI) \\
	1895 Preston White Drive, Reston, Va 20191, USA \\
	E-mail: \email{guido@CNRI.Reston.Va.US}, \email{guido@python.org}
}

\date{August 12, 1998}		% XXX update before release!
\release{1.5.2}


\begin{table}[htbp]
\centering
\begin{tabular}{ccc}

\hline
\rowcolor{lightgray}
\textbf{site\_id} & \textbf{lon} & \textbf{lat} \\
\hline
0 & -122.57000 & 38.11300 \\
1 & -122.11400 & 38.11300 \\
2 & -122.00000 & 37.91000 \\
3 & -122.00000 & 38.00000 \\
4 & -122.00000 & 38.11300 \\
5 & -122.00000 & 38.22500 \\
6 & -121.88600 & 38.11300 \\
\hline

\end{tabular} (\href{https://raw.githubusercontent.com/gem/oq-engine/master/doc/manual/oqum/hazard/verbatim/output_scenario_sites.csv}{Download example})}
\label{output:sitemesh}
\end{table}

Fix a broken link [skip CI]

\begin{table}[htbp]
\centering
\begin{tabular}{ccc}

\hline
\rowcolor{lightgray}
\textbf{site\_id} & \textbf{lon} & \textbf{lat} \\
\hline
0 & -122.57000 & 38.11300 \\
1 & -122.11400 & 38.11300 \\
2 & -122.00000 & 37.91000 \\
3 & -122.00000 & 38.00000 \\
4 & -122.00000 & 38.11300 \\
5 & -122.00000 & 38.22500 \\
6 & -121.88600 & 38.11300 \\
\hline

\end{tabular} \caption{Example of a sites csv output file for a scenario (\href{https://raw.githubusercontent.com/gem/oq-engine/master/doc/manual/oqum/hazard/verbatim/output_scenario_sites.csv}{Download example})}
\label{output:sitemesh}
\end{table}


\newpage
\section{Use Case - Hugin Link (HL)}
\label{UseCase:HL}

\begin{description}
\item[Priority:] Must
\item[Deadline:] M15
\item[Responsible:]
\end{description}

\subsubsection*{Description of the Use Case}

Enter a textual description of the use case. Link to other use cases or functionalities if needed.

\subsubsection*{Must-Requirements List of the Use Case}

\begin{enumerate}
\item Short Description
\end{enumerate}

\subsubsection*{Should-Requirements List of the Use Case}

\begin{enumerate}
\item Short Description
\end{enumerate}

\subsubsection*{Could-Requirements List of the Use Case}

\begin{enumerate}
\item Short Description
\end{enumerate}

Update in the use case Hugin Link

%!TEX root = ../MainDoc.tex
\newpage
\section{Use Case - Hugin Link (HL)}
\label{UseCase:HL}

\begin{description}
\item[Priority:] Must
\item[Deadline:] M15
\item[Responsible:] A. Fern\'andez
\end{description}

\subsubsection*{Description of the Use Case}

This use case contains all the functionality needed to link the AMIDST toolbox with the HUGIN software. This linkage is addressed by converting Hugin models into AMIDST models, and vice versa. This feature is extremely useful as it allows expanding the testing possibilities of the AMIDST models within a well-stablished platform as Hugin. Also, the link to Hugin can be used for providing some extra functionality to AMIDST that will not be implemented. Finally, the linkage is useful for comparison purposes, i.e., a new inference algorithm implemented in AMIDST could be compared with some state-of-the-art algorithm included in Hugin.

\subsubsection*{Must-Requirements List of the Use Case}

\begin{enumerate}
\item Bayesian network converter from AMIDST to Hugin format.
\item Bayesian network converter from Hugin to AMIDST format.
\item Possibility of saving the converted Hugin network in a \texttt{.net} file.
\end{enumerate}

\subsubsection*{Should-Requirements List of the Use Case}

\begin{enumerate}
\item
\end{enumerate}

\subsubsection*{Could-Requirements List of the Use Case}

\begin{enumerate}
\item Converter from AMIDST to HUGIN  and vice versa of some functionality that is not relevant for model representation.
\end{enumerate}


@MISC {dockerscan,
    title        = "Docker Security Scanning",
    howpublished = "\url{https://docs.docker.com/docker-cloud/builds/image-scan}",
    note         = "retrieved 2.5.2017"
}

Add commercial SCA tool references

@MISC {dockerscan,
    title        = "Docker Security Scanning",
    howpublished = "\url{https://docs.docker.com/docker-cloud/builds/image-scan}",
    note         = "retrieved 2.5.2017"
}
@MISC {blackduckhub,
    title        = "Black Duck Hub",
    howpublished = "\url{https://www.blackducksoftware.com/products/hub}",
    note         = "retrieved 6.5.2017"
}
@MISC {veracodesca,
    title        = "Veracode Software Composition Analysis",
    howpublished = "\url{https://www.veracode.com/products/software-composition-analysis}",
    note         = "retrieved 6.5.2017"
}
@MISC {whitehatsentinel,
    title        = "White Hat Sentinel Source Software Composition Analysis",
    howpublished = "\url{https://www.whitehatsec.com/wp-content/uploads/2016/01/Sentinel_Source_Software_Composition_Analysis_Feature_Brief.pdf}",
    note         = "retrieved 6.5.2017"
}
@MISC {whitesourceosi,
    title        = "WhiteSource Open Source Inventory",
    howpublished = "\url{https://www.whitesourcesoftware.com/open-source-inventory/}",
    note         = "retrieved 6.5.2017"
}
@MISC {synopsysprotecode,
    title        = "Software Composition Analysis: Manage risk in complex supply chains",
    howpublished = "\url{https://www.synopsys.com/software-integrity/security-testing/software-composition-analysis.html}",
    note         = "retrieved 6.5.2017"
}


\section{okcounterdctl.pl \label{s:okcounterdctl}}

\cc{okcounterdctl.pl} provides a convenient way to send commands to \cc{okcounterd}.

\cc{okcounterdctl.pl} doesn't have a configuration file. It uses
\cc{gpscv.conf} to determine the port used by \cc{okcounterd}.

\cc{okcounterdctl.pl} doesn't produce a log file.

\subsection{usage}

To run \cc{okcounterdctl.pl} on the command line, use:
\begin{lstlisting}[mathescape=true]
okcounterdctl.pl [OPTION] $\ldots$
\end{lstlisting}
The command line options are:
\begin{description*}
	\item[-c \textless file\textgreater] use the specified gpscv configuration file
	\item[-d]	run in debugging mode
	\item[-g \textless $0|1$\textgreater] disable/enable the system GPIO
	\item[-h]	print help and exit
	\item[-c \textless $1\ldots6$\textgreater] set the PPS OUT source
	\item[-q] query the counter configuration
	\item[-v]	print version information and exit
\end{description*}

Document channels for pps output

\section{okcounterdctl.pl \label{s:okcounterdctl}}

\cc{okcounterdctl.pl} provides a convenient way to send commands to \cc{okcounterd}.

\cc{okcounterdctl.pl} doesn't have a configuration file. It uses
\cc{gpscv.conf} to determine the port used by \cc{okcounterd}.

\cc{okcounterdctl.pl} doesn't produce a log file.

\subsection{usage}

To run \cc{okcounterdctl.pl} on the command line, use:
\begin{lstlisting}[mathescape=true]
okcounterdctl.pl [OPTION] $\ldots$
\end{lstlisting}
The command line options are:
\begin{description*}
	\item[-c \textless file\textgreater] use the specified gpscv configuration file
	\item[-d]	run in debugging mode
	\item[-g \textless $0|1$\textgreater] disable/enable the system GPIO
	\item[-h]	print help and exit
	\item[-p \textless $1\ldots6$\textgreater] set the PPS OUT source
	\item[-q] query the counter configuration
	\item[-v]	print version information and exit
\end{description*}

\begin{centering}
\begin{table}[h]
\begin{tabular}{ll}
channel & PPS signal \\ \hline
1 & NavSpark\\
2 & SMT360\\
3 & NV08C\\
4 & external pps\\
5 & system time pps\\
6 & GPIO\\
default & GPSDO
\end{tabular}
\caption{PPS OUT channels for the \cc{-p} option}
\end{table}
\end{centering}

Note that the default state is to output the GPSDO 1 pps.


\section{Benutzeroberfläche}%

Die GUI wird mit den Standard-Oberflächenelementen der verwendeten Entwicklungsplattform (z.~B. Java, Eclipse Platform) gestaltet. Soweit anwendbar, folgt die Gestaltung den \emph{User Interface Guidelines} der verwendeten Plattform.

Die GUI soll für den mit der Plattform vertrauten Benutzer intuitiv benutzbar sein und häufig durchgeführte Arbeitsschritte beschleunigen.

\subsection{Prototyp der Editor-Ansicht}%

\includegraphics[width=\textwidth]{mockup/editor.pdf}

\subsection{Prototyp der Debugger-Ansicht}%

\includegraphics[width=\textwidth]{mockup/debug.pdf}

Mark space after z. B. as not separating sentences

\section{Benutzeroberfläche}%

Die GUI wird mit den Standard-Oberflächenelementen der verwendeten Entwicklungsplattform (z.~B.\ Java, Eclipse Platform) gestaltet. Soweit anwendbar, folgt die Gestaltung den \emph{User Interface Guidelines} der verwendeten Plattform.

Die GUI soll für den mit der Plattform vertrauten Benutzer intuitiv benutzbar sein und häufig durchgeführte Arbeitsschritte beschleunigen.

\subsection{Prototyp der Editor-Ansicht}%

\includegraphics[width=\textwidth]{mockup/editor.pdf}

\subsection{Prototyp der Debugger-Ansicht}%

\includegraphics[width=\textwidth]{mockup/debug.pdf}


## Interface: 40000
## Title: FindIt
## Author: Adys
## Version: 1.6.0
## Notes: Find items, spells, achievements...
## eMail: adys.wh@gmail.com
## URL: http://github.com/
## LoadOnDemand: 0
## DefaultState: enabled

LibWeagleTooltip.lua
FindIt.lua

Fix the URL in TOC

## Interface: 40000
## Title: FindIt
## Author: Adys
## Version: 1.6.0
## Notes: Find items, spells, achievements...
## eMail: adys.wh@gmail.com
## URL: http://github.com/adys/findit
## LoadOnDemand: 0
## DefaultState: enabled

LibWeagleTooltip.lua
FindIt.lua


\documentclass[10pt, a4paper]{article}

\usepackage[
	left=1.5cm,
	right=1.5cm,
	top=2cm,
	bottom=2cm,
]{geometry}

\usepackage[T1,T2A]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english,russian]{babel}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{makeidx}

\begin{document}
\section{Давайте поговорим о хаскеле}

Привет, медвед

% itemize for a bullet list
% enumerate for an enumerated list and
% description for a descriptive list.

\begin{itemize}
	\item hello
	\item Мир
\end{itemize}

\end{document}

Add comment just in case

% texstudio
\documentclass[10pt, a4paper]{article}

\usepackage[
	left=1.5cm,
	right=1.5cm,
	top=2cm,
	bottom=2cm,
]{geometry}

\usepackage[T1,T2A]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english,russian]{babel}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{makeidx}

\begin{document}
\section{Давайте поговорим о хаскеле}

Привет, медвед

% itemize for a bullet list
% enumerate for an enumerated list and
% description for a descriptive list.

\begin{itemize}
	\item hello
	\item Мир
\end{itemize}

\end{document}


\documentclass[11pt]{article}

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[english]{babel}
\usepackage{hyperref}

\usepackage{amsfonts}

\title{Fast set implementation based on a hybrid hashtable and AVL}
\author{
    Julian Ganz\\
    \and
    Matthias Beyer\\
}

\begin{document}

\maketitle{}

\tableofcontents{}

\input{intro}
\input{overview}
\input{data-layout}
\input{operations}
\input{parameters}

\end{document}

Add prequisites for graph inclusion

\documentclass[11pt]{article}

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[english]{babel}
\usepackage{hyperref}

\usepackage{amsfonts}
\usepackage{graphicx}

\DeclareGraphicsRule{.1}{mps}{*}{}

\title{Fast set implementation based on a hybrid hashtable and AVL}
\author{
    Julian Ganz\\
    \and
    Matthias Beyer\\
}

\begin{document}

\maketitle{}

\tableofcontents{}

\input{intro}
\input{overview}
\input{data-layout}
\input{operations}
\input{parameters}

\end{document}


@inproceedings{p2015,
    title = {One Conference in 2015},
    booktitle = {Nikola Tesla Conference},
    author = {Nikola Tesla},
    year = 2015
}

Add tests for BibTeX entries with duplicated labels.

@article{a2015,
    title = {One Article in 2015},
    author = {Nikola Tesla},
    year = 2015,
    journal = {Great Journal},
    volume = 1,
    page = {1--10},
    fulltext = {/pdf/a2015.pdf},
    abstract = {The abstract}
}

@inproceedings{p2015,
    title = {One Conference in 2015},
    booktitle = {Nikola Tesla Conference},
    author = {Nikola Tesla},
    year = 2015
}


## Interface: 20003
## Title: EPGP
## Notes: Effort Points/Gear Points Loot System
## Author: Alkis Evlogimenos
## Version: @VERSION@
## OptionalDeps: Ace2
## SavedVariables: EPGP_Core_DB
## SavedVariablesPerCharacter: EPGP_Core_PerCharDB
## X-Category: Guild
## X-Website: http://code.google.com/p/epgp/

Libs\AceLibrary\AceLibrary.lua
Libs\AceOO-2.0\AceOO-2.0.lua
Libs\AceEvent-2.0\AceEvent-2.0.lua
Libs\AceHook-2.1\AceHook-2.1.lua
Libs\AceAddon-2.0\AceAddon-2.0.lua
Libs\AceConsole-2.0\AceConsole-2.0.lua
Libs\AceModuleCore-2.0\AceModuleCore-2.0.lua
Libs\AceDB-2.0\AceDB-2.0.lua
Libs\AceDebug-2.0\AceDebug-2.0.lua

Localization.enUS.lua
Localization.frFR.lua
Localization.deDE.lua
Localization.esES.lua
Localization.koKR.lua
Localization.zhCN.lua
Localization.zhTW.lua

Core.lua
Cache.lua
Backend.lua
GPTooltip.lua

ATemplates.xml
UI.xml

Fix toc to reference babble-class.

## Interface: 20003
## Title: EPGP
## Notes: Effort Points/Gear Points Loot System
## Author: Alkis Evlogimenos
## Version: @VERSION@
## OptionalDeps: Ace2
## SavedVariables: EPGP_Core_DB
## SavedVariablesPerCharacter: EPGP_Core_PerCharDB
## X-Category: Guild
## X-Website: http://code.google.com/p/epgp/

Libs\AceLibrary\AceLibrary.lua
Libs\AceOO-2.0\AceOO-2.0.lua
Libs\AceEvent-2.0\AceEvent-2.0.lua
Libs\AceHook-2.1\AceHook-2.1.lua
Libs\AceAddon-2.0\AceAddon-2.0.lua
Libs\AceConsole-2.0\AceConsole-2.0.lua
Libs\AceModuleCore-2.0\AceModuleCore-2.0.lua
Libs\AceDB-2.0\AceDB-2.0.lua
Libs\AceDebug-2.0\AceDebug-2.0.lua
Libs\Babble-Class-2.2\Babble-Class-2.2.lua

Localization.enUS.lua
Localization.frFR.lua
Localization.deDE.lua
Localization.esES.lua
Localization.koKR.lua
Localization.zhCN.lua
Localization.zhTW.lua

Core.lua
Cache.lua
Backend.lua
GPTooltip.lua

ATemplates.xml
UI.xml


<%
groups = []
groups.push(
  { title: 'Labor', lines: @invoice.lines.time_entry,
    footer: 'inv_lines_labor_group_footer.tex' }
) if @invoice.lines.time_entry.any?
groups.push(
  { title: 'Non Labor', lines: @invoice.lines.product }
) if @invoice.lines.product.any?
-%>
\begin{document}
<%= partial( 'lhead.tex', { :location => @invoice.location } ) %>
<%=partial 'inv_rhead.tex', invoice: @invoice %>
\textbf{Invoice To:}
\medskip
\hspace*{3ex}{
  <%=partial 'address.tex', :address=>@invoice.billing_address %>
}
\medskip
<%=partial 'inv_info_line.tex', invoice: @invoice -%>
\\[-5ex]
<%=partial 'inv_lines.tex', invoice: @invoice, lines: @invoice.lines.regular,
    footer: groups.many? ? false : 'labor_lines_footer.tex',
    groups: groups.many? ? groups : false %>
\end{document}

Adjust LTpre vs negative adjustment

<%
groups = []
groups.push(
  { title: 'Labor', lines: @invoice.lines.time_entry,
    footer: 'inv_lines_labor_group_footer.tex' }
) if @invoice.lines.time_entry.any?
groups.push(
  { title: 'Non Labor', lines: @invoice.lines.product }
) if @invoice.lines.product.any?
-%>
\setlength{\LTpre}{0pt}
\begin{document}
<%= partial( 'lhead.tex', { :location => @invoice.location } ) %>
<%=partial 'inv_rhead.tex', invoice: @invoice %>
\textbf{Invoice To:}
\medskip
\hspace*{3ex}{
  <%=partial 'address.tex', :address=>@invoice.billing_address %>
}
\medskip
<%=partial 'inv_info_line.tex', invoice: @invoice -%>
<%=partial 'inv_lines.tex', invoice: @invoice, lines: @invoice.lines.regular,
    footer: groups.many? ? false : 'labor_lines_footer.tex',
    groups: groups.many? ? groups : false %>
\end{document}


% Everything with files. Sockets, configuration file positions, etc?

Add short description about the section

% Everything with files. Sockets, configuration file positions, etc?

This section describes and lists all the files, waysome expencts to be present,
waysome interacts with etc.


{% extends "correspondence/generic-letter.tex" %}
{% load tex_tags %}
{% load i18n %}
{% block body %}

{% blocktrans %}
Thanks for writing us. Unfortunately, we can't publish or hold on to any blog posts or profiles from you until you've signed a license agreement with us.  We've recorded your name and address, and have put you in line to receive an introductory packet with the license agreement soon.  Once you've received and reviewed the license agreement, you're welcome to return any materials you'd like to publish to us with the signed agreement.  We're sorry for this inconvenience; but we have to stay on our lawyers' good side.  We hope to be in touch with you with a complete introductory packet as soon as we can, but due to our limited capacity, the waitlist is currently rather long. We don't currently have an estimate for how long it will take.
{% endblocktrans %}

{% endblock %}
{% block signature %}{{ letter.org.name|tex_escape }} staff{% endblock %}

Improve language for refused originals

{% extends "correspondence/generic-letter.tex" %}
{% load tex_tags %}
{% load i18n %}
{% block body %}

{% blocktrans %}
Thanks for writing us.  Enclosed you will find the materials you recently sent us. They are being returned to you because we cannot publish or hold on to any blog posts or profiles until you've signed a license agreement with us.  We’re sorry for this inconvenience; but we have to stay on our lawyers’ good side.

Unfortunately, the demand to blog has outpaced our capacity to process the mail from our currently registered writers.  In order to meet our obligations to our current writers, we are currently maintaining a wait-list.  Invitations are sent as space is available in the order requests were received.  At this time we do not have an estimate for how long the wait is.  We've added your name and address and will send you the registration materials as soon as we are able to.  Please do not send us any more materials until you have received them.
{% endblocktrans %}

{% endblock %}
{% block signature %}{{ letter.org.name|tex_escape }} staff{% endblock %}


\chapter{Translating AST to HIR}
\label{chap-translating-ast-to-hir}

The translation of an abstract syntax tree
\seechap{chap-abstract-syntax-tree} to high-level intermediate
representation \seechap{chap-ir} is done by an algorithm that is
similar to that of CPS-conversion.%
\footnote{CPS means Continuation Passing Style.}

As with CPS-conversion, translation makes the control structure
explicit.  Another similarity is that translation is done from the end
of the program to the beginning.

\section{\asdf{} system name}

The name of the \asdf{} system that accomplishes the translation of an
abstract syntax tree into HIR is called \texttt{cleavir-ast-to-hir}
and it is located in the file \texttt{cleavir-ast-to-hir.asd} in the
sub-directory named \texttt{AST-to-HIR}.

\section{Package}

\section{Compilation context}

Translation of a form is accomplished with respect to a
\emph{compilation context}.  This context contains a \emph{list of
  lexical variables} to which the values of the translated AST must be
assigned.  The length of the list corresponds to the number of values
required by the context.  The context also contains a \emph{list of
  successors} which represent MIR instructions to which transfer
control after evaluation of the current AST.

Add paragraph with name of package and its location.

\chapter{Translating AST to HIR}
\label{chap-translating-ast-to-hir}

The translation of an abstract syntax tree
\seechap{chap-abstract-syntax-tree} to high-level intermediate
representation \seechap{chap-ir} is done by an algorithm that is
similar to that of CPS-conversion.%
\footnote{CPS means Continuation Passing Style.}

As with CPS-conversion, translation makes the control structure
explicit.  Another similarity is that translation is done from the end
of the program to the beginning.

\section{\asdf{} system name}

The name of the \asdf{} system that accomplishes the translation of an
abstract syntax tree into HIR is called \texttt{cleavir-ast-to-hir}
and it is located in the file \texttt{cleavir-ast-to-hir.asd} in the
sub-directory named \texttt{AST-to-HIR}.

\section{Package}

The name of the package that contains the names specific to this
system is \texttt{cleavir-ast-to-hir}.  It is defined in the file
named \texttt{packages.lisp} in the sub-directory named
\texttt{AST-to-HIR}.

\section{Compilation context}

Translation of a form is accomplished with respect to a
\emph{compilation context}.  This context contains a \emph{list of
  lexical variables} to which the values of the translated AST must be
assigned.  The length of the list corresponds to the number of values
required by the context.  The context also contains a \emph{list of
  successors} which represent MIR instructions to which transfer
control after evaluation of the current AST.


\chapter{Translating AST to MIR}
\label{chap-translating-ast-to-mir}

The translation of an abstract syntax tree
\seechap{chap-abstract-syntax-tree} to medium-level intermediate
representation \seechap{chap-ir} is done by an algorithm that is
similar to that of CPS-conversion.%
\footnote{CPS means Continuation Passing Style.}

As with CPS-conversion, translation makes the control structure
explicit.  Another similarity is that translation is done from the end
of the program to the beginning.

Translation of a form is accomplished with respect to a
\emph{compilation context}.  This context contains a \emph{list of
  lexical variables} to which the values of the translated AST must be
assigned.  The length of the list corresponds to the number of values
required by the context.  The context also contains a \emph{list of
  successors} which represent MIR instructions to which transfer
control after evaluation of the current AST.

Replace MIR by HIR which is what the AST translates to.

\chapter{Translating AST to HIR}
\label{chap-translating-ast-to-hir}

The translation of an abstract syntax tree
\seechap{chap-abstract-syntax-tree} to medium-level intermediate
representation \seechap{chap-ir} is done by an algorithm that is
similar to that of CPS-conversion.%
\footnote{CPS means Continuation Passing Style.}

As with CPS-conversion, translation makes the control structure
explicit.  Another similarity is that translation is done from the end
of the program to the beginning.

Translation of a form is accomplished with respect to a
\emph{compilation context}.  This context contains a \emph{list of
  lexical variables} to which the values of the translated AST must be
assigned.  The length of the list corresponds to the number of values
required by the context.  The context also contains a \emph{list of
  successors} which represent MIR instructions to which transfer
control after evaluation of the current AST.


\chapter{Removed systems}

This appendix contains a list of systems that were removed for one of
several reasons:

\begin{itemize}
\item The code used to work, but is no longer working due to updates
  in code that it depends on.  More work is needed for it to be usable
  again.
\item The code never worked, and it needs more work in order for it to
  be considered part of \sysname{}.
\item The code never worked, and we have no ambition to make it work,
  but it nevertheless contains interesting ideas that we might revive
  in the future.
\end{itemize}

Add section for removed C backend.

\chapter{Removed systems}

This appendix contains a list of systems that were removed for one of
several reasons:

\begin{itemize}
\item The code used to work, but is no longer working due to updates
  in code that it depends on.  More work is needed for it to be usable
  again.
\item The code never worked, and it needs more work in order for it to
  be considered part of \sysname{}.
\item The code never worked, and we have no ambition to make it work,
  but it nevertheless contains interesting ideas that we might revive
  in the future.
\end{itemize}

\section{Stack-oriented \clanguage{} backend}

Removed 2016-08-09.

SHA1 ID: b983763485ac5efb6fe3319f015b414b3e7ea5f5


\chapter{String Services}
\label{strings}

The modules described in this chapter provide a wide range of string
manipulation operations.  Here's an overview:

\localmoduletable

Add reference to the "String Methods" section to make that information easier to find. Based on the comment from Steve Alexander on the zope-coders mailing list.

\chapter{String Services}
\label{strings}

The modules described in this chapter provide a wide range of string
manipulation operations.  Here's an overview:

\localmoduletable

Information on the methods of string objects can be found in
section~\ref{string-methods}, ``String Methods.''


\documentclass[
pdftex,
a4paper,
11pt,
listof=totoc,index=totoc,bibliography=totoc
]{scrreprt}

\usepackage[l2tabu, orthodox]{nag}

\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\usepackage{listings}

\usepackage{blindtext}
\usepackage{refcheck}

\usepackage[pdftex,
    pdfauthor={Florian Wilhelm},
    pdfsubject={TODO},
    pdftitle={TODO},
    pdfproducer={LaTeX with hyperref},
    pdfpagemode=UseOutlines,
    pdfcreator={pdflatex},
    breaklinks]
{hyperref}

\usepackage{color}

\definecolor{mygray}{rgb}{0.5,0.5,0.5}
\lstset{
        breaklines=true,
        basicstyle=\small\fontfamily{lmtt}\selectfont,
        captionpos=b,
        stringstyle=\color{blue},
        numberstyle=\tiny\color{gray},
        keywordstyle=\color{blue},
        commentstyle=\color{green}
}

\usepackage{xparse} % NewDocumentCommand

Use xcolor instead of color and pick better color for code comments.

\documentclass[
pdftex,
a4paper,
11pt,
listof=totoc,index=totoc,bibliography=totoc
]{scrreprt}

\usepackage[l2tabu, orthodox]{nag}

\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\usepackage{listings}

\usepackage{blindtext}
\usepackage{refcheck}

\usepackage[pdftex,
    pdfauthor={Florian Wilhelm},
    pdfsubject={TODO},
    pdftitle={TODO},
    pdfproducer={LaTeX with hyperref},
    pdfpagemode=UseOutlines,
    pdfcreator={pdflatex},
    breaklinks]
{hyperref}

\usepackage{xcolor}

\definecolor{color-green-comment}{HTML}{146414}
\lstset{
        breaklines=true,
        basicstyle=\small\fontfamily{lmtt}\selectfont,
        captionpos=b,
        stringstyle=\color{blue},
        numberstyle=\tiny\color{gray},
        keywordstyle=\color{blue},
        commentstyle=\color{color-green-comment}
}

\usepackage{xparse} % NewDocumentCommand


## Interface: 20300
## Title: EPGP-dev
## Notes: Effort Points/Gear Points Loot System
## Author: Alkis Evlogimenos
## Version: @VERSION@
## SavedVariables: EPGP_DB
## X-Category: Guild
## X-Website: http://code.google.com/p/epgp/

Libs\LibStub\LibStub.lua
Libs\CallbackHandler-1.0\CallbackHandler-1.0.xml
Libs\AceAddon-3.0\AceAddon-3.0.xml
Libs\AceConsole-3.0\AceConsole-3.0.xml
Libs\AceDB-3.0\AceDB-3.0.xml
Libs\AceEvent-3.0\AceEvent-3.0.xml
Libs\AceHook-3.0\AceHook-3.0.xml
Libs\AceLocale-3.0\AceLocale-3.0.xml
Libs\AceTimer-3.0\AceTimer-3.0.xml
Libs\Deformat-2.0\Deformat-2.0.lua
Libs\LibBabble-Boss-3.0\lib.xml
Libs\LibBabble-Class-3.0\lib.xml

LibGuildStorage-1.0.lua
Localization.enUS.lua
epgp.lua
GPTooltip.lua
OfficerNoteWarning.lua
Loot.lua
UI.lua

Change version number to work with patch 3.0.2.

## Interface: 30000
## Title: EPGP-dev
## Notes: Effort Points/Gear Points Loot System
## Author: Alkis Evlogimenos
## Version: @VERSION@
## SavedVariables: EPGP_DB
## X-Category: Guild
## X-Website: http://code.google.com/p/epgp/

Libs\LibStub\LibStub.lua
Libs\CallbackHandler-1.0\CallbackHandler-1.0.xml
Libs\AceAddon-3.0\AceAddon-3.0.xml
Libs\AceConsole-3.0\AceConsole-3.0.xml
Libs\AceDB-3.0\AceDB-3.0.xml
Libs\AceEvent-3.0\AceEvent-3.0.xml
Libs\AceHook-3.0\AceHook-3.0.xml
Libs\AceLocale-3.0\AceLocale-3.0.xml
Libs\AceTimer-3.0\AceTimer-3.0.xml
Libs\Deformat-2.0\Deformat-2.0.lua
Libs\LibBabble-Boss-3.0\lib.xml
Libs\LibBabble-Class-3.0\lib.xml

LibGuildStorage-1.0.lua
Localization.enUS.lua
epgp.lua
GPTooltip.lua
OfficerNoteWarning.lua
Loot.lua
UI.lua


\author{Guido van Rossum\\
	Fred L. Drake, Jr., editor}
\authoraddress{
	BeOpen PythonLabs\\
	E-mail: \email{python-docs@python.org}
}

\date{September 26, 2000}		% XXX update before release!
\release{2.0b2}				% software release, not documentation
\setshortversion{2.0}			% major.minor only for Python

Update for next planned release.

\author{Guido van Rossum\\
	Fred L. Drake, Jr., editor}
\authoraddress{
	BeOpen PythonLabs\\
	E-mail: \email{python-docs@python.org}
}

\date{October 9, 2000}		% XXX update before release!
\release{2.0c1}			% software release, not documentation
\setshortversion{2.0}		% major.minor only for software


\section{Previous work}

One of the first implementations of the \commonlisp{} \texttt{loop}
macro is the one that is often referred to as ``MIT LOOP''
\cite{Burke:Moon:MIT.loop}.

\ecl{} uses MIT LOOP with only minor modifications.

\sbcl{} includes an implementation of the \texttt{loop} macro that was
originally derived from MIT LOOP, but that also includes code from the
\texttt{loop} macro of the \genera{} operating system.  Furthermore,
the \sbcl{} implementation of the \texttt{loop} macro has been
modified and improved to allow for user-definable extensions, such as
the extension defined in \cite{Rhodes:2007:USC:1622123.1622138} for
iterating over user-definable sequences.

\clisp{} has its own implementation of the \texttt{loop} macro.  The
bulk of the implementation can be found in a function named
\texttt{expand-loop}.  This function consists of more than $900$ lines
of code.

Add paragraph explaining that ECL has two loop implementations.

\section{Previous work}

One of the first implementations of the \commonlisp{} \texttt{loop}
macro is the one that is often referred to as ``MIT LOOP''
\cite{Burke:Moon:MIT.loop}.

\ecl{} includes two implementations of the \texttt{loop} macro, namely
the initial MIT LOOP with only minor modifications, and the variation
by \symbolics{} also with minor modifications.

\sbcl{} includes an implementation of the \texttt{loop} macro that was
originally derived from MIT LOOP, but that also includes code from the
\texttt{loop} macro of the \genera{} operating system.  Furthermore,
the \sbcl{} implementation of the \texttt{loop} macro has been
modified and improved to allow for user-definable extensions, such as
the extension defined in \cite{Rhodes:2007:USC:1622123.1622138} for
iterating over user-definable sequences.

\clisp{} has its own implementation of the \texttt{loop} macro.  The
bulk of the implementation can be found in a function named
\texttt{expand-loop}.  This function consists of more than $900$ lines
of code.


\documentclass[a4paper,ngerman]{article}

% General includes used by all x3-templates
\input{x3-general-preamble}

% Make it possible to enable or disable TOC
\newif\ifShowTOC

Decrease margin size for x3-assignment, was a bit too wide

\documentclass[a4paper,ngerman]{article}

\usepackage{geometry}
\geometry{
  top=1.5in,
  inner=1.5in,
  outer=1.5in,
  bottom=1.5in,
  headheight=3ex,
  headsep=3ex
}

% General includes used by all x3-templates
\input{x3-general-preamble}

% Make it possible to enable or disable TOC
\newif\ifShowTOC


@InProceedings{busa-fekete11a,
  title = {Ranking by calibrated AdaBoost},
  author = {R. Busa-Fekete and B. KÃ©gl and T. ÃltetÅ  and  G. Szarvas},
  pages = {37--48},
  abstract = {This paper describes the ideas and methodologies that we used in the Yahoo learning-to-rank challenge^{1}. Our technique is essentially pointwise with a listwise touch at the last combination step. The main ingredients of our approach are 1) preprocessing (querywise normalization) 2) multi-class AdaBoost.MH 3) regression calibration, and 4) an exponentially weighted forecaster for model combination. In post-challenge analysis we found that preprocessing and training AdaBoost with a wide variety of hyperparameters improved individual models significantly, the final listwise ensemble step was crucial, whereas calibration helped only in creating diversity.},
  pdf = {http://jmlr.org/proceedings/papers/v14/busa-fekete11a/busa-fekete11a.pdf},
}

Fix broken unicode in author names

@InProceedings{busa-fekete11a,
  title = {Ranking by calibrated AdaBoost},
  author = {R. Busa-Fekete and B. Kégl and T. Éltető and G. Szarvas},
  pages = {37--48},
  abstract = {This paper describes the ideas and methodologies that we used in the Yahoo learning-to-rank challenge^{1}. Our technique is essentially pointwise with a listwise touch at the last combination step. The main ingredients of our approach are 1) preprocessing (querywise normalization) 2) multi-class AdaBoost.MH 3) regression calibration, and 4) an exponentially weighted forecaster for model combination. In post-challenge analysis we found that preprocessing and training AdaBoost with a wide variety of hyperparameters improved individual models significantly, the final listwise ensemble step was crucial, whereas calibration helped only in creating diversity.},
  pdf = {http://jmlr.org/proceedings/papers/v14/busa-fekete11a/busa-fekete11a.pdf},
}


## Interface: 30000
## Title: TradeCD
## Notes: LibDataBroker for tradeskill cooldowns
## Author: David M. Cooke
## X-Email: david.m.cooke@gmail.com
## Version: 1.0
## X-Category: Tradeskill
## SavedVariables: TradeCD_DB

# embedded libraries
LibStub.lua
CallbackHandler-1.0.lua
LibDataBroker-1.1.lua

base.lua
debug.lua
dmc.lua
TradeCD.lua

Add X-ExtraFiles key to list extra files

## Interface: 30000
## Title: TradeCD
## Notes: LibDataBroker for tradeskill cooldowns
## Author: David M. Cooke
## X-Email: david.m.cooke@gmail.com
## Version: 1.0
## X-Category: Tradeskill
## SavedVariables: TradeCD_DB

# embedded libraries
LibStub.lua
CallbackHandler-1.0.lua
LibDataBroker-1.1.lua

base.lua
debug.lua
dmc.lua
TradeCD.lua

## X-ExtraFiles: icon.tga


\documentclass{book}

\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{booktabs}
\usepackage{graphicx}
\usepackage[space]{grffile}
\usepackage[utf8]{inputenc}
\usepackage{ngerman}

\newcommand*{\R}{\mathbb{R}}
\newcommand*{\N}{\mathbb{N}}
\newcommand*{\Z}{\mathbb{Z}}
\newcommand*{\Q}{\mathbb{Q}}
\newcommand*{\C}{\mathbb{C}}

\newcommand*{\sgn}{\operatorname{sgn}}

Change order of included packages

\documentclass{book}

\usepackage[utf8]{inputenc}
\usepackage{ngerman}
\usepackage{graphicx}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{booktabs}
\usepackage[space]{grffile}

\newcommand*{\R}{\mathbb{R}}
\newcommand*{\N}{\mathbb{N}}
\newcommand*{\Z}{\mathbb{Z}}
\newcommand*{\Q}{\mathbb{Q}}
\newcommand*{\C}{\mathbb{C}}

\newcommand*{\sgn}{\operatorname{sgn}}


## Interface: 50400
## Title: Titan [|cffeda55fPlayed|r]
## Notes: Display time played for each character
## Author: Philip Abbet
## DefaultState: Enabled
## SavedVariables: TitanPlayedTimes
## OptionalDeps:
## Dependencies: Titan
## Version: 1.0
libs\LibQTip-1.0\LibQTip-1.0.lua
libs\LibStub\LibStub.lua
TitanPlayed.xml

Make it compatible with WoW 6.0

## Interface: 60000
## Title: Titan [|cffeda55fPlayed|r]
## Notes: Display time played for each character
## Author: Philip Abbet
## DefaultState: Enabled
## SavedVariables: TitanPlayedTimes
## OptionalDeps:
## Dependencies: Titan
## Version: 1.0
libs\LibQTip-1.0\LibQTip-1.0.lua
libs\LibStub\LibStub.lua
TitanPlayed.xml


% !TeX spellcheck = en_GB
% !TeX encoding = UTF-8
% !TeX program = pdflatex
\documentclass{ldbc}

\input{packages}
\input{commands}
\input{query-card-definitions}
\input{listings}
\input{main-doc-settings}

\setboolean{standalone}{false}

\input{abstract}
\input{executive-summary}

\begin{document}

\maketitle

\chapter*{Acknowledgments}
\input{special-thanks}

\input{defs}

\input{introduction}

\input{benchmark-specification}

\input{data}

\input{workloads}

\input{interactive}

\input{bi}

\input{auditing}

\input{acid}

\input{related-work}

\bibliographystyle{abbrvnat}
\bibliography{bib/references,bib/graphalytics,bib/snb-interactive,bib/snb-bi,bib/spb,bib/datagen-deletes,bib/acid,bib/specification}

\appendix

\input{choke-points}

\input{sf-statistics}

\input{benchmark-checklist}

\end{document}

Drop explicit TeX program configuration

% !TeX spellcheck = en_GB
% !TeX encoding = UTF-8
\documentclass{ldbc}

\input{packages}
\input{commands}
\input{query-card-definitions}
\input{listings}
\input{main-doc-settings}

\setboolean{standalone}{false}

\input{abstract}
\input{executive-summary}

\begin{document}

\maketitle

\chapter*{Acknowledgments}
\input{special-thanks}

\input{defs}

\input{introduction}

\input{benchmark-specification}

\input{data}

\input{workloads}

\input{interactive}

\input{bi}

\input{auditing}

\input{acid}

\input{related-work}

\bibliographystyle{abbrvnat}
\bibliography{bib/references,bib/graphalytics,bib/snb-interactive,bib/snb-bi,bib/spb,bib/datagen-deletes,bib/acid,bib/specification}

\appendix

\input{choke-points}

\input{sf-statistics}

\input{benchmark-checklist}

\end{document}


\documentclass{book}

\usepackage[utf8]{inputenc}
\usepackage{ngerman}
\usepackage{graphicx}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{booktabs}
\usepackage[space]{grffile}

\newcommand*{\R}{\mathbb{R}}
\newcommand*{\N}{\mathbb{N}}
\newcommand*{\Z}{\mathbb{Z}}
\newcommand*{\Q}{\mathbb{Q}}
\newcommand*{\C}{\mathbb{C}}

\newcommand*{\sgn}{\operatorname{sgn}}

Set paper size to A4

\documentclass[a4paper]{book}

\usepackage[utf8]{inputenc}
\usepackage{ngerman}
\usepackage[a4paper]{geometry}
\usepackage{graphicx}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{booktabs}
\usepackage[space]{grffile}

\newcommand*{\R}{\mathbb{R}}
\newcommand*{\N}{\mathbb{N}}
\newcommand*{\Z}{\mathbb{Z}}
\newcommand*{\Q}{\mathbb{Q}}
\newcommand*{\C}{\mathbb{C}}

\newcommand*{\sgn}{\operatorname{sgn}}


\begin{table}[htbp]
\centering
\resizebox{\columnwidth}{!}{
\begin{tabular}{cclll}

\hline
\rowcolor{lightgray}
\textbf{ordinal} & \textbf{branch\_path} & \textbf{weight} \\
\hline
0 & b1$\sim$b11\_b21 & 0.1125 \\
1 & b1$\sim$b11\_b22 & 0.075 \\
2 & b1$\sim$b12\_b21 & 0.0375 \\
3 & b1$\sim$b12\_b22 & 0.025 \\
4 & b2$\sim$b11\_b21 & 0.3375 \\
5 & b2$\sim$b11\_b22 & 0.225 \\
6 & b2$\sim$b12\_b21 & 0.1125 \\
7 & b2$\sim$b12\_b22 & 0.075 \\
\hline

\end{tabular}
}
\caption{Example of a realizations file}
\label{output:realizations}
\end{table}

Reduce the size of gigantic Table 4.3

\begin{table}[htbp]
\centering
\begin{tabular}{cclll}

\hline
\rowcolor{lightgray}
\textbf{ordinal} & \textbf{branch\_path} & \textbf{weight} \\
\hline
0 & b1$\sim$b11\_b21 & 0.1125 \\
1 & b1$\sim$b11\_b22 & 0.075 \\
2 & b1$\sim$b12\_b21 & 0.0375 \\
3 & b1$\sim$b12\_b22 & 0.025 \\
4 & b2$\sim$b11\_b21 & 0.3375 \\
5 & b2$\sim$b11\_b22 & 0.225 \\
6 & b2$\sim$b12\_b21 & 0.1125 \\
7 & b2$\sim$b12\_b22 & 0.075 \\
\hline

\end{tabular}
\caption{Example of a realizations file}
\label{output:realizations}
\end{table}


\usepackage{ifxetex}
\ifxetex
	\usepackage{fontspec}
\else
	\usepackage[T1]{fontenc}
	\usepackage[utf8]{inputenc}
	\usepackage[lighttt]{lmodern}
\fi

\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{etoolbox}
\newtoggle{textualoperators}

\usepackage{tikz}
\usepackage{forest}
\tikzset{every node/.style={draw}}

Add note on forest package

\usepackage{ifxetex}
\ifxetex
	\usepackage{fontspec}
\else
	\usepackage[T1]{fontenc}
	\usepackage[utf8]{inputenc}
	\usepackage[lighttt]{lmodern}
\fi

\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{etoolbox}
\newtoggle{textualoperators}

\usepackage{tikz}
% Using the forest package, there is a known issue that edges sometimes cut through child nodes.
% See the package documentation on CTAN (https://www.ctan.org/pkg/forest), section 6.2. "Known bugs", "Edges cutting through sibling nodes":
% While it would be possible to fix the situation after child alignment (at least for some child alignment methods), I have decided against that, since the distances between siblings would soon become too large. [...] The bottomline is, please use manual adjustment to fix such situations.
\usepackage{forest}

\tikzset{every node/.style={draw}}


\date{}
\author{Southampton Mathematics}
\documentclass{book}

\usepackage{nbconvert_book}

%%%%%
% User-defined commands for the LaTeX chapter
% New commands; see section 1.1
\newcommand{\pda}[2]{\frac{\partial {#1}}{\partial {#2}}}
\newcommand{\uos}{\textsc{University of Southampton}}
% Renewed commands; see section 1.2
\renewcommand{\vec}[1]{\mathbf{#1}}

% New environments; see section 2
\newenvironment{solution}[1]{%
  \begin{center}
    \rule{#1}{.1pt}
  \end{center}
}{%
  \begin{center}
    \rule{0.9\textwidth}{.1pt}
  \end{center}
}
%%%%%

\title{Mathematics with Python}

\begin{document}

\maketitle

\tableofcontents

\include{00-first-steps}
\include{01-python-basics}
\include{02-programs}
\include{03-loops-control-flow}
\include{04-basic-plotting}
\include{05-classes-oop}
\include{06-numpy-plotting}
\include{07-sympy}
\include{08-statistics}

\include{latex_chapter}

\appendix

\include{09-exceptions-testing}
\include{10-generators}

\end{document}

Change chapter numbers to match notebooks.

\date{}
\author{Southampton Mathematics}
\documentclass{book}

\usepackage{nbconvert_book}

%%%%%
% User-defined commands for the LaTeX chapter
% New commands; see section 1.1
\newcommand{\pda}[2]{\frac{\partial {#1}}{\partial {#2}}}
\newcommand{\uos}{\textsc{University of Southampton}}
% Renewed commands; see section 1.2
\renewcommand{\vec}[1]{\mathbf{#1}}

% New environments; see section 2
\newenvironment{solution}[1]{%
  \begin{center}
    \rule{#1}{.1pt}
  \end{center}
}{%
  \begin{center}
    \rule{0.9\textwidth}{.1pt}
  \end{center}
}
%%%%%

\title{Mathematics with Python}

\begin{document}

\maketitle

\tableofcontents

\addtocounter{chapter}{-1}

\include{00-first-steps}
\include{01-python-basics}
\include{02-programs}
\include{03-loops-control-flow}
\include{04-basic-plotting}
\include{05-classes-oop}
\include{06-numpy-plotting}
\include{07-sympy}
\include{08-statistics}

\include{latex_chapter}

\appendix

\include{09-exceptions-testing}
\include{10-generators}

\end{document}


%!TEX root = ./dissertation.tex

% Dissertation basic information
\newcommand {\Title} {Cloud4Things}
\newcommand {\Subtitle} {My Subtitle}
\newcommand {\StudentName} {Marcus Vin\'icius Paulino Gomes}
\newcommand {\DegreeName} {Information and Software Engineering}
\newcommand {\Supervisors} {\large Dr. Miguel Filipe Leit\~ao Pardal\\
                            \large Dr. Jos\'e Manuel da Costa Alves Marques}

% Include or not include acknowledgments
\def \includeAcknowledgments{1}

% Include or not include glossary
\def \includeGlossary{0}

% Examination Committee
\newcommand {\Chairperson} {Prof./Dr. Lorem Ipsum}
\newcommand {\Advisor} {\large Dr. Miguel Filipe Leit\~ao Pardal}
\newcommand {\CommitteeMembers} {{\large Dr. Jos\'e Manuel da Costa Alves Marques}\\
                                 {\large Dr. Lu\'is Antunes Veiga}}

% Date
\newcommand {\Month} {October}
\newcommand {\Year} {2015}

% Acknowledgments page numbering
\def \acknowledgmentsPage{1}

% Abstract-en page number
\def \abstractEnglishPage{3}

% Abstract-pt page number
\def \abstractPortuguesePage{5}

% You can define your own variables here

Add a variable to specify the column width size.

%!TEX root = ./dissertation.tex

% Dissertation basic information
\newcommand {\Title} {Cloud4Things}
\newcommand {\Subtitle} {My Subtitle}
\newcommand {\StudentName} {Marcus Vin\'icius Paulino Gomes}
\newcommand {\DegreeName} {Information and Software Engineering}
\newcommand {\Supervisors} {\large Dr. Miguel Filipe Leit\~ao Pardal\\
                            \large Dr. Jos\'e Manuel da Costa Alves Marques}

% Include or not include acknowledgments
\def \includeAcknowledgments{1}

% Include or not include glossary
\def \includeGlossary{0}

% Examination Committee
\newcommand {\Chairperson} {Prof./Dr. Lorem Ipsum}
\newcommand {\Advisor} {\large Dr. Miguel Filipe Leit\~ao Pardal}
\newcommand {\CommitteeMembers} {{\large Dr. Jos\'e Manuel da Costa Alves Marques}\\
                                 {\large Dr. Lu\'is Antunes Veiga}}

% Date
\newcommand {\Month} {October}
\newcommand {\Year} {2015}

% Acknowledgments page numbering
\def \acknowledgmentsPage{1}

% Abstract-en page number
\def \abstractEnglishPage{3}

% Abstract-pt page number
\def \abstractPortuguesePage{5}

% Table column width
\def \colWidth{2cm}


\section{Previous work}

One of the first implementations of the \commonlisp{} \texttt{loop}
macro is the one that is often referred to as ``MIT LOOP''
\cite{Burke:Moon:MIT.loop}.

\sbcl{} includes an implementation of the \texttt{loop} macro that was
originally derived from MIT LOOP, but that also includes code from the
\texttt{loop} macro of the \genera{} operating system.  Furthermore,
the \sbcl{} implementation of the \texttt{loop} macro has been
modified and improved to allow for user-definable extensions, such as
the extension defined in \cite{Rhodes:2007:USC:1622123.1622138} for
iterating over user-definable sequences.

\clisp{} has its own implementation of the \texttt{loop} macro.  The
bulk of the implementation can be found in a function named
\texttt{expand-loop}.  This function consists of more than $900$ lines
of code.

Add paragraph containing a brief description of ECL LOOP.

\section{Previous work}

One of the first implementations of the \commonlisp{} \texttt{loop}
macro is the one that is often referred to as ``MIT LOOP''
\cite{Burke:Moon:MIT.loop}.

\ecl{} uses MIT LOOP with only minor modifications.

\sbcl{} includes an implementation of the \texttt{loop} macro that was
originally derived from MIT LOOP, but that also includes code from the
\texttt{loop} macro of the \genera{} operating system.  Furthermore,
the \sbcl{} implementation of the \texttt{loop} macro has been
modified and improved to allow for user-definable extensions, such as
the extension defined in \cite{Rhodes:2007:USC:1622123.1622138} for
iterating over user-definable sequences.

\clisp{} has its own implementation of the \texttt{loop} macro.  The
bulk of the implementation can be found in a function named
\texttt{expand-loop}.  This function consists of more than $900$ lines
of code.


((* with *))
((* set edu = root.education *))
\section{Education}\relax
    \noindent\textbf{((( edu.institution )))} \small{in ((( edu.location )))}\\
((* for study in edu.studies *))
        ((* if study.focus *))
    ((( study.level ))) in ((( study.area ))) (((( study.focus ))))\\
        ((* else *))
    ((( study.level ))) in ((( study.area )))\\
        ((* endif *))
((* endfor *))
    \textbf{Cumulative GPA: ((( edu.gpa.cumulative ))) $|$ In-major: ((( edu.gpa.in_major )))}
((* endwith *))

Remove useless \noindent at start of Education

((* with *))
((* set edu = root.education *))
\section{Education}\relax
    \textbf{((( edu.institution )))} \small{in ((( edu.location )))}\\
((* for study in edu.studies *))
        ((* if study.focus *))
    ((( study.level ))) in ((( study.area ))) (((( study.focus ))))\\
        ((* else *))
    ((( study.level ))) in ((( study.area )))\\
        ((* endif *))
((* endfor *))
    \textbf{Cumulative GPA: ((( edu.gpa.cumulative ))) $|$ In-major: ((( edu.gpa.in_major )))}
((* endwith *))


\documentclass{article}

\begin{document}

\title{Proof of Concept Plan}
\author{Daniel Mandel - mandeldr \\ Shandelle Murray - murras25 \\ Connor Sheehan - sheehacg}
\date{\today}
\maketitle

\begin{abstract}
This document contains a detailed plan for the implementation of a Proof of Concept plan for the OpenBazaar redevelopment project.
\end{abstract}

\section{}

\end{document}

Add an introduction to the Proof of Concept plan

\documentclass{article}

\begin{document}

\title{Proof of Concept Plan}
\author{The Fair Traders \\ Daniel Mandel - mandeldr \\ Shandelle Murray - murras25 \\ Connor Sheehan - sheehacg}
\date{\today}
\maketitle

\begin{abstract}
This document contains a detailed plan for the implementation of a Proof of Concept plan for the OpenBazaar redevelopment project.
\end{abstract}

\section{Introduction}
Building a decentralized e-commerce network is an exciting endeavour with many fundamentally important components. The project has a unique set of functional requirements and many equally essential non-functional requirements that must be met. From the technical perspective, we must build a distributed computer system (network) that can communicate between nodes without the use of a centralized server. We must also build a graphical front-end to display this information to the user in a visually appealing way. From an economic perspective, we must build a system to ensure that trades are well defined and that each side understands the contractual nature of the exchange. Each of these approaches to the project has different risks and

\section{Risks}

\end{document}