on master help sign in
Various 'beneath the hood' improvements made to the tutorial project.
87f17deJan de Muijnck-Hughes
.gitignore+2
@@ -21,3 +21,5 @@ tutorial/*.blg
21tutorial/*.log
21tutorial/*.log
22tutorial/*.out
22tutorial/*.out
23tutorial/*.toc
23tutorial/*.toc
24+tutorial/*.fdb_latexmk
25+tutorial/*.fls
tutorial/Makefile+1−4
@@ -2,9 +2,7 @@ PAPER = idris-tutorial
2
2
3all: ${PAPER}.pdf
3all: ${PAPER}.pdf
4
4
5−TEXFILES = ${PAPER}.tex intro.tex starting.tex miscellany.tex typesfuns.tex \
5+TEXFILES = ${PAPER}.tex content/*.tex
6− classes.tex modules.tex interp.tex views.tex theorems.tex \
7− provisional.tex syntax.tex conclusions.tex miscellany.tex dsl.tex
8
6
9DIAGS =
7DIAGS =
10
8
@@ -13,7 +11,6 @@ SOURCES = ${TEXFILES} ${DIAGS} macros.ltx library.ltx literature.bib
13DITAA = java -jar ~/Downloads/ditaa.jar
11DITAA = java -jar ~/Downloads/ditaa.jar
14
12
15${PAPER}.pdf: ${SOURCES}
13${PAPER}.pdf: ${SOURCES}
16−# dvipdf ${PAPER}.dvi
17 pdflatex ${PAPER}
14 pdflatex ${PAPER}
18 -bibtex ${PAPER}
15 -bibtex ${PAPER}
19 -pdflatex ${PAPER}
16 -pdflatex ${PAPER}
tutorial/classes.tex → tutorial/content/classes.texrenamed

The content is the same.

tutorial/conclusions.tex → tutorial/content/conclusions.texrenamed

The content is the same.

tutorial/dsl.tex → tutorial/content/dsl.texrenamed

The content is the same.

tutorial/interp.tex → tutorial/content/interp.texrenamed

The content is the same.

tutorial/intro.tex → tutorial/content/intro.texrenamed

The content is the same.

tutorial/miscellany.tex → tutorial/content/miscellany.texrenamed

The content is the same.

tutorial/modules.tex → tutorial/content/modules.texrenamed

The content is the same.

tutorial/provisional.tex → tutorial/content/provisional.texrenamed

The content is the same.

tutorial/starting.tex → tutorial/content/starting.texrenamed

The content is the same.

tutorial/syntax.tex → tutorial/content/syntax.texrenamed+1−1
@@ -118,5 +118,5 @@ Note that we have used the \texttt{\{x\}} form to state that \texttt{x} represen
118a bound variable, substituted on the right hand side. We have also put \texttt{"in"} in
118a bound variable, substituted on the right hand side. We have also put \texttt{"in"} in
119quotation marks since it is already a reserved word.
119quotation marks since it is already a reserved word.
120
120
121−\input{dsl}
121+\input{./content/dsl}
122
122
tutorial/theorems.tex → tutorial/content/theorems.texrenamed

The content is the same.

tutorial/typesfuns.tex → tutorial/content/typesfuns.texrenamed

The content is the same.

tutorial/views.tex → tutorial/content/views.texrenamed

The content is the same.

tutorial/idris-tutorial.tex+31−17
@@ -1,20 +1,34 @@
1−\documentclass{article}
1+\documentclass[british, final]{article}
2+
3+\usepackage[l2tabu,orthodox]{nag}
4+\usepackage{fixltx2e}
5+\usepackage{babel}
6+\usepackage[iso]{isodate}
7+\usepackage[utf8]{inputenc}
8+\usepackage[T1]{fontenc}
9+\usepackage[protrusion=true, expansion=true]{microtype}
10+\usepackage[strict=true]{csquotes}
11+\usepackage{xspace}
12+
13+\usepackage{mathpazo}
14+\usepackage[scaled=0.95]{helvet}
15+\usepackage{courier}
2
16
3\usepackage{fullpage}
17\usepackage{fullpage}
4−\usepackage{palatino}
5−\usepackage{url}
6\usepackage{fancyvrb}
18\usepackage{fancyvrb}
7\usepackage{hyperref}
19\usepackage{hyperref}
20+\usepackage[missing=0.9.10]{gitinfo}
8
21
9\input{conf.ltx}
22\input{conf.ltx}
10\input{macros.ltx}
23\input{macros.ltx}
11\input{library.ltx}
24\input{library.ltx}
12
25
13\newcommand{\Idris}{\textsc{Idris}}
26\newcommand{\Idris}{\textsc{Idris}}
14−\newcommand{\version}{0.9.10}
27+\newcommand{\version}{\gitVtagn}
28+\newcommand{\email}[1]{\texttt{\href{mailto:#1}{#1}}}
15
29
16\title{Programming in \Idris{}: a tutorial}
30\title{Programming in \Idris{}: a tutorial}
17−\author{Edwin Brady \\ \url{eb@cs.st-andrews.ac.uk}}
31+\author{Edwin Brady \\ \email{eb@cs.st-andrews.ac.uk}}
18
32
19\begin{document}
33\begin{document}
20
34
@@ -22,18 +36,18 @@
22
36
23\tableofcontents
37\tableofcontents
24
38
25−\input{intro}
39+\input{./content/intro}
26−\input{starting}
40+\input{./content/starting}
27−\input{typesfuns}
41+\input{./content/typesfuns}
28−\input{classes}
42+\input{./content/classes}
29−\input{modules}
43+\input{./content/modules}
30−\input{interp}
44+\input{./content/interp}
31−\input{views}
45+\input{./content/views}
32−\input{theorems}
46+\input{./content/theorems}
33−\input{provisional}
47+\input{./content/provisional}
34−\input{syntax}
48+\input{./content/syntax}
35−\input{miscellany}
49+\input{./content/miscellany}
36−\input{conclusions}
50+\input{./content/conclusions}
37
51
38\bibliographystyle{abbrv}
52\bibliographystyle{abbrv}
39\bibliography{literature.bib}
53\bibliography{literature.bib}