From 86c88670ea757cee11864ec00e6819726c65473a Mon Sep 17 00:00:00 2001
From: Peter Ward <peteraward@gmail.com>
Date: Thu, 18 Jul 2013 20:18:33 +1000
Subject: conditionally show the code

---
 docs/tutorial.tex | 5 +++++
 1 file changed, 5 insertions(+)

(limited to 'docs/tutorial.tex')

diff --git a/docs/tutorial.tex b/docs/tutorial.tex
index a76760b..a43db5d 100644
--- a/docs/tutorial.tex
+++ b/docs/tutorial.tex
@@ -1,5 +1,8 @@
 \documentclass[12pt]{article}
 
+\newif\ifshowcode
+\showcodefalse
+
 \usepackage{fontspec}
 
 \usepackage[pdfborder={0 0 0}]{hyperref}
@@ -55,7 +58,9 @@
 
 \input{look_ahead.tex}
 
+\ifshowcode
 \break
+\fi
 \input{closest_apple.tex}
 
 \end{document}
-- 
cgit v1.2.3

