summaryrefslogtreecommitdiff
path: root/doc/context/presentations/examples/present-steps-001.tex
diff options
context:
space:
mode:
Diffstat (limited to 'doc/context/presentations/examples/present-steps-001.tex')
-rw-r--r--doc/context/presentations/examples/present-steps-001.tex114
1 files changed, 114 insertions, 0 deletions
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