switch to latex workshop, use report chapters

This commit is contained in:
User 2017-11-28 16:34:34 +01:00
parent 7ddbca1ef1
commit 04489721f7
3 changed files with 57 additions and 18 deletions

24
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,24 @@
{
"latex-workshop.latex.toolchain": [
{
"command": "pdflatex",
"args": [
"-synctex=1",
"-shell-escape",
"-interaction=nonstopmode",
"-file-line-error",
"%DOC%"
]
},
{
"command": "pdflatex",
"args": [
"-synctex=1",
"-shell-escape",
"-interaction=nonstopmode",
"-file-line-error",
"%DOC%"
]
}
]
}

4
doc/.gitignore vendored
View File

@ -1,6 +1,10 @@
/project-root.tex
/report.aux
/report.log
/report.out
/report.toc
/report.synctex.gz
/report.tdo
/report.pdf
/javadoc
/_minted-report

View File

@ -1,4 +1,4 @@
\documentclass[a4paper]{article}
\documentclass[a4paper]{report}
\usepackage[margin=1in]{geometry}
\usepackage{graphicx}
\usepackage{pdfpages}
@ -7,48 +7,59 @@
\usepackage{amsfonts}
\usepackage[scientific-notation=true,round-precision=5,round-mode=figures]{siunitx}
\usepackage{minted}
\usepackage{hyperref}
\usepackage{cleveref}
\usepackage{subcaption}
\usepackage{todonotes}
\newenvironment{code}{\captionsetup{type=figure}}{}
\input{project-root} %requires a line \newcommand{\projectroot}{/absolute/path/to/this/repository}
\setminted{breaklines}
\setminted{frame=lines}
\author{Frank Wibbelink (s1184725)}
\title{Boppi Report}
\begin{document}
\title{Boppi Report}
\maketitle
\vfill
\author{Frank Wibbelink (s1184725)}
\newpage
\tableofcontents
\newpage
\input{project-root}
\setminted{breaklines}
\setminted{frame=lines}
\listoftodos[TODO]
\section{Summary}
\chapter{Introduction}
\input{report-summary}
\section{Problems and solutions}
\input{report-problems}
\section{Language description}
\chapter{Language description}
\input{report-description}
\section{Software description}
\chapter{Software description}
\input{report-software}
\section{Tests}
\chapter{ILOC changes}
\input{report-changes-iloc}
\chapter{Problems and solutions}
\input{report-problems}
\chapter{Tests}
\input{report-tests}
\section{Conclusions}
\chapter{Conclusions}
\input{report-conclusion}
\newpage
\appendix
\section{ANTLR grammars}
\chapter{ANTLR grammars}
\label{report-grammar}
\input{report-grammar}
\section{ANTLR walkers}
\chapter{ANTLR walkers}
\input{report-walker}
\section{Test programs}
\chapter{Test programs}
\input{report-test-program}
\end{document}