summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/context/presentations/examples/present-steps-001.tex
blob: 7a20779fb1a65a1b49fc92a5bb1aaddfcff69ce6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
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