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 /project-root.tex
/report.aux /report.aux
/report.log /report.log
/report.out
/report.toc
/report.synctex.gz /report.synctex.gz
/report.tdo
/report.pdf /report.pdf
/javadoc /javadoc
/_minted-report

View File

@ -1,4 +1,4 @@
\documentclass[a4paper]{article} \documentclass[a4paper]{report}
\usepackage[margin=1in]{geometry} \usepackage[margin=1in]{geometry}
\usepackage{graphicx} \usepackage{graphicx}
\usepackage{pdfpages} \usepackage{pdfpages}
@ -7,48 +7,59 @@
\usepackage{amsfonts} \usepackage{amsfonts}
\usepackage[scientific-notation=true,round-precision=5,round-mode=figures]{siunitx} \usepackage[scientific-notation=true,round-precision=5,round-mode=figures]{siunitx}
\usepackage{minted} \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} \begin{document}
\title{Boppi Report}
\maketitle \maketitle
\vfill
\author{Frank Wibbelink (s1184725)}
\newpage \newpage
\tableofcontents \tableofcontents
\newpage \newpage
\input{project-root} \listoftodos[TODO]
\setminted{breaklines}
\setminted{frame=lines}
\section{Summary} \chapter{Introduction}
\input{report-summary} \input{report-summary}
\section{Problems and solutions} \chapter{Language description}
\input{report-problems}
\section{Language description}
\input{report-description} \input{report-description}
\section{Software description} \chapter{Software description}
\input{report-software} \input{report-software}
\section{Tests} \chapter{ILOC changes}
\input{report-changes-iloc}
\chapter{Problems and solutions}
\input{report-problems}
\chapter{Tests}
\input{report-tests} \input{report-tests}
\section{Conclusions} \chapter{Conclusions}
\input{report-conclusion} \input{report-conclusion}
\newpage \newpage
\appendix \appendix
\section{ANTLR grammars} \chapter{ANTLR grammars}
\label{report-grammar}
\input{report-grammar} \input{report-grammar}
\section{ANTLR walkers} \chapter{ANTLR walkers}
\input{report-walker} \input{report-walker}
\section{Test programs} \chapter{Test programs}
\input{report-test-program} \input{report-test-program}
\end{document} \end{document}