From 7b271baae19db1528fbe6621bdf50af89a5a336b Mon Sep 17 00:00:00 2001
From: Hans Hagen <pragma@wxs.nl>
Date: Fri, 22 Feb 2019 20:29:46 +0100
Subject: 2019-02-22 19:43:00

---
 .../presentations/examples/present-steps-001.tex   | 114 +++++++++++++++++++++
 1 file changed, 114 insertions(+)
 create mode 100644 doc/context/presentations/examples/present-steps-001.tex

(limited to 'doc/context/presentations/examples/present-steps-001.tex')

diff --git a/doc/context/presentations/examples/present-steps-001.tex b/doc/context/presentations/examples/present-steps-001.tex
new file mode 100644
index 000000000..7a20779fb
--- /dev/null
+++ b/doc/context/presentations/examples/present-steps-001.tex
@@ -0,0 +1,114 @@
+\usemodule[present-steps]
+
+\setuppapersize
+  [S6]
+
+\setupinteraction
+  [state=start]
+
+
+\setupwhitespace
+  [big]
+
+\setupheadertexts
+  []
+
+\setupbodyfont
+  [modernlatin]
+
+\setuplist
+  [chapter]
+  [interaction=all]
+
+\defineoverlay
+  [go-on]
+  [\overlaybutton{nextpage}]
+
+\setupbackgrounds
+  [page]
+  [background=go-on]
+
+\starttext
+
+\title{Contents}
+
+\placelist
+  [chapter]
+
+\startsteps
+    \startstep
+        \ifnum\currentstep > 1
+            \repeathead[chapter]
+        \else
+            \chapter{Step Set 1}
+        \fi
+    \stopstep
+
+    \startstep
+        STEP ONE
+    \stopstep
+
+    \startstep
+        STEP TWO
+    \stopstep
+
+    \startstep
+        STEP THREE
+    \stopstep
+
+    \startstep
+        STEP FOUR
+    \stopstep
+
+\stopsteps
+
+\startsteps
+
+    \startstep[option=title]
+        \chapter{Step Set 2}
+    \stopstep
+
+    \startstep[option=repeat]
+        \repeathead[chapter]
+    \stopstep
+
+    \startstep[n=2]
+        this is a formula
+        \startformula
+            \startsubstep e =   \stopsubstep
+            \startsubstep m c^2 \stopsubstep
+        \stopformula
+    \stopstep
+
+    \startstep
+        \startitemize
+            \startitem STEP 1a \stopitem
+            \startitem STEP 1b \stopitem
+        \stopitemize
+    \stopstep
+
+    \startstep[n=2]
+        this is a formula
+        \startformula
+            \startsubstep e =   \stopsubstep
+            \startsubstep m c^2 \stopsubstep
+        \stopformula
+    \stopstep
+
+    \startstep
+        \startitemize[continue]
+            \startitem STEP 2a \stopitem
+            \startitem STEP 2b \stopitem
+        \stopitemize
+    \stopstep
+
+    \startstep
+        \startitemize[continue]
+            \startitem STEP 3a \stopitem
+            \startitem STEP 3b \stopitem
+        \stopitemize
+    \stopstep
+
+\stopsteps
+
+\stoptext
-- 
cgit v1.2.3

