summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/doc/context/third/simple-slides/simple-slides.pdfbin0 -> 3281857 bytes
-rw-r--r--Master/texmf-dist/doc/context/third/simple-slides/simple-slides.tex1153
-rw-r--r--Master/texmf-dist/doc/context/third/simple-slides/solutions/generic-talk-15min-45min.tex223
-rw-r--r--Master/texmf-dist/doc/context/third/simple-slides/solutions/speaker_introduction-2min.tex87
-rw-r--r--Master/texmf-dist/doc/context/third/simple-slides/solutions/style-template.tex127
-rw-r--r--Master/texmf-dist/doc/context/third/simple-slides/styles/BigNumber-blue.pdfbin0 -> 189532 bytes
-rw-r--r--Master/texmf-dist/doc/context/third/simple-slides/styles/BigNumber-red.pdfbin0 -> 189531 bytes
-rw-r--r--Master/texmf-dist/doc/context/third/simple-slides/styles/BottomSquares.pdfbin0 -> 188009 bytes
-rw-r--r--Master/texmf-dist/doc/context/third/simple-slides/styles/Boxed.pdfbin0 -> 201446 bytes
-rw-r--r--Master/texmf-dist/doc/context/third/simple-slides/styles/Ellipse.pdfbin0 -> 187600 bytes
-rw-r--r--Master/texmf-dist/doc/context/third/simple-slides/styles/Embossed.pdfbin0 -> 190594 bytes
-rw-r--r--Master/texmf-dist/doc/context/third/simple-slides/styles/Framed-square.pdfbin0 -> 188262 bytes
-rw-r--r--Master/texmf-dist/doc/context/third/simple-slides/styles/Framed-stripe.pdfbin0 -> 185906 bytes
-rw-r--r--Master/texmf-dist/doc/context/third/simple-slides/styles/FramedTitle.pdfbin0 -> 186955 bytes
-rw-r--r--Master/texmf-dist/doc/context/third/simple-slides/styles/HorizontalStripes-blue.pdfbin0 -> 185500 bytes
-rw-r--r--Master/texmf-dist/doc/context/third/simple-slides/styles/HorizontalStripes-green.pdfbin0 -> 185513 bytes
-rw-r--r--Master/texmf-dist/doc/context/third/simple-slides/styles/HorizontalStripes-red.pdfbin0 -> 185494 bytes
-rw-r--r--Master/texmf-dist/doc/context/third/simple-slides/styles/NarrowStripes-blue.pdfbin0 -> 188296 bytes
-rw-r--r--Master/texmf-dist/doc/context/third/simple-slides/styles/NarrowStripes-green.pdfbin0 -> 188333 bytes
-rw-r--r--Master/texmf-dist/doc/context/third/simple-slides/styles/NarrowStripes-red.pdfbin0 -> 188310 bytes
-rw-r--r--Master/texmf-dist/doc/context/third/simple-slides/styles/RainbowStripe.pdfbin0 -> 185424 bytes
-rw-r--r--Master/texmf-dist/doc/context/third/simple-slides/styles/Rounded.pdfbin0 -> 192564 bytes
-rw-r--r--Master/texmf-dist/doc/context/third/simple-slides/styles/Shaded-blue.pdfbin0 -> 187382 bytes
-rw-r--r--Master/texmf-dist/doc/context/third/simple-slides/styles/Shaded-green.pdfbin0 -> 187256 bytes
-rw-r--r--Master/texmf-dist/doc/context/third/simple-slides/styles/SideSquares.pdfbin0 -> 188985 bytes
-rw-r--r--Master/texmf-dist/doc/context/third/simple-slides/styles/Split.pdfbin0 -> 190849 bytes
-rw-r--r--Master/texmf-dist/doc/context/third/simple-slides/styles/Sunrise.pdfbin0 -> 185983 bytes
-rw-r--r--Master/texmf-dist/doc/context/third/simple-slides/styles/Swoosh.pdfbin0 -> 193358 bytes
-rw-r--r--Master/texmf-dist/doc/context/third/simple-slides/styles/ThickStripes.pdfbin0 -> 187515 bytes
-rw-r--r--Master/texmf-dist/scripts/context/lua/third/simple-slides/mtx-simpleslides.lua218
-rw-r--r--Master/texmf-dist/tex/context/interface/third/t-simpleslides.xml282
-rw-r--r--Master/texmf-dist/tex/context/third/simple-slides/simpleslides-f-default.tex236
-rw-r--r--Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-BigNumber.tex226
-rw-r--r--Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-BottomSquares.tex135
-rw-r--r--Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-Boxed.tex173
-rwxr-xr-xMaster/texmf-dist/tex/context/third/simple-slides/simpleslides-s-Ellipse.tex129
-rw-r--r--Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-Embossed.tex172
-rw-r--r--Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-Framed.tex223
-rw-r--r--Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-FramedTitle.tex161
-rw-r--r--Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-HorizontalStripes.tex184
-rw-r--r--Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-NarrowStripes.tex170
-rw-r--r--Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-RainbowStripe.tex221
-rw-r--r--Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-Rounded.tex224
-rw-r--r--Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-Shaded.tex128
-rwxr-xr-xMaster/texmf-dist/tex/context/third/simple-slides/simpleslides-s-SideSquares.tex157
-rw-r--r--Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-Split.tex195
-rw-r--r--Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-Sunrise.tex206
-rw-r--r--Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-Swoosh.tex235
-rw-r--r--Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-ThickStripes.tex146
-rw-r--r--Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-default.tex772
-rw-r--r--Master/texmf-dist/tex/context/third/simple-slides/t-simpleslides.tex80
-rwxr-xr-xMaster/tlpkg/bin/tlpkg-ctan-check2
-rwxr-xr-xMaster/tlpkg/libexec/ctan2tds1
-rw-r--r--Master/tlpkg/tlpsrc/context-simpleslides.tlpsrc6
54 files changed, 6271 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/context/third/simple-slides/simple-slides.pdf b/Master/texmf-dist/doc/context/third/simple-slides/simple-slides.pdf
new file mode 100644
index 00000000000..0605f264d9a
--- /dev/null
+++ b/Master/texmf-dist/doc/context/third/simple-slides/simple-slides.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/context/third/simple-slides/simple-slides.tex b/Master/texmf-dist/doc/context/third/simple-slides/simple-slides.tex
new file mode 100644
index 00000000000..04e83127e23
--- /dev/null
+++ b/Master/texmf-dist/doc/context/third/simple-slides/simple-slides.tex
@@ -0,0 +1,1153 @@
+\setupcolors [state=start]
+\setupinteraction[state=start,style=normal]
+
+%% Layout : <<<
+\setuplayout[
+ width=middle,
+ height=middle,
+ %location=middle,
+ topspace=0.5in,
+ bottomspace=.75in,
+ bottomdistance=.25in,
+ bottom=.25in,
+ backspace=1.0in,
+ cutspace=1.0in,
+ leftmargin=0.55in,
+ rightmargin=0.55in,
+ leftmargindistance=0.1in,
+ rightmargindistance=0.1in,
+ header=0.25in,
+ footer=0.5in,
+ headerdistace=0.25in,
+ footerdistance=0.25in,
+ marking=on,
+% grid=yes,
+ ]
+
+\setuppagenumbering [location=footer]
+
+%% >>>
+%% Typescripts : <<<
+\starttypescript [serif] [dejavu]
+ \setups[font:fallback:sans]
+ \definefontsynonym [Serif] [name:dejavuserif]
+ [features=default]
+ \definefontsynonym [SerifItalic] [name:dejavuserifitalic]
+ [features=default]
+ \definefontsynonym [SerifBold] [name:dejavuserifbold] [features=default]
+ \definefontsynonym [SerifBoldItalic] [name:dejavuserifbolditalic]
+ [features=default]
+\stoptypescript
+
+\starttypescript [sans] [dejavu]
+ \setups[font:fallback:sans]
+ \definefontsynonym [Sans] [name:dejavusans]
+ [features=default]
+ \definefontsynonym [SansItalic] [name:dejavusansoblique]
+ [features=default]
+ \definefontsynonym [SansBold] [name:dejavusansbold]
+ [features=default]
+ \definefontsynonym [SansBoldItalic] [name:dejavusansboldoblique]
+ [features=default]
+\stoptypescript
+
+\starttypescript [mono] [dejavu]
+ \setups[font:fallback:mono]
+ \definefontsynonym [Mono] [name:dejavusansmono]
+ [features=default]
+ \definefontsynonym [MonoItalic] [name:dejavusansmonooblique]
+ [features=default]
+ \definefontsynonym [MonoBold] [name:dejavusansmonobold]
+ [features=default]
+ \definefontsynonym [MonoBoldItalic] [name:dejavusansmonoboldoblique]
+ [features=default]
+\stoptypescript
+
+\starttypescript [dejavu]
+ \definetypeface [dejavu] [rm] [serif] [dejavu] [default]
+ \definetypeface [dejavu] [ss] [sans] [dejavu] [default]
+ \definetypeface [dejavu] [tt] [mono] [dejavu] [default]
+ \definetypeface [dejavu] [mm] [math] [modern] [default]
+\stoptypescript
+
+\setupbodyfontenvironment[default][em=italic]
+\usetypescript[dejavu]
+\setupbodyfont[dejavu,10pt]
+
+%% >>>
+%% Logos: <<<
+\logo [TEX] {Tex}
+\logo [LATEX] {Latex}
+\logo [CONTEXT] {Context}
+\logo [PDFTEX] {pdftex}
+\logo [LUATEX] {Luatex}
+\logo [XETEX] {Xetex}
+\logo [MKII] {MkII}
+\logo [MKIV] {MkIV}
+
+\setupsorting[logo][style=normal]
+
+%% >>>
+
+\definetype[typeTEX][option=tex, style=type]
+\definetype[command][color=darkred, style=type]
+\definetype[options][color=darkblue, style=type]
+
+\setupindenting[medium,yes]
+\setupwhitespace[medium]
+
+\setuphead[title][alternative=middle, textstyle=sansbold]
+\setuphead[section,subsubject,subsection]
+ [numberstyle=sansbold,textstyle=sansbold]
+
+\setuplistalternative[a]
+ [distance=0pt,width=1em,stretch=10em,
+ command=\hskip0.5em\ldots\hskip0.5em\relax]
+
+\setuplist [section]
+ [margin=10em, alternative=a]
+
+\useURL[practex][http://www.tug.org/pracjourn/2006-2/schmitz/]
+
+\setupitemize[1][autointro]
+\setupitemize[indenting=no]
+
+
+%% Frames and Backgrounds : <<<
+\definetextbackground
+ [EXAMPLE]
+ [ mp=background:random,
+ location=paragraph,
+ rulethickness=1pt,
+ framecolor=darkred,
+ width=broad,
+ leftoffset=1em,
+ rightoffset=1em,
+ before={\testpage[2]\blank[big]},
+ after={\blank[big]}
+% before={\testpage[3]\blank[3*big]},
+% after={\blank[3*big]}
+ ]
+
+\startuseMPgraphic{background:random}
+ path p;
+ for i = 1 upto nofmultipars :
+ p = (multipars[i]
+ topenlarged 8pt
+ bottomenlarged 8pt) randomized 4pt ;
+ fill p withcolor lightgray ;
+ draw p withcolor \MPvar{linecolor}
+ withpen pencircle scaled \MPvar{linewidth};
+ endfor;
+\stopuseMPgraphic
+
+\defineframedtext
+ [EXAMPLEframe]
+ [rulethickness=1pt,
+ framecolor=darkred,
+ width=broad,
+ background=color,
+ backgroundcolor=gray,
+ ]
+
+\defineoverlay[randomframe]
+ [\useMPgraphic{background:random:frame}]
+
+\startuseMPgraphic{background:random:frame}
+ path p;
+ p = (OverlayBox
+ topenlarged 10pt
+ bottomenlarged 10pt) randomized 4pt ;
+ fill p withcolor lightgray ;
+ draw p withcolor \MPvar{linecolor}
+ withpen pencircle scaled \MPvar{linewidth};
+ endfor;
+\stopuseMPgraphic
+\setupexternalfigures[location={local,global,default}]
+
+%% >>>
+%% Interface <<<
+\definecolor[colorprettyfour][orange]
+\usemodule[int-load]
+\loadsetups[cont-en.xml]
+\loadsetups[t-simpleslides.xml]
+\definetextbackground
+ [setuptext]
+ [ mp=background:random,
+ location=paragraph,
+ rulethickness=1pt,
+ framecolor=darkgreen,
+ width=broad,
+ leftoffset=1em,
+ rightoffset=1em,
+ align=right,
+ before={\testpage[3]\blank[2*big]},
+ after={\endgraf\blank[big]}
+% before={\testpage[3]\blank[3*big]},
+% after={\blank[3*big]}
+ ]
+
+%% There gotta be a better way to configure this!
+
+\unprotected\def\showSETUPrecord
+ {\getvalue{\e!start setuptext}
+ \tttf
+ \nohyphens
+ \veryraggedright
+ \startXMLmapping [one]
+ \doglobal\newcounter\currentSETUPargument
+ \global\let\maximumSETUPargument\currentSETUPargument
+ \bgroup
+ \doif{\XMLpar{cd:command}{generated}{}}{yes}{\ttsl}%
+ \doifelseXMLop{type}{environment}
+ {\tex{\e!start}}{\startcolor[colorprettytwo]\tex{}}\ignorespaces
+ \XMLflush{cd:sequence}\stopcolor\ignorespaces
+ \egroup
+ \doifelseXMLempty{cd:arguments}
+ {}
+ {\bgroup
+ \setbox0=\hbox{\XMLflush{cd:arguments}}%
+ \global\let\maximumSETUPargument\currentSETUPargument
+ \doglobal\newcounter\currentSETUPargument
+ \ignorespaces\XMLflush{cd:arguments}%
+ \doif{\XMLpar{cd:command}{type}{}}{environment}
+ {\hskip.5em\unknown\hskip.5em
+ \doif{\XMLpar{cd:command}{generated}{}}{yes}{\ttsl}%
+ \tex{\e!stop}\ignorespaces\XMLflush{cd:sequence}}%
+ \endgraf
+ \egroup
+ %\bgroup
+ % \tx
+ % \doif{\XMLpar{cd:command}{interactive}{}}{yes} {\quad INTERACTIVE}%
+ % \doif{\XMLpar{cd:command}{interactive}{}}{exclusive}{\quad INTERACTIVE ONLY}%
+ %\egroup
+ \startXMLmapping [two]
+ \bgroup
+ \doglobal\newcounter\currentSETUPargument
+ \blank[\v!line]
+ %\switchtobodyfont[small] % kan sneller
+ \ignorespaces\XMLflush{cd:arguments}\endgraf
+ %\endgraf
+ \egroup
+ \stopXMLmapping}
+ \stopXMLmapping
+ \getvalue{\e!stop setuptext}}
+
+\def\showSETUPnumber
+ {\doglobal\increment\currentSETUPargument
+ \hbox to 2em
+ {\startcolor[blue]
+ \ifcase\maximumSETUPargument\relax
+ \or*\else\currentSETUPargument
+ \fi\stopcolor
+ \hss}}
+
+\def\showSETUPassignment {\showSETUP
+ {{\colorprettythree[}.\lower.5ex\hbox{=}.{\colorprettythree]}}
+ {{\colorprettythree[}..,.\lower.5ex\hbox{=}.,..{\colorprettythree]}}}
+
+\def\showSETUPkeyword {\showSETUP
+ {\colorprettythree{[}...{\colorprettythree]}}
+ {\colorprettythree{[}...,...{\colorprettythree]}}}
+
+\def\showSETUPargument {\showSETUP
+ {{\colorprettyone\leftargument}..{\colorprettyone\rightargument}}
+ {{\colorprettyone\leftargument}..,...,..{\colorprettyone\rightargument}}}
+
+\def\showSETUPdisplaymath {\showSETUP
+ {\$\$...\$\$}
+ {\$\$...\$\$}}
+
+\def\showSETUPindex {\showSETUP
+ {{\colorprettyone\leftargument}...{\colorprettyone\rightargument}}
+ {{\colorprettyone\leftargument}..+...+..{\colorprettyone\rightargument}}}
+
+\def\showSETUPmath {\showSETUP
+ {\$...\$}
+ {\$...\$}}
+
+\def\showSETUPnothing {\showSETUP
+ {...}
+ {}}
+
+\def\showSETUPfile {\showSETUP
+ {~...~}
+ {}}
+
+\def\showSETUPposition {\showSETUP
+ {(...)}
+ {(...,...)}}
+
+\def\showSETUPreference {\showSETUP
+ {[...]}
+ {[...,...]}}
+
+\def\showSETUPcsname {\showSETUP
+ {{\c!setup!command!{}}}
+ {}}
+
+\def\showSETUPdestination {\showSETUP
+ {[{\colorprettyone\leftargument}..[ref]{\colorprettyone\rightargument}]}
+ {[..,{\colorprettyone\leftargument}..[ref,..]{\colorprettyone\rightargument},..]}}
+
+\def\showSETUPtriplet {\showSETUP
+ {[x:y:z=]}
+ {[x:y:z=,..]}}
+
+\def\showSETUPword {\showSETUP
+ {{\colorprettyone\leftargument}...{\colorprettyone\rightargument}}
+ {{\colorprettyone\leftargument}.. ... ..{\colorprettyone\rightargument}}}
+
+\def\showSETUPcontent {\showSETUP
+ {{\colorprettyone\leftargument}...{\colorprettyone\rightargument}}
+ {{\colorprettyone\leftargument}.. ... ..{\colorprettyone\rightargument}}}
+
+%% >>>
+
+\def\ShowStyle#1%
+ {\blank[big]
+ \midaligned{\startcombination[2*2]
+ {\externalfigure[styles/#1][page=1,width=0.55\textwidth]}
+ {Title Page}
+ {\externalfigure[styles/#1][page=2,width=0.55\textwidth]}
+ {Normal Slide}
+ {\externalfigure[styles/#1][page=3,width=0.55\textwidth]}
+ {Horizontal Picture}
+ {\externalfigure[styles/#1][page=10,width=0.55\textwidth]}
+ {Vertical Picture}
+ \stopcombination}}
+
+\starttext
+
+\title
+ Simple Slides \\
+ A \CONTEXT\ presentation module
+
+\startEXAMPLE
+\placelist[section]
+\stopEXAMPLE
+
+\section Introduction
+
+This module provides an easy|-|to|-|use interface
+for creating simple slides/presentations in \CONTEXT.
+The salient features of this module are:
+\startitemize
+ \item The module is meant for presentations which will be shown on a
+ digital projector. They have no interactive elements (such as buttons or
+ hyperlinks) and no navigational tools (such as table of contents).
+ \item The module comes with several predefined styles; these styles are sober
+ in appearance and meant for academic presentations. It also provides some
+ macros to help in presenting slides with both pictures and text.
+ \item Most styles allow for some degree of user|-|reconfigurability. Designing
+ a new style is also easy.
+\stopitemize
+
+This module provides a simple structure that will be suitable for beginning or
+intermediate users of \CONTEXT, or someone who does not want to spend too much
+time playing around with different configuration options for \CONTEXT. As such
+it focusses on different users than Hans's presentation modules that provide
+more fancier features. This module also offers much less features than the
+\LATEX\ \filename{beamer} package. Its main strength is its ease of use; you
+should be able to write your first presentation after spending five minutes with
+this manual.
+
+\section A bit of history
+
+The idea of a module suitable for simple presentations took shape when Thomas
+started using \CONTEXT\ for preparing his course presentations. \CONTEXT\ comes
+with a bunch of modules for presentations (the files \filename{s-pre-??.tex} in
+\filename{$TEXMF/tex/context/base}) which are written by Hans Hagen. Hans
+usually creates a new presentation style whenever he gives a talk about
+\CONTEXT. As such, his presentation styles highlight the fancy and bleeding edge
+features of \CONTEXT, and are not the most suitable starting point for academic
+presentations.
+
+\CONTEXT\ does make creating your own presentation style relatively easy. So
+Thomas wrote some presentation related macros (see the Prac\TEX\ article
+{\tt\from[practex]}). With time, he extended these macros into a collection of
+styles providing different visual effects, and later collected all of them in
+the \filename{taspresent} module. He gave a talk about the
+\filename{taspresent} module in in the second \CONTEXT\ user meeting at Bohinj,
+and in the ensuing discussions, Aditya and Thomas decided to modularize and
+\quotation{\CONTEXT{ize}} some of the internals of the module, giving rise to
+the current module. Most of the code in the current release has been
+contributed by Aditya.
+
+\section{Installation}
+
+The module is installed in the usual way: simply unzip the archive
+\filename{t-simpleslides-<date>.zip} into one of your \filename{$TEXMF} trees,
+and from a terminal run \command{mktexlsr} (for \MKII) and \command{luatools
+--generate} (for \MKIV). To verify that everything was installed correctly, from
+a terminal run \command{kpsewhich t-simpleslides.tex} (for \MKII) and
+\command{luatools t-simpleslides.tex} (for \MKIV); these commands should return
+the complete path of the files that you just installed.
+
+\subsubject A note about \TEX|-|engines
+
+We have extensively tested this module with \PDFTEX\ and \LUATEX\ (that is,
+with \MKII\ and \MKIV). In spite of our best efforts, we have not been able to
+get this module to work reliably with \XETEX. If you are a \XETEX\ guru, and
+know how to fix some of the errors with \XETEX, we will appreciate the help.
+
+\section Quick start
+
+First you must tell \CONTEXT\ that you want to use this module. To do this
+simply write:
+
+\startEXAMPLE
+\startTEX
+\usemodule[simpleslides]
+\stopTEX
+\stopEXAMPLE
+
+This sets the paper size and font sizes to values that are suitable for
+presentations. Everything else is left like a default \CONTEXT\ document. The
+module provides different styles that change the visual appearance of the
+presentation. The following styles are provided:
+\startitemize[columns, three]
+ \item \options{BigNumber}
+ \item \options{BottomSquares}
+ \item \options{Boxed}
+ \item \options{Ellipse}
+ \item \options{Embossed}
+ \item \options{Framed}
+ \item \options{FramedTitle}
+ \item \options{HorizontalStripes}
+ \item \options{NarrowStripes}
+ \item \options{RainbowStripe}
+ \item \options{Rounded}
+ \item \options{Shaded}
+ \item \options{SideSquares}
+ \item \options{Split}
+ \item \options{Sunrise}
+ \item \options{Swoosh}
+ \item \options{ThickStripes}
+\stopitemize
+
+To use a style, say \options{BigNumber}, pass the \options{style=BigNumber}
+option to the \filename{simpleslides} module as follows.
+
+\startEXAMPLE
+\startTEX
+\usemodule[simpleslides]
+ [style=BigNumber]
+\stopTEX
+\stopEXAMPLE
+
+Some of the styles have a few variants that can be chosen using
+\options{color} and \options{alternative} keys. These are explained in \in
+Section[sec:styles].
+
+By default, the Latin Modern Sans font is used. The module makes it easy to
+use other fonts that come with a typical \TEX\ distribution.
+The following fonts are provided:
+\startitemize[columns, three]
+ \item \options{LatinModern}
+ \item \options{LatinModernSans}
+ \item \options{Bookman}
+ \item \options{Chancery}
+ \item \options{Gothic}
+ \item \options{Helvetica}
+ \item \options{Palatino}
+ \item \options{Schoolbook}
+ \item \options{Times}
+\stopitemize
+
+To choose a font, say \options{Helvetica}, pass \options{font=Helvetica} option
+to the \filename{simpleslides} module as follows.
+\startEXAMPLE
+\startTEX
+\usemodule[simpleslides]
+ [style=BigNumber,
+ font=Helvetica]
+\stopTEX
+\stopEXAMPLE
+
+By default, the chosen font is used at 17pt size. The font size can be changed
+using the \options{size} key.
+
+More details about the fonts, including information on how to use your own fonts
+is given in \in Section[sec:fonts].
+
+The complete setup for using this module is
+\setup{simpleslides}
+
+\subsubject Structure of a presentation
+
+The \filename{simpleslides} module has a very simple model of a presentation. A
+presentation consists of a title followed by a series of slides; the module
+provides macros to help create a presentation title page and slides.
+
+\subsubject Presentation title page
+
+A presentation title page displays the title of the presentation, the names of
+the authors, and the date.
+%% TODO: Also add institution and detail.
+These can be specified using \typeTEX{\setupTitle} as follows:
+\startEXAMPLE
+\startTEX
+\setupTitle
+ [ title={Title of the presentation},
+ author={Name of authors},
+ date={Date of presentation},
+ ]
+\stopTEX
+\stopEXAMPLE
+
+The macro \typeTEX{\placeTitle} places the title page in the presentation. It is
+possible to change the look of \typeTEX{\placeTitle} using some additional
+arguments to \typeTEX{\setupTitle}. These are explained in \in
+Section[sec:setuptitle].
+
+\subsubject Presentation slide
+
+The \filename{simpleslides} module provides a \typeTEX{\SlideTitle} macro, which
+starts a new slide (basically a new page), and typesets its argument as the
+title of the slide. It also takes care of increasing the page counters and
+progress bars, and setting up the background. The content of the slides follows
+after this command.
+
+A slide is a normal \CONTEXT\ page, so you can use any command or environment
+that you want. Each presentation style sets up a style for itemizations, and
+provides useful macros for placing pictures. These macros will be explained
+later.
+
+\adaptlayout[lines=+2]
+
+\subsubject A minimal presentation
+
+A minimal presentation is shown below. The result is shown in \in
+Figure[fig:example].
+
+\startEXAMPLE
+\typefile[option=tex]{example.tex}
+\stopEXAMPLE
+
+\placefigure
+ [top,bottom]
+ [fig:example]
+ {A minimal presentation}
+ \startcombination[2*2]
+ \startEXAMPLEframe[width=0.55\textwidth]
+\startTEX
+ \usemodule[simpleslides]
+ [style=BigNumber]
+ \setupTitle[...]
+
+ \starttext
+ \SlideTitle{...}
+ ...
+ \SlideTitle{...}
+ ...
+ \stoptext
+\stopTEX
+ \stopEXAMPLEframe
+ {A minimal example}
+ {\externalfigure[example][page=1,width=0.55\textwidth]}{Title page}
+ {\externalfigure[example][page=2,width=0.55\textwidth]}{First slide}
+ {\externalfigure[example][page=3,width=0.55\textwidth]}{Second slide}
+ \stopcombination
+
+
+
+\section Placing pictures
+
+If you want to place pictures in your slides, you can always use \CONTEXT's
+\typeTEX{\externalfigure} macro. This module also provides a macro,
+\typeTEX{\IncludePicture}, for preconfigured picture layouts. Two layouts are
+provided:
+\startitemize
+ \item \options{horizontal}: the picture is placed under the title of the slide,
+ so that it fits in the available space.
+ \item \options{vertical}: the slide is divided into two columns; the picture is
+ placed on the left column and text is placed on the right column.
+\stopitemize
+These layouts are shown in \in Figure[fig:pictures].
+
+\page
+
+\placefigure
+ [top,bottom]
+ [fig:pictures]
+ {Example of \options{horizontal} and \options{vertical} options for
+ \typeTEX{\IncludePicture} macro}
+ \startcombination[2*2]
+ \startEXAMPLEframe[width=0.55\textwidth]
+\startTEX
+ \usemodule[simpleslides]
+ [...]
+ \starttext
+ ...
+ \IncludePicture
+ [horizontal]
+ [cow]
+ {A Dutch Cow}
+ ...
+ \stoptext
+\stopTEX
+ \stopEXAMPLEframe
+ {A horizontal picture}
+ {\externalfigure[styles/BigNumber-blue]
+ [page=3,width=0.55\textwidth]}{A horizontal picture}
+ \startEXAMPLEframe[width=0.55\textwidth]
+\startTEX
+ \usemodule[simpleslides]
+ [...]
+ \starttext
+ ...
+ \IncludePicture
+ [vertical]
+ [mill]
+ {The windmills are an example of a green energy source}
+ ...
+ \stoptext
+\stopTEX
+ \stopEXAMPLEframe
+ {A vertical picture}
+ {\externalfigure[styles/BigNumber-blue]
+ [page=10,width=0.55\textwidth]}{A vertical picture}
+\stopcombination
+
+A horizontal picture is placed as follows:
+\startEXAMPLE
+\startTEX
+\IncludePicture
+ [horizontal]
+ [filename] % Name of the file that contains the picture
+ {Title of the slide}
+\stopTEX
+\stopEXAMPLE
+
+while a vertical picture is placed as follows:
+\startEXAMPLE
+\startTEX
+\IncludePicture
+ [vertical]
+ [filename] % Name of the file that contains the picture
+ {Text that is placed on the right of the picture}
+\stopTEX
+\stopEXAMPLE
+
+It is possible to change the height and width of the pictures, or
+highlight them with circles and arrows. These details can be found in \in
+Section[sec:pictures]
+
+\page
+
+\section[sec:styles] Changing presentation styles
+
+The \options{style} key to \typeTEX{\setupmodule[simpleslides]} determines the
+look of the presentation. Some of the styles come with variants, that can be
+chosen using \options{color} and \options{alternative} keys. The available
+styles are shown below along with the details of their variants.
+
+\subsubject{BigNumber: with \options{color=blue} (also accepts \options{color=red})}
+
+This is a style with subdued and quiet colors; its characteristic feature is the
+page number on the lower right border of the text area. This detail was inspired
+by {\em split} style (\filename{s-pre-14}) by Hans.
+
+\ShowStyle {BigNumber-blue}
+\page
+
+\subsubject{BottomSquares}
+
+This minimalistic style is inspired by a presentation Taco gave at EuroTeX
+2006.
+
+\ShowStyle {BottomSquares}
+\page
+
+\subsubject{Boxed}
+
+This style is inspired by the screen version of the Metafun manual. Watch
+the small gray circles at the bottom!
+
+\ShowStyle {Boxed}
+\page
+
+\subsubject{Ellipse}
+
+This style is inspired by {\em funny} style (\filename{s-pre-03}) by Hans.
+The light red stripe marks the progress.
+
+\ShowStyle {Ellipse}
+\page
+
+\subsubject{Embossed}
+
+Spread the word, don't be shy! Show your pride in using \CONTEXT. The color
+theme will probably look familiar; I copied it from the \filename{enattab}
+manual.
+
+\ShowStyle {Embossed}
+
+If you are shy, or narcissistic, you can change the emblem by
+\startEXAMPLE
+\startTEX
+\setuplabeltext [simpleslidesemblem={I made this presentation}]
+\stopTEX
+\stopEXAMPLE
+
+\page
+
+\subsubject{Framed: with \options{alternative=square}}
+
+This style was inspired by {\em green} style (\filename{s-pre-02}) by Hans. It
+has a thick blue frame around the entire slide area and a thinner frame around
+the text area. The style has two options for alternative:
+\options{alternative=stripe} will display a shaded blue area which will grow with
+each slide; \options{alternative=square} displays a row of blue squares at the bottom
+which also measure the presentation's progress.
+
+\ShowStyle {Framed-square}
+\page
+
+\subsubject{Framed: with \options{alternative=stripe}}
+\ShowStyle {Framed-stripe}
+\page
+
+\subsubject{FramedTitle}
+
+This is a style with loud titles. Its characteristic feature is the {\em scratch
+counter} at the bottom. These are derived from Section~7.2 of the Metafun
+manual.
+
+\ShowStyle {FramedTitle}
+\page
+
+\subsubject{HorizontalStripes: with \options{color=green} (also accepts
+\options{color=blue} and \options{color=red})}
+
+A sober style with an emphasis on horizontal lines, inspired by the {\em
+Szeged} theme in \LATEX's \filename{beamer} package.
+
+\ShowStyle {HorizontalStripes-green}
+\page
+
+\subsubject{NarrowStripes: with \options{color=green} (also accepts
+\options{color=blue} and \options{color=red})}
+
+A very simple and sober style, with shaded narrow stripes.
+
+\ShowStyle {NarrowStripes-blue}
+\page
+
+\subsubject{RainbowStripe}
+
+A colorful style for daring presenters. The black line which marks the
+progress is reminiscent of absorption lines in star spectra, so this style
+may be apt for astrophysical presentations?
+
+\ShowStyle {RainbowStripe}
+\page
+
+\subsubject{Rounded}
+
+This style has cool colors and lots of white space; it is probably best suited
+for presentations with relatively little text.
+
+\ShowStyle {Rounded}
+\page
+
+\subsubject{Shaded: with \options{color=blue} (also accepts
+\options{color=green} and \options{color=bluered})}
+
+The only ornament to this style is the dark shaded background. It uses
+\CONTEXT's \type{interactionbar} mechanism to show the progress of the
+presentation. It provides much space for text.
+
+\ShowStyle {Shaded-blue}
+\page
+
+\subsubject{SideSquares}
+
+This style is inspired by the colors and corporate look of Thomas's
+university. It is very sober and offers much space for text and
+images. There is a rough progress meter built into the blue quadrangles.
+
+\ShowStyle {SideSquares}
+\page
+
+\subsubject{Split}
+
+This style is inspired by the {\em Copenhagen} theme of the \LATEX's
+\filename{beamer} package. The narrow blue and black stripes at the top and the
+bottom of the slides display the date and slide number (top) and the title
+and author of the presentation.
+
+\ShowStyle {Split}
+\page
+
+\subsubject{Sunrise}
+
+This style is inspired by the {\em husky} theme of the \LATEX's
+\filename{powerdot} package.
+
+\ShowStyle {Sunrise}
+\page
+
+\subsubject{Swoosh}
+
+Take a break from the right angles and straight lines. Use swooshy curves. This
+style also has a fancy page counter at the bottom.
+
+\ShowStyle {Swoosh}
+\page
+
+\subsubject{ThickStripes}
+
+This theme is inspired by the {\em Berkeley} style of the \LATEX's
+\filename{beamer} package. It has a stop watch at the bottom, which keeps tracks
+of the number of slides.
+
+\ShowStyle {ThickStripes}
+\page
+
+\section[sec:fonts] Changing presentation fonts
+
+The \options{font} and the \options{size} keys to
+\typeTEX{\setupmodule[simpleslides]} determine the font and font size for the
+main text of the presentation. The default font is Latin Modern Sans at 17pt.
+
+\startitemize
+\item The \options{font} key can take the following values.
+
+\starttabulate[|l|p|]
+\NC \options{LatinModern} \NC typesets in Latin Modern Serif \NC \NR
+\NC \options{LatinModernSans} \NC typesets in Latin Modern Sans \NC \NR
+\NC \options{Bookman} \NC typesets in \TEX Gyre Bonum (a Bookman
+ clone) \NC \NR
+\NC \options{Chancery} \NC typesets in \TEX Gyre Chorus
+ \footnote{Please be aware that Chorus is a calligraphic font. It has no
+ italic or bold.} (a Zapf Chancery clone) \NC \NR
+\NC \options{Gothic} \NC typesets in \TEX Gyre Adventor (a Gothic
+ clone) \NC \NR
+\NC \options{Helvetica} \NC typesets in \TEX Gyre Heros (a Helvetica
+ clone) \NC \NR
+\NC \options{Palatino} \NC typesets in \TEX Gyre Pagella (a Palatino
+ clone) \NC \NR
+\NC \options{Schoolbook} \NC typesets in \TEX Gyre Schola (a Schoolbook
+ clone) \NC \NR
+\NC \options{Times} \NC typesets in \TEX Gyre Termes (a Times clone)
+\NC \NR
+\stoptabulate
+
+\item The \options{size} key can be any valid \TEX\ dimension.
+
+\stopitemize
+
+\subsubject Choosing your own font
+
+If you want to set up your own font, pick any value for the \options{font} key
+(or leave it empty). Use the \options{size} key to choose the font size. Then
+{\em after} loading the module, choose any font using the normal \CONTEXT\
+commands. Make sure to set the bodyfont at size \typeTEX{\NormalSize}. So, if
+you have your own typescript for a font, your setup will look like this:
+
+\startEXAMPLE
+\startTEX
+\usemodule[simpleslides][...]
+....
+\usetypescriptfile[type-myfont] % The typescript for your font
+\usetypescript[Mytypescript] % As set in your typescript file
+\setupbodyfont[Myfont,\NormalSize] % Note the \NormalSize here
+\stopTEX
+\stopEXAMPLE
+
+Internally, the font size is stored in the macro \typeTEX{\NormalSize}. The main
+text is set at size \typeTEX{\NormalSize}; the title page and the slide title
+are set at size \typeTEX{\TitleSize}. The module uses some heuristics to select
+a reasonable value of \typeTEX{\TitleSize}. If you do not like the size of the
+title page and slide titles, you can change the value to \typeTEX{\TitleSize} to
+whatever you like.
+
+\section[sec:setuptitle] Changing the title page
+
+It is possible to change the look of \typeTEX{\placeTitle} using
+\typeTEX{\setupTitle}. This feature is intended for authors creating a new
+style, but may also be useful for someone who likes to tweak the presentation
+style. You should normally only set the \options{title}, \options{authors}, and
+\options{date} keys. If \options{date} is not set, then the module will default
+to \typeTEX{\currentdate}.
+
+\setup{setupTitle}
+
+\section Changing the slide titles
+
+It is possible to change the look of \typeTEX{\SlideTitle} using
+\typeTEX{\setupSlideTitle}. Like \typeTEX{\setupTitle}, this feature is intended
+for authors creating a new style. You can use this command to make a minor
+change in an existing style, if you want.
+
+\setup{setupSlideTitle}
+
+\section[sec:pictures] Special macro for including pictures
+
+As explained earlier, the \typeTEX{\IncludePicture} macro facilitates the
+placement of pictures. It takes four arguments (one of which is optional, and as
+such wasn't mentioned in the previous description).
+
+\setup{IncludePicture}
+
+As explained earlier, the first argument determines whether the picture will be
+placed in horizontal or vertical layout; for examples, see \in
+Figure[fig:pictures]. The second argument is the filename of the picture that
+you want to include. The third argument is an optional argument useful for
+highlighting the picture. The fourth argument (in braces) is the text
+accompanying the picture. For horizontal pictures, this text is placed as a
+\typeTEX{\SlideTitle}; for vertical pictures this text is placed opposite to the
+picture, centered horizontally and vertically.
+
+The third argument is the most complex. It specifies picture dimensions and
+highlights. If you want all pictures to share a common value (like
+\options{color} or \options{shadow}), specify them using
+\typeTEX{\setupPicture}.
+
+\setup{setupPicture}
+
+\null\blank
+Below is a brief explanation of what the different parameters do:
+
+\startitemize[packed]
+ \item \options{width} and \options{height} \par
+ Unsurprisingly, these set the width and height of the picture. Normally, the
+ module will automatically scale your pictures to fill the available space, so
+ you only need to set one of these values if you want to override this
+ mechanism.
+
+ \item \options{highlight} \par
+ This key determines the highlighting of the picture. If you set,
+ \options{highlight=yes}, then you can use one of the three available
+ highlights: \options{circle}, \options{arrow}, and \options{focus}. These
+ highlights are shown in \in Figure[fig:highlight]. The specific highlight is
+ chosen using the \options{alternative} key. The location of the highlight is
+ specified using the \options{x} and \options{y} keys. The scaling and
+ rotation of the highlights is set using \options{xscale}, \options{yscale},
+ \options{length} and \options{direction}.
+
+ \item \options{alternative} \par
+ When \options{highlight=yes}, three different highlights are
+ available: \options{circle}, \options{arrow}, and \options{focus}.
+
+\stopitemize
+
+\placefigure
+ [top,bottom]
+ [fig:highlight]
+ {Different highlight options available}
+ \startcombination[2*2]
+ {\externalfigure[styles/BigNumber-blue][page=3,width=0.55\textwidth]}
+ {Picture with \options{highlight=no} (default)}
+ {\externalfigure[styles/BigNumber-blue][page=7,width=0.55\textwidth]}
+ {Picture with \options{highlight=yes} and \options{alternative=circle}}
+ {\externalfigure[styles/BigNumber-blue][page=8,width=0.55\textwidth]}
+ {Picture with \options{highlight=yes} and \options{alternative=arrow}}
+ {\externalfigure[styles/BigNumber-blue][page=9,width=0.55\textwidth]}
+ {Picture with \options{highlight=yes} and \options{alternative=focus}}
+ \stopcombination
+
+\subsubject Units for dimensions
+
+All dimensions are specified relative to the width and height of the image, so
+you do not have to change the location of your highlights if you change the
+presentation style. The dimensions \options{x} and \options{y} should be a
+number between 0 and 10. The \options{x} is scaled by 1/10 times the width of
+the image; the \options{y} value is scaled by 1/10 times the height of the
+image. The easiest way to understand this is to look at a scaled grid
+superimposed on the picture, as in \in Figure[fig:grid]. The grid is configured
+as follows:
+
+\startitemize[packed]
+ \item \options{grid} and \options{subgrid} \par
+ These options determine whether or not to show the grid and sub-grid. The
+ \options{grid} divides the height and width of the picture into 10 sections;
+ this is helpful for determining the exact position where you want to place
+ circles and arrows. The \options{subgrid} divides the grid into a finer
+ grid. Each cell is divided into \options{steps} times \options{steps} cells.
+
+ \item \options{gridcolor} \par
+ This option determines the color in which the grid is drawn. It can be any
+ \CONTEXT\ color identifier. The default value is green.
+
+ \item \options{steps} \par
+ The number of subdivisions for the \options{subgrid}. The default value is
+ 5.
+\stopitemize
+
+\placefigure
+ [top,bottom]
+ [fig:grid]
+ {Grids for help in determining the location of highlight}
+ \startcombination[2]
+ {\externalfigure[styles/BigNumber-blue][page=4,width=0.55\textwidth]}
+ {Picture with \options{highlight=yes} and \options{grid=yes}}
+ {\externalfigure[styles/BigNumber-blue][page=5,width=0.55\textwidth]}
+ {Picture with \options{highlight=yes}, \options{grid=yes} and
+ \options{subgrid=yes}}
+ \stopcombination
+
+\subsubject Highlighting by a circle
+
+Now lets see how different highlight alternatives are specified. Suppose we want
+to place the picture of a cow and highlight its head. To help determine the
+center of the circle, we can first superimpose a fine grid on the picture, and
+read the value for the center. From \in Figure[fig:grid], \options{x=1.4} and
+\options{y=8.2} seems like a good value. Next we need to decide on the radius of
+the circle. The radius can either be specified in terms of the \quotation{x
+units} (1/10th of the picture width) or \quotation{y units} (1/10th of the
+picture height). Lets try a radius of 1.5 \quotation{x units}. This can be
+specified as \options{xscale=1.5}. If we wanted something in terms of
+\quotation{y units}, we could have used \options{yscale}. If both
+\options{xscale} and \options{yscale} are specified, we will get an ellipse.
+Thus, to draw the circle highlight shown in \in Figure[fig:highlight], we wrote
+
+\startEXAMPLE
+\startTEX
+\IncludePicture
+ [horizontal]
+ [cow] % Name of the image
+ [highlight=yes,
+ alternative=circle,
+ x=1.4,
+ y=8.2,
+ xscale=1.5,
+ shadow=bottomleft]
+ {The head of a dutch cow}
+\stopTEX
+\stopEXAMPLE
+
+If \options{direction} key is specified, the circle (or the ellipse) will be
+rotated by that amount (in degrees) in the counter clockwise direction. The
+color in which the circle is drawn is specified using \options{color} key. The
+thickness of the line is determined by \options{rulethickness} key. By default,
+\options{color=orange} and \options{rulethickness} is 1/100th of the picture
+width.
+
+In summary, the different keys related to \options{alternative=circle} are:
+\startitemize[packed]
+ \item \options{highlight=yes} and \options{alternative=circle} \par
+ These are needed to specify a circle highlight.
+ \item \options{x} and \options{y} \par
+ The center of the circle in terms of scaled units. Their values should be
+ between 0 and 10.
+ \item \options{xscale} and \options{yscale} \par
+ The radius of the circle if only one options is specified. The major and
+ minor radii of the ellipse if both options are specified.
+ \item \options{direction} \par
+ The amount by which the circle is rotated. This only makes sense if we are
+ actually drawing an ellipse.
+ \item \options{rulethickness} \par
+ The line width of the circle.
+ \item \options{color} \par
+ The color of the circle.
+\stopitemize
+
+\subsubject Highlighting by an arrow
+
+Suppose we want to include a picture of a cow and point out its mouth using an
+arrow. An arrow is specified by three things, the location of its tip, given by
+\options{x} and \options{y} keys; the length of the arrow, given by
+\options{length} key; and the direction of the tail, given by
+\options{direction} key. Thus, to draw the arrow highlight shown in \in
+Figure[fig:highlight], we wrote
+\startEXAMPLE
+\startTEX
+\IncludePicture
+ [horizontal]
+ [cow] % Name of the image
+ [highlight=yes,
+ alternative=arrow,
+ x=0.4,
+ y=6.8,
+ direction=-90,
+ length=3cm,
+ shadow=bottomleft]
+ {The mouth of a dutch cow}
+\stopTEX
+\stopEXAMPLE
+
+The different keys related to \options{alternative=arrow} are:
+\startitemize[packed]
+ \item \options{highlight=yes} and \options{alternative=arrow} \par
+ These are needed to specify a arrow highlight.
+ \item \options{x} and \options{y} \par
+ The tip of the arrow in terms of scaled units. Their values should be
+ between 0 and 10.
+ \item \options{length} \par
+ The length of the arrow. This is a dimension.
+ \item \options{direction} \par
+ The amount by which the arrow is rotated.
+ \item \options{rulethickness} \par
+ The line width of the arrow. (Actually the line width of the arrow is twice
+ the given value. This is so that both arrows and circles look good with the
+ same value of rulethickness.)
+ \item \options{color} \par
+ The color of the arrow.
+\stopitemize
+
+\subsubject Highlighting by focus
+
+Suppose we want place the picture of a cow, focus its head, and dull out rest of
+the picture. The area to be focused is a circle (or an ellipse) and it can be
+specified using \options{x} and \options{y} to indicate the center,
+\options{xscale} and \options{yscale} to indicate the radius, and
+\options{direction} to indicate the rotation. The keys \options{rulethickness}
+and \options{color} do not have any effect. The area other than the focussed
+area is washed out with a transparent color. The degree to which it is washed
+out is determined by \options{opacity} (default value 0.5), and the color of the
+unfocussed area is determined by \options{shadowcolor} (default value black).
+Thus, to draw the focus highlight shown in \in Figure[fig:highlight], we wrote
+
+\startEXAMPLE
+\startTEX
+\IncludePicture
+ [horizontal]
+ [cow] % Name of the image
+ [highlight=yes,
+ alternative=focus,
+ x=1.4,
+ y=8.2,
+ xscale=1.5]
+ {The head of a dutch cow}
+\stopTEX
+\stopEXAMPLE
+
+The different keys related to \options{alternative=focus} are:
+\startitemize[packed]
+ \item \options{highlight=yes} and \options{alternative=focus} \par
+ These are needed to specify a focus highlight.
+ \item \options{x} and \options{y} \par
+ The center of the circle in terms of scaled units. Their values should be
+ between 0 and 10.
+ \item \options{xscale} and \options{yscale} \par
+ The radius of the circle if only one options is specified. The major and
+ minor radii of the ellipse if both options are specified.
+ \item \options{direction} \par
+ The amount by which the circle is rotated. This only makes sense if we are
+ actually drawing an ellipse.
+ \item \options{opacity} \par
+ The opacity of the unfocussed area. \options{opacity=0} is transparent,
+ while \options{opacity=1} is completely opaque.
+ \item \options{shadowcolor} \par
+ The color of the unfocused area.
+\stopitemize
+
+\subsubject Adding shadows
+
+When a circle or arrow highlight is used, adding a shadow to the highlight makes
+them stand out more. The key related to shadows is:
+\startitemize[packed]
+ \item \options{shadow} \par
+ This key determines whether shadows are placed or not. By default, shadows
+ are disabled. If not set to \options{no}, this key determines where the
+ shadow is placed: at \options{topleft}, \options{topright},
+ \options{bottomleft}, or \options{bottomright}. Setting this key to
+ \options{yes} puts the shadow at \options{bottomright}.
+\stopitemize
+
+\stoptext
+
+% vim: foldmethod=marker foldmarker=<<<,>>>
diff --git a/Master/texmf-dist/doc/context/third/simple-slides/solutions/generic-talk-15min-45min.tex b/Master/texmf-dist/doc/context/third/simple-slides/solutions/generic-talk-15min-45min.tex
new file mode 100644
index 00000000000..520c52afb87
--- /dev/null
+++ b/Master/texmf-dist/doc/context/third/simple-slides/solutions/generic-talk-15min-45min.tex
@@ -0,0 +1,223 @@
+% This file is a solution template for:
+
+% - Giving a talk on some subject.
+% - The talk is between 15min and 45min long.
+
+% This is adapted from the example by Till Tantau <tantau@users.sourceforge.net>
+% included as part of the beamer package in LaTeX
+%
+% In principle, this file can be redistributed and/or modified under
+% the terms of the GNU Public License, version 2.
+%
+% However, this file is supposed to be a template to be modified
+% for your own needs. For this reason, if you use this file as a
+% template and not specifically distribute it as part of a another
+% package/program, the author grants the extra permission to freely
+% copy and modify this file as you see fit and even to delete this
+% copyright notice.
+
+\usemodule
+ [simpleslides]
+ [%%%%%%%%%%%%%%%%%%%%%
+ % Choose a style
+ %%%%%%%%%%%%%%%%%%%%%%
+ style=BigNumber, % color=blue|red
+ % style=BottomSquares,
+ % style=Boxed,
+ % style=Ellipse,
+ % style=Embossed,
+ % style=Framed, % alternative=square|stripe
+ % style=FramedTitle,
+ % style=HorizontalStripes, % color=blue|green|red
+ % style=NarrowStripes, % color=blue|green|red
+ % style=RainbowStripe,
+ % style=Rounded,
+ % style=Shaded, % color=blue|green|bluered
+ % style=SideSquares,
+ % style=Split,
+ % style=Sunrise,
+ % style=Swoosh,
+ % style=ThickStripes,
+ %%%%%%%%%%%%%%%%%%%%%%%
+ % Choose a font
+ %%%%%%%%%%%%%%%%%%%%%%%
+ font=Bookman,
+ % font=Chancery,
+ % font=Gothic,
+ % font=Helevetica,
+ % font=LatinModern,
+ % font=LatinModernSans,
+ % font=Palatino,
+ % font=Schoolbook,
+ % font=Times,
+ %%%%%%%%%%%%%%%%%%%%%%%%%
+ % Choose a font size
+ %%%%%%%%%%%%%%%%%%%%%%%%%
+ size=17pt, % Default is 17pt
+ %%%%%%%%%%%%%%%%%%%%%%%%%
+ % Choose a color.
+ % Only a few styles support color
+ %%%%%%%%%%%%%%%%%%%%%%%%%
+ color=blue, % supported by:
+ % BigNumber, HorizontalStripes, NarrowStripes, Shaded
+ % color=red, % supported by:
+ % BigNumber, HorizontalStripes, NarrowStripes
+ % color=green, % supported by:
+ % HorizontalStripes, NarrowStripes, Shaded
+ %%%%%%%%%%%%%%%%%%%%%%%%%
+ % Choose a alternative.
+ % Only one style support alternative
+ %%%%%%%%%%%%%%%%%%%%%%%%%
+ alternative=square, % supported by:
+ % Framed
+ % alternative=stripe, % supported by:
+ % Framed
+ ]
+
+
+
+\setupTitle
+ [title={Presentation Title},
+ author={F.~Author, S.~Another},
+ date={Date / Occasion}]
+
+% In order to use sample images distributed with ConTeXt
+\setupexternalfigures[location={local,global,default}]
+
+\starttext
+
+\placeTitle
+
+% Since this a solution template for a generic talk, very little can
+% be said about how it should be structured. However, the talk length
+% of between 15min and 45min and the theme suggest that you stick to
+% the following rules:
+
+% - Exactly two or three sections (other than the summary).
+% - At *most* three subsections per section.
+% - Talk about 30s to 2min per slide. So there should be between about
+% 15 and 30 slides, all told.
+
+
+\SlideTitle{Make Titles Informative}
+% - A title should summarize the slide in an understandable fashion
+% for anyone how does not follow everything on the slide itself.
+
+\startitemize
+ \item Use bullets points when appropriate.
+ \item Use pictures when possible
+ \item Do not put too much information on one slide
+\stopitemize
+
+% You can include full slide pictures. There are some helper commands to
+% decorate the picture.
+
+% To include a full slide picute.
+\IncludePicture
+ [horizontal]
+ [cow] % Name of the image
+ {A Dutch Cow} % Title of the slide
+
+% We can decorate the picture using circles, arrows, and focus. In order to
+% determine where to draw the decorations, it is helpful to draw a grid.
+
+\IncludePicture
+ [horizontal]
+ [cow] % Name of the image
+ [highlight=yes,
+ grid=yes]
+ {A Dutch Cow with a grid} % Title of the slide
+
+% Sometimes you need a finer grip to fine tune the exact position
+\IncludePicture
+ [horizontal]
+ [cow] % Name of the image
+ [highlight=yes,
+ grid=yes,
+ steps=5, % Each grid block is broken into these many parts.
+ subgrid=yes]
+ {A Dutch Cow with a fine grid} % Title of the slide
+
+% Now lets try to draw a circle around the cow's head
+\IncludePicture
+ [horizontal]
+ [cow] % Name of the image
+ [highlight=yes,
+ grid=yes,
+ subgrid=yes,
+ alternative=circle,
+ color=orange,
+ x=1.4,
+ y=8.2,
+ xscale=1.5,
+ yscale=couple, % To ensure that we get a circle and not an ellipse
+ shadow=bottomleft]
+ {The head of a dutch cow} % Title of the slide
+
+
+% Now that we have found the correct location to place the circle, we can remove
+% the helper grid.
+\IncludePicture
+ [horizontal]
+ [cow] % Name of the image
+ [highlight=yes,
+ grid=no,
+ subgrid=no,
+ alternative=circle,
+ color=orange,
+ x=1.4,
+ y=8.2,
+ xscale=1.5,
+ yscale=couple, % To ensure that we get a circle
+ shadow=bottomleft]
+ {The head of a dutch cow} % Title of the slide
+
+% We can also draw arrows.
+\IncludePicture
+ [horizontal]
+ [cow] % Name of the image
+ [highlight=yes,
+ grid=no,
+ subgrid=no,
+ alternative=arrow,
+ color=orange,
+ x=0.4,
+ y=6.8,
+ direction=-90,
+ length=3cm,
+ shadow=topright] % The shadow direction gets rotated with the arrow
+ {The mouth of a dutch cow} % Title of the slide
+
+% We can also highlight specific parts of the picture
+\IncludePicture
+ [horizontal]
+ [cow] % Name of the image
+ [highlight=yes,
+ grid=no,
+ subgrid=no,
+ alternative=focus,
+ color=orange,
+ x=1.4,
+ y=8.2,
+ xscale=1.5,
+ yscale=couple, % To ensure that we get a circle
+ opacity=0.5]
+ {The head of a dutch cow} % Title of the slide
+
+% You can also include a picture with some text along side it.
+
+\IncludePicture
+ [vertical]
+ [mill] % Name of the image
+ {The windmills are an example of a green energy source.} % Slide title
+
+\SlideTitle{Summary}
+
+\startitemize
+ \item The {\em first main message} of your talk in one or two lines.
+ \item The {\em second main message} of your talk in one or two lines.
+ \item Perhaps a {\em third message}, but not more than that.
+\stopitemize
+
+\stoptext
+
diff --git a/Master/texmf-dist/doc/context/third/simple-slides/solutions/speaker_introduction-2min.tex b/Master/texmf-dist/doc/context/third/simple-slides/solutions/speaker_introduction-2min.tex
new file mode 100644
index 00000000000..98dc4131d6a
--- /dev/null
+++ b/Master/texmf-dist/doc/context/third/simple-slides/solutions/speaker_introduction-2min.tex
@@ -0,0 +1,87 @@
+% This file is a solution template for:
+
+% - Introducing another speaker.
+% - Talk length is about 2min.
+% - Style is informal.
+
+% This is adapted from the example by Till Tantau <tantau@users.sourceforge.net>
+% included as part of the beamer package in LaTeX
+%
+% In principle, this file can be redistributed and/or modified under
+% the terms of the GNU Public License, version 2.
+%
+% However, this file is supposed to be a template to be modified
+% for your own needs. For this reason, if you use this file as a
+% template and not specifically distribute it as part of a another
+% package/program, the author grants the extra permission to freely
+% copy and modify this file as you see fit and even to delete this
+% copyright notice.
+
+\usemodule
+ [simpleslides]
+ [style=Boxed,
+ font=Bookman]
+
+
+
+\starttext
+
+\SlideTitle {Speaker's Name}
+
+\startitemize
+ \item
+ Current affiliation of Speaker's Name
+
+ % Examples:
+ \startitemize
+ \item
+ Professor of mathematics, University of Wherever.
+ \item
+ Junior partner at company X.
+ \item
+ Speaker for organization/project X.
+ \stopitemize
+\stopitemize
+
+\SlideTitle {Speaker's Name}
+
+\startitemize
+ \item Experience and achievements
+ % Optional. Use this if it is appropriate to slightly flatter the
+ % speaker, for example if the speaker has been invited.
+ % Using subitems, list things that make the speaker look
+ % interesting and competent.
+
+ % Examples:
+ \startitemize
+ \item
+ Academic degree, but only if appropriate
+ \item
+ Current and/or previous positions, possibly with dates
+ \item
+ Publications (possibly just number of publications)
+ \item
+ Awards, prizes
+ \stopitemize
+\stopitemize
+
+\SlideTitle {Speaker's Name}
+
+\startitemize
+ \item Concerning today's talk
+ % Optional. Use this to point out specific experiences/knowledge
+ % of the speaker that are important for the talk and that do not
+ % follow from the above.
+
+ % Examples:
+ \startitemize
+ \item
+ Expert who has worked in the field/project for X month/years.
+ \item
+ Will present his/her/group's/company's research on the subject.
+ \item
+ Will summarize project report or current project status.
+ \stopitemize
+\stopitemize
+
+\stoptext
diff --git a/Master/texmf-dist/doc/context/third/simple-slides/solutions/style-template.tex b/Master/texmf-dist/doc/context/third/simple-slides/solutions/style-template.tex
new file mode 100644
index 00000000000..ee84e37b794
--- /dev/null
+++ b/Master/texmf-dist/doc/context/third/simple-slides/solutions/style-template.tex
@@ -0,0 +1,127 @@
+% This file is a template to create your own style for use with the
+% simpleslides module. Modify the "dummy"-settings in it, save it under a
+% name simpleslides-s-YOURNAME.tex, and use it by choosing style=YOURNAME
+% in the \tex{usemodule} command.
+
+% Provide the name of your style here; replace "template" with your unique
+% name for your style.
+
+\startmodule[simpleslides-s-template]
+
+\unprotect
+
+% Here, you set the layout for your style. You will probably have to fiddle
+% with the values until everything is exactly the way you want.
+
+\setuplayout [width=fit,
+ height=middle,
+ margin=0cm,
+ height=fit,
+ margindistance=0cm,
+ header=0cm,
+ footer=0cm,
+ topspace=1cm,
+ bottomspace=2cm,
+ backspace=1.5cm,
+ location=singlesided]
+
+% Some presentations need a different layout for "horizontal" and "vertical"
+% slides. If, e.g., you want a larger header for you horizontal slides (in
+% order to accomodate the titles of your slides), you would set this up like
+% so:
+
+\setuplayout [simpleslides:layout:horizontal][header=1.4cm]
+\setuplayout [simpleslides:layout:vertical] [header=0cm]
+\setuplayout [simpleslides:layout:title] [header=0cm]
+
+% The following command defines the position of the slidetitle layer; the
+% values x= and y= determine the distance from the top left edge.
+
+\setuplayer[simpleslides:layer:slidetitle]
+ [x=15mm]
+
+% Sometimes, your vertical arrangement is set up in a way that your picture
+% frames should not take up the full textheight and less than half of the
+% textwidth. You can set these values here; they will be used internally.
+
+\define\NormalHeight {\textheight}
+\define\NormalWidth {.5\textwidth}
+\define\PictureFrameHeight {\textheight}
+\define\PictureFrameWidth {.5\textwidth}
+
+% Now comes an important part: defining your color scheme. You will need at
+% least two colors: a backgroundcolor and a contrastcolor. The
+% simpleslides:itemize:color is used to typeset numbers and symbols of
+% itemizations; in many styles, the contrastcolor is used.
+
+\definecolor [simpleslides:backgroundcolor] [s=.95]
+\definecolor [simpleslides:contrastcolor] [s=.3]
+\definecolor [simpleslides:variantcolor] [s=.1]
+\definecolor [simpleslides:itemize:color] [simpleslides:contrastcolor]
+
+% Now comes the part which is of greatest importance to the visual appearance
+% of your presentation: defining the background of your slides. One
+% possibility is using \METAPOST\ to calculate it, using the colors you have
+% just defined. If you want to set up such a background, have a look at chapter
+% 6 of the Metafun manual, where many nifty tricks are explained. One thing
+% that is especially useful is the StartPage ... StopPage environment
+% (explained in chapter 6.4), which gives you access to many variables
+% pertaining to page dimensions. Since there are three different types of
+% slides (for the title page, for "horizontal" and for "vertical" slides), it
+% may make sense to define three different backgrounds, but that is entirely up
+% to you.
+
+\startuseMPgraphic{simpleslides:MP:ornament}
+StartPage ;
+fill Page withcolor \MPcolor{simpleslides:backgroundcolor} ;
+draw Page withcolor \MPcolor{simpleslides:contrastcolor} ;
+StopPage ;
+\stopuseMPgraphic
+
+% The actual setup of our backgrounds is done here: we define overlays for
+% different types of slides. You can now make use of the MPgraphics that you
+% just defined, but you could also put external images as the background to
+% your slides. By default, the following backgrounds are used:
+%
+% title page: simpleslides:background:title
+%
+% horizontal: simpleslides:background:horizontal and simpleslides:background:ornament
+%
+% vertical: simpleslides:background:vertical and simpleslides:background:ornament
+
+
+\defineoverlay
+ [simpleslides:background:ornament]
+ [\useMPgraphic{simpleslides:MP:ornament}]
+
+\defineoverlay
+ [simpleslides:background:title]
+ [\useMPgraphic{simpleslides:MP:ornament}]
+
+% The setupTitle and setupSlideTitle define the look of your titles; lots of
+% setup commands are available to determine what they should look like.
+
+\setupTitle
+ [\c!headcolor={simpleslides:contrastcolor}]
+
+\setupSlideTitle
+ [\c!color={simpleslides:contrastcolor},
+ \c!alternative=layer,
+ \c!align=\v!center,
+ \c!width=\textwidth,
+ \c!height=3cm,
+ \c!after=]
+
+% You're almost done! At long last, we define a symbol for the first level of
+% itemizations and make sure that itemizations use the right color.
+
+\definesymbol[1][\useMPgraphic{simpleslides:itemize:square}]
+\setupitemize[1][color={simpleslides:itemize:color}]
+
+\protect
+\stopmodule
+
+% And this should be enough!
+
+\endinput
+
diff --git a/Master/texmf-dist/doc/context/third/simple-slides/styles/BigNumber-blue.pdf b/Master/texmf-dist/doc/context/third/simple-slides/styles/BigNumber-blue.pdf
new file mode 100644
index 00000000000..957b02ed52f
--- /dev/null
+++ b/Master/texmf-dist/doc/context/third/simple-slides/styles/BigNumber-blue.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/context/third/simple-slides/styles/BigNumber-red.pdf b/Master/texmf-dist/doc/context/third/simple-slides/styles/BigNumber-red.pdf
new file mode 100644
index 00000000000..435a545693e
--- /dev/null
+++ b/Master/texmf-dist/doc/context/third/simple-slides/styles/BigNumber-red.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/context/third/simple-slides/styles/BottomSquares.pdf b/Master/texmf-dist/doc/context/third/simple-slides/styles/BottomSquares.pdf
new file mode 100644
index 00000000000..80c3217f4ba
--- /dev/null
+++ b/Master/texmf-dist/doc/context/third/simple-slides/styles/BottomSquares.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/context/third/simple-slides/styles/Boxed.pdf b/Master/texmf-dist/doc/context/third/simple-slides/styles/Boxed.pdf
new file mode 100644
index 00000000000..8a235767ae4
--- /dev/null
+++ b/Master/texmf-dist/doc/context/third/simple-slides/styles/Boxed.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/context/third/simple-slides/styles/Ellipse.pdf b/Master/texmf-dist/doc/context/third/simple-slides/styles/Ellipse.pdf
new file mode 100644
index 00000000000..ab5053d411f
--- /dev/null
+++ b/Master/texmf-dist/doc/context/third/simple-slides/styles/Ellipse.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/context/third/simple-slides/styles/Embossed.pdf b/Master/texmf-dist/doc/context/third/simple-slides/styles/Embossed.pdf
new file mode 100644
index 00000000000..107bb92a73e
--- /dev/null
+++ b/Master/texmf-dist/doc/context/third/simple-slides/styles/Embossed.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/context/third/simple-slides/styles/Framed-square.pdf b/Master/texmf-dist/doc/context/third/simple-slides/styles/Framed-square.pdf
new file mode 100644
index 00000000000..2b403f60a92
--- /dev/null
+++ b/Master/texmf-dist/doc/context/third/simple-slides/styles/Framed-square.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/context/third/simple-slides/styles/Framed-stripe.pdf b/Master/texmf-dist/doc/context/third/simple-slides/styles/Framed-stripe.pdf
new file mode 100644
index 00000000000..2032682b39e
--- /dev/null
+++ b/Master/texmf-dist/doc/context/third/simple-slides/styles/Framed-stripe.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/context/third/simple-slides/styles/FramedTitle.pdf b/Master/texmf-dist/doc/context/third/simple-slides/styles/FramedTitle.pdf
new file mode 100644
index 00000000000..d0b0bd7f996
--- /dev/null
+++ b/Master/texmf-dist/doc/context/third/simple-slides/styles/FramedTitle.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/context/third/simple-slides/styles/HorizontalStripes-blue.pdf b/Master/texmf-dist/doc/context/third/simple-slides/styles/HorizontalStripes-blue.pdf
new file mode 100644
index 00000000000..62d4bbef549
--- /dev/null
+++ b/Master/texmf-dist/doc/context/third/simple-slides/styles/HorizontalStripes-blue.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/context/third/simple-slides/styles/HorizontalStripes-green.pdf b/Master/texmf-dist/doc/context/third/simple-slides/styles/HorizontalStripes-green.pdf
new file mode 100644
index 00000000000..5c7e0e9d04a
--- /dev/null
+++ b/Master/texmf-dist/doc/context/third/simple-slides/styles/HorizontalStripes-green.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/context/third/simple-slides/styles/HorizontalStripes-red.pdf b/Master/texmf-dist/doc/context/third/simple-slides/styles/HorizontalStripes-red.pdf
new file mode 100644
index 00000000000..eaf7d86f669
--- /dev/null
+++ b/Master/texmf-dist/doc/context/third/simple-slides/styles/HorizontalStripes-red.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/context/third/simple-slides/styles/NarrowStripes-blue.pdf b/Master/texmf-dist/doc/context/third/simple-slides/styles/NarrowStripes-blue.pdf
new file mode 100644
index 00000000000..ed3b849ce65
--- /dev/null
+++ b/Master/texmf-dist/doc/context/third/simple-slides/styles/NarrowStripes-blue.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/context/third/simple-slides/styles/NarrowStripes-green.pdf b/Master/texmf-dist/doc/context/third/simple-slides/styles/NarrowStripes-green.pdf
new file mode 100644
index 00000000000..7af649b1cf6
--- /dev/null
+++ b/Master/texmf-dist/doc/context/third/simple-slides/styles/NarrowStripes-green.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/context/third/simple-slides/styles/NarrowStripes-red.pdf b/Master/texmf-dist/doc/context/third/simple-slides/styles/NarrowStripes-red.pdf
new file mode 100644
index 00000000000..b8c405455c4
--- /dev/null
+++ b/Master/texmf-dist/doc/context/third/simple-slides/styles/NarrowStripes-red.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/context/third/simple-slides/styles/RainbowStripe.pdf b/Master/texmf-dist/doc/context/third/simple-slides/styles/RainbowStripe.pdf
new file mode 100644
index 00000000000..913757aba62
--- /dev/null
+++ b/Master/texmf-dist/doc/context/third/simple-slides/styles/RainbowStripe.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/context/third/simple-slides/styles/Rounded.pdf b/Master/texmf-dist/doc/context/third/simple-slides/styles/Rounded.pdf
new file mode 100644
index 00000000000..61e8ad02d79
--- /dev/null
+++ b/Master/texmf-dist/doc/context/third/simple-slides/styles/Rounded.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/context/third/simple-slides/styles/Shaded-blue.pdf b/Master/texmf-dist/doc/context/third/simple-slides/styles/Shaded-blue.pdf
new file mode 100644
index 00000000000..116aa95eabf
--- /dev/null
+++ b/Master/texmf-dist/doc/context/third/simple-slides/styles/Shaded-blue.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/context/third/simple-slides/styles/Shaded-green.pdf b/Master/texmf-dist/doc/context/third/simple-slides/styles/Shaded-green.pdf
new file mode 100644
index 00000000000..e1f6ef66240
--- /dev/null
+++ b/Master/texmf-dist/doc/context/third/simple-slides/styles/Shaded-green.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/context/third/simple-slides/styles/SideSquares.pdf b/Master/texmf-dist/doc/context/third/simple-slides/styles/SideSquares.pdf
new file mode 100644
index 00000000000..10b8354eb55
--- /dev/null
+++ b/Master/texmf-dist/doc/context/third/simple-slides/styles/SideSquares.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/context/third/simple-slides/styles/Split.pdf b/Master/texmf-dist/doc/context/third/simple-slides/styles/Split.pdf
new file mode 100644
index 00000000000..16c6a7b5753
--- /dev/null
+++ b/Master/texmf-dist/doc/context/third/simple-slides/styles/Split.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/context/third/simple-slides/styles/Sunrise.pdf b/Master/texmf-dist/doc/context/third/simple-slides/styles/Sunrise.pdf
new file mode 100644
index 00000000000..f537e0a9f5a
--- /dev/null
+++ b/Master/texmf-dist/doc/context/third/simple-slides/styles/Sunrise.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/context/third/simple-slides/styles/Swoosh.pdf b/Master/texmf-dist/doc/context/third/simple-slides/styles/Swoosh.pdf
new file mode 100644
index 00000000000..fd7a8d17a7a
--- /dev/null
+++ b/Master/texmf-dist/doc/context/third/simple-slides/styles/Swoosh.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/context/third/simple-slides/styles/ThickStripes.pdf b/Master/texmf-dist/doc/context/third/simple-slides/styles/ThickStripes.pdf
new file mode 100644
index 00000000000..f3e91ab7d03
--- /dev/null
+++ b/Master/texmf-dist/doc/context/third/simple-slides/styles/ThickStripes.pdf
Binary files differ
diff --git a/Master/texmf-dist/scripts/context/lua/third/simple-slides/mtx-simpleslides.lua b/Master/texmf-dist/scripts/context/lua/third/simple-slides/mtx-simpleslides.lua
new file mode 100644
index 00000000000..edbe8d47254
--- /dev/null
+++ b/Master/texmf-dist/scripts/context/lua/third/simple-slides/mtx-simpleslides.lua
@@ -0,0 +1,218 @@
+if not modules then modules = { } end modules ['mtx-simplestyles'] = {
+ version = 0.1,
+ comment = "Show a particular style of simpleslides module",
+ author = "Aditya Mahajan and Thomas A. Schmitz",
+ copyright = "Aditya Mahajan and Thomas A. Schmitz",
+ license = "GNU Public License v 2.0"
+}
+
+-- Usage: To generate all variations for BigNumber use
+-- mtxrun --script simpleslides --style=BigNumber
+-- To generate all variations of all styles use
+-- mtxrun --script simpleslides --all
+--
+-- By default, luatex engine is used. If you want a specific engine, you can
+-- pass --engine=pdftex or --engine=xetex to the program.
+
+third = third or {}
+simpleslides = third.simpleslides or {}
+
+simpleslides.options = {
+ ["BigNumber"] ={color={"blue", "red"}},
+ ["BottomSquares"] ={},
+ ["Boxed"] ={},
+ ["Ellipse"] ={},
+ ["Embossed"] ={},
+ ["Framed"] ={alternative={"square", "stripe"}},
+ ["FramedTitle"] ={},
+ ["HorizontalStripes"] ={color={"blue", "green", "red"}},
+ ["NarrowStripes"] ={color={"blue", "green", "red"}},
+ ["RainbowStripe"] ={},
+ ["Rounded"] ={},
+ ["Shaded"] ={color={"blue", "green", "bluered"}},
+ ["SideSquares"] ={},
+ ["Split"] ={},
+ ["Sunrise"] ={},
+ ["Swoosh"] ={},
+ ["ThickStripes"] ={},
+}
+
+function simpleslides.setup(style, color, alternative)
+ local usemodule = "\\usemodule[simpleslides]\n"
+ local options = ""
+ if style then options = options .. "style=" ..style.. ",\n" end
+ if color then options = options .. "color=" ..color.. ",\n" end
+ if alternative then options = options .. "alternative="..alternative..",\n" end
+ return usemodule .. "[" .. options .. "]\n"
+end
+
+simpleslides.body = [[
+\setupTitle
+ [title={Presentation Title},
+ author={F.~Author, S.~Another},
+ date={Date / Occasion}]
+
+\setupexternalfigures[location={local,global,default}]
+
+\starttext
+
+\placeTitle
+
+
+\SlideTitle{Make Titles Informative}
+
+\startitemize
+ \item Use bullets points when appropriate.
+ \item Use pictures when possible
+ \item Do not put too much information on one slide
+\stopitemize
+
+\IncludePicture
+ [horizontal]
+ [cow] % Name of the image
+ {A Dutch Cow} % Title of the slide
+
+\IncludePicture
+ [horizontal]
+ [cow] % Name of the image
+ [highlight=yes,
+ grid=yes]
+ {A Dutch Cow with a grid} % Title of the slide
+
+\IncludePicture
+ [horizontal]
+ [cow] % Name of the image
+ [highlight=yes,
+ grid=yes,
+ steps=5, % Each grid block is broken into these many parts.
+ subgrid=yes]
+ {A Dutch Cow with a fine grid} % Title of the slide
+
+\IncludePicture
+ [horizontal]
+ [cow] % Name of the image
+ [highlight=yes,
+ grid=yes,
+ subgrid=yes,
+ alternative=circle,
+ color=orange,
+ x=1.4,
+ y=8.2,
+ xscale=1.5,
+ shadow=bottomleft]
+ {The head of a dutch cow}
+
+
+\IncludePicture
+ [horizontal]
+ [cow] % Name of the image
+ [highlight=yes,
+ grid=no,
+ subgrid=no,
+ alternative=circle,
+ color=orange,
+ x=1.4,
+ y=8.2,
+ xscale=1.5,
+ shadow=bottomleft]
+ {The head of a dutch cow}
+
+\IncludePicture
+ [horizontal]
+ [cow] % Name of the image
+ [highlight=yes,
+ grid=no,
+ subgrid=no,
+ alternative=arrow,
+ color=orange,
+ x=0.4,
+ y=6.8,
+ direction=-90,
+ length=3cm,
+ shadow=topright]
+ {The mouth of a dutch cow}
+
+\IncludePicture
+ [horizontal]
+ [cow] % Name of the image
+ [highlight=yes,
+ grid=no,
+ subgrid=no,
+ alternative=focus,
+ color=orange,
+ x=1.4,
+ y=8.2,
+ xscale=1.5,
+ opacity=0.5]
+ {The head of a dutch cow}
+
+\IncludePicture
+ [vertical]
+ [mill]
+ [width=\NormalWidth]
+ {The windmills are an example of a green energy source.}
+
+\SlideTitle{Summary}
+
+\startitemize
+ \item The {\em first main message} of your talk in one or two lines.
+ \item The {\em second main message} of your talk in one or two lines.
+ \item Perhaps a {\em third message}, but not more than that.
+\stopitemize
+
+\stoptext
+]]
+
+local engine = environment.argument("engine") or "luatex"
+local command = "context --" .. engine -- .. " --batchmode"
+local styles = environment.argument("styles")
+local filename = "styles/simpleslides-example.tex"
+
+function simpleslides.create_test(style, color, alternative)
+ local file = assert(io.open(filename, "w"))
+ file:write(simpleslides.setup(style,color,alternative))
+ file:write(simpleslides.body)
+ assert(io.close(file))
+ local result = "--result=styles/"..style
+ if color then result = result .. "-" .. color end
+ if alternative then result = result .. "-" .. alternative end
+ local str = command .. " " .. filename .. " " .. result
+ logs.report("simpleslides", "executing " .. str)
+ os.execute(str)
+end
+
+function simpleslides.show_style(style)
+ if simpleslides.options[style] then
+ local colors = simpleslides.options[style].color
+ local bottoms = simpleslides.options[style].alternative
+ if colors then
+ for i,color in pairs(colors) do
+ if bottoms then
+ for j,alternative in pairs(bottoms) do
+ simpleslides.create_test(style,color,alternative)
+ end
+ else
+ simpleslides.create_test(style,color,nil)
+ end
+ end
+ else
+ if bottoms then
+ for j,alternative in pairs(bottoms) do
+ simpleslides.create_test(style,nil,alternative)
+ end
+ else
+ simpleslides.create_test(style,nil,nil)
+ end
+ end
+ else
+ logs.report("simplestyles", "style \"" .. style .. "\" does not exist")
+ end
+end
+
+if styles == "all" then
+ for s,i in pairs(simpleslides.options) do
+ simpleslides.show_style(s)
+ end
+else
+ simpleslides.show_style(styles)
+end
diff --git a/Master/texmf-dist/tex/context/interface/third/t-simpleslides.xml b/Master/texmf-dist/tex/context/interface/third/t-simpleslides.xml
new file mode 100644
index 00000000000..200d25df4a5
--- /dev/null
+++ b/Master/texmf-dist/tex/context/interface/third/t-simpleslides.xml
@@ -0,0 +1,282 @@
+<?xml version="1.0" standalone="yes"?>
+
+<cd:interface xmlns:cd="http://www.pragma-ade.com/commands"
+ name="context" language="en"
+ version="2008.11.30">
+
+ <cd:command name="simpleslides" file="t-simpleslides.tex">
+ <cd:sequence>
+ <cd:string value="usemodule"/>
+ </cd:sequence>
+ <cd:arguments>
+ <cd:keywords list="no">
+ <cd:constant type="simpleslides"/>
+ </cd:keywords>
+ <cd:assignments list="yes" optional="yes">
+ <cd:parameter name="style">
+ <cd:constant type="BigNumber"/>
+ <cd:constant type="BottomSquares"/>
+ <cd:constant type="Boxed"/>
+ <cd:constant type="Ellipse"/>
+ <cd:constant type="Embossed"/>
+ <cd:constant type="Framed"/>
+ <cd:constant type="FramedTitle"/>
+ <cd:constant type="HorizontalStripes"/>
+ <cd:constant type="NarrowStripes"/>
+ <cd:constant type="RainbowStripe"/>
+ <cd:constant type="Rounded"/>
+ <cd:constant type="Shaded"/>
+ <cd:constant type="SideSquares"/>
+ <cd:constant type="Split"/>
+ <cd:constant type="Sunrise"/>
+ <cd:constant type="Swoosh"/>
+ <cd:constant type="ThickStripes"/>
+ </cd:parameter>
+ <cd:parameter name="size">
+ <cd:constant type="cd:dimension"/>
+ </cd:parameter>
+ <cd:parameter name="font">
+ <cd:constant type="LatinModern"/>
+ <cd:constant type="LatinModernSans" default="yes"/>
+ <cd:constant type="Bookman"/>
+ <cd:constant type="Chancery"/>
+ <cd:constant type="Gothic"/>
+ <cd:constant type="Helvetica"/>
+ <cd:constant type="Palatino"/>
+ <cd:constant type="Schoolbook"/>
+ <cd:constant type="Times"/>
+ </cd:parameter>
+ <cd:parameter name="color">
+ <cd:constant type="red"/>
+ <cd:constant type="blue" default="yes"/>
+ <cd:constant type="green"/>
+ <cd:constant type="bluered"/>
+ </cd:parameter>
+ <cd:parameter name="alternative">
+ <cd:constant type="square" default="yes"/>
+ <cd:constant type="stripe"/>
+ </cd:parameter>
+ </cd:assignments>
+ </cd:arguments>
+ </cd:command>
+
+ <cd:command name="setupTitle" file="simpleslides-s-default.tex">
+ <cd:sequence>
+ <cd:string value="setupTitle"/>
+ </cd:sequence>
+ <cd:arguments>
+ <cd:assignments list="yes">
+ <cd:parameter name="title">
+ <cd:constant type="cd:text"/>
+ </cd:parameter>
+ <cd:parameter name="author">
+ <cd:constant type="cd:text"/>
+ </cd:parameter>
+ <cd:parameter name="date">
+ <cd:constant type="cd:text"/>
+ </cd:parameter>
+ <cd:parameter name="style">
+ <cd:resolve name="style"/>
+ </cd:parameter>
+ <cd:parameter name="color">
+ <cd:constant type="cd:name"/>
+ </cd:parameter>
+ <cd:parameter name="align">
+ <cd:resolve name="align"/>
+ </cd:parameter>
+ <cd:parameter name="before">
+ <cd:constant type="cd:command"/>
+ </cd:parameter>
+ <cd:parameter name="after">
+ <cd:constant type="cd:command"/>
+ </cd:parameter>
+ <cd:parameter name="titlestyle">
+ <cd:resolve name="style"/>
+ </cd:parameter>
+ <cd:parameter name="titlecolor">
+ <cd:constant type="cd:name"/>
+ </cd:parameter>
+ <cd:parameter name="titlealign">
+ <cd:resolve name="align"/>
+ </cd:parameter>
+ <cd:parameter name="authorstyle">
+ <cd:resolve name="style"/>
+ </cd:parameter>
+ <cd:parameter name="authorcolor">
+ <cd:constant type="cd:name"/>
+ </cd:parameter>
+ <cd:parameter name="authoralign">
+ <cd:resolve name="align"/>
+ </cd:parameter>
+ <cd:parameter name="titlestyle">
+ <cd:resolve name="style"/>
+ </cd:parameter>
+ <cd:parameter name="titlecolor">
+ <cd:constant type="cd:name"/>
+ </cd:parameter>
+ <cd:parameter name="titlealign">
+ <cd:resolve name="align"/>
+ </cd:parameter>
+ <cd:parameter name="datestyle">
+ <cd:resolve name="style"/>
+ </cd:parameter>
+ <cd:parameter name="datecolor">
+ <cd:constant type="cd:name"/>
+ </cd:parameter>
+ <cd:parameter name="datealign">
+ <cd:resolve name="align"/>
+ </cd:parameter>
+ <cd:parameter name="beforetitle">
+ <cd:constant type="cd:command"/>
+ </cd:parameter>
+ <cd:parameter name="beforeauthor">
+ <cd:constant type="cd:command"/>
+ </cd:parameter>
+ <cd:parameter name="beforedate">
+ <cd:constant type="cd:command"/>
+ </cd:parameter>
+ <cd:parameter name="aftertitle">
+ <cd:constant type="cd:command"/>
+ </cd:parameter>
+ <cd:parameter name="afterauthor">
+ <cd:constant type="cd:command"/>
+ </cd:parameter>
+ <cd:parameter name="afterdate">
+ <cd:constant type="cd:command"/>
+ </cd:parameter>
+ </cd:assignments>
+ </cd:arguments>
+ </cd:command>
+
+ <cd:command name="setupSlideTitle" file="simpleslides-s-default.tex">
+ <cd:sequence>
+ <cd:string value="setupSlideTitle"/>
+ </cd:sequence>
+ <cd:arguments>
+ <cd:assignments list="yes">
+ <cd:parameter name="page">
+ <cd:constant type="yes" default="yes"/>
+ <cd:constant type="no"/>
+ <cd:constant type="cd:name"/>
+ </cd:parameter>
+ <cd:parameter name="style">
+ <cd:resolve name="style"/>
+ </cd:parameter>
+ <cd:parameter name="before">
+ <cd:constant type="cd:command"/>
+ </cd:parameter>
+ <cd:parameter name="after">
+ <cd:constant type="cd:command"/>
+ </cd:parameter>
+ <cd:parameter name="align">
+ <cd:constant type="cd:text"/>
+ </cd:parameter>
+ <cd:parameter name="alternative">
+ <cd:constant type="normal" default="yes"/>
+ <cd:constant type="layer"/>
+ </cd:parameter>
+ </cd:assignments>
+ </cd:arguments>
+ </cd:command>
+
+ <cd:command name="IncludePicture" file="simpleslides-s-default.tex">
+ <cd:sequence>
+ <cd:string value="IncludePicture"/>
+ </cd:sequence>
+ <cd:arguments>
+ <cd:keywords list="no">
+ <cd:constant type="horizontal" default="yes"/>
+ <cd:constant type="vertical"/>
+ </cd:keywords>
+ <cd:keywords list="no">
+ <cd:constant type="cd:name"/>
+ </cd:keywords>
+ <cd:assignments list="yes" optional="yes">
+ <cd:inherit name="setupPicture"/>
+ </cd:assignments>
+ <cd:content n="4"/>
+ </cd:arguments>
+ </cd:command>
+
+ <cd:command name="setupPicture" file="simpleslides-s-default.tex">
+ <cd:sequence>
+ <cd:string value="setupPicture"/>
+ </cd:sequence>
+ <cd:arguments>
+ <cd:assignments list="yes">
+ <cd:parameter name="height">
+ <cd:constant type="cd:dimension"/>
+ </cd:parameter>
+ <cd:parameter name="width">
+ <cd:constant type="cd:dimension"/>
+ </cd:parameter>
+ <cd:parameter name="highlight">
+ <cd:constant type="yes"/>
+ <cd:constant type="no" default="yes"/>
+ </cd:parameter>
+ <cd:parameter name="alternative">
+ <cd:constant type="none" default="yes"/>
+ <cd:constant type="circle"/>
+ <cd:constant type="arrow"/>
+ <cd:constant type="focus"/>
+ </cd:parameter>
+ <cd:parameter name="color">
+ <cd:constant type="cd:name"/>
+ </cd:parameter>
+ <cd:parameter name="rulethickness">
+ <cd:constant type="cd:dimension"/>
+ </cd:parameter>
+ <cd:parameter name="x">
+ <cd:constant type="cd:number"/>
+ </cd:parameter>
+ <cd:parameter name="y">
+ <cd:constant type="cd:number"/>
+ </cd:parameter>
+ <cd:parameter name="xscale">
+ <cd:constant type="cd:number"/>
+ </cd:parameter>
+ <cd:parameter name="yscale">
+ <cd:constant type="cd:number"/>
+ </cd:parameter>
+ <cd:parameter name="length">
+ <cd:constant type="cd:dimension"/>
+ </cd:parameter>
+ <cd:parameter name="direction">
+ <cd:constant type="cd:number"/>
+ </cd:parameter>
+ <cd:parameter name="opacity">
+ <cd:constant type="cd:number"/>
+ </cd:parameter>
+ <cd:parameter name="length">
+ <cd:constant type="cd:dimension"/>
+ </cd:parameter>
+ <cd:parameter name="shadow">
+ <cd:constant type="yes"/>
+ <cd:constant type="topleft"/>
+ <cd:constant type="topright"/>
+ <cd:constant type="bottomright"/>
+ <cd:constant type="bottomleft"/>
+ <cd:constant type="no" default="yes"/>
+ </cd:parameter>
+ <cd:parameter name="shadowcolor">
+ <cd:constant type="cd:name"/>
+ </cd:parameter>
+ <cd:parameter name="grid">
+ <cd:constant type="yes"/>
+ <cd:constant type="no" default="yes"/>
+ </cd:parameter>
+ <cd:parameter name="subgrid">
+ <cd:constant type="yes"/>
+ <cd:constant type="no" default="yes"/>
+ </cd:parameter>
+ <cd:parameter name="gridcolor">
+ <cd:constant type="cd:name"/>
+ </cd:parameter>
+ <cd:parameter name="steps">
+ <cd:constant type="cd:number"/>
+ </cd:parameter>
+ </cd:assignments>
+ </cd:arguments>
+ </cd:command>
+
+</cd:interface>
diff --git a/Master/texmf-dist/tex/context/third/simple-slides/simpleslides-f-default.tex b/Master/texmf-dist/tex/context/third/simple-slides/simpleslides-f-default.tex
new file mode 100644
index 00000000000..e8674847b1a
--- /dev/null
+++ b/Master/texmf-dist/tex/context/third/simple-slides/simpleslides-f-default.tex
@@ -0,0 +1,236 @@
+%D \module
+%D [ file=simpleslides-f-default,
+%D version=2009.03.30
+%D title=\CONTEXT\ Style File,
+%D subtitle=Presentation Module simpleslides --- Default font setup,
+%D author=Aditya Mahajan and Thomas A. Schmitz,
+%D date=\currentdate,
+%D copyright={Aditya Mahajan and Thomas A. Schmitz}]
+%C
+%C Copyright 2007 Aditya Mahajan and Thomas A. Schmitz
+%C This file may be distributed under the GNU General Public License v. 2.0.
+
+\writestatus{simpleslides}{loading default font setup}
+
+\startmodule[simpleslides-f-default]
+
+\unprotect
+
+\setupbodyfontenvironment[default][em=italic]
+
+%D The fontsize is set via the \type{size}||key; it will be used in numerous
+%D setup||commands. In earlier versions, I had used the \tex{processaction}
+%D mechanism to define the \tex{NormalSize} and \tex{TitleSize}, but Aditya
+%D rightly pointed out that this is somewhat inflexible. I now set the font
+%D dimensions directly; \tex{TitleSize} is calculated from \tex{NormalSize}. I
+%D do a few tests to get nice sizes.
+
+\newdimen\simpleslidesNormalSize
+\newdimen\simpleslidesTitleSize
+
+\simpleslidesNormalSize=\moduleparameter{simpleslides}{size}\relax
+
+\ifdim\simpleslidesNormalSize<16pt%
+ \simpleslidesTitleSize=1.6\simpleslidesNormalSize\relax%
+\else%
+ \ifdim\simpleslidesNormalSize<20pt%
+ \simpleslidesTitleSize=1.4142\simpleslidesNormalSize\relax%
+ \else%
+ \simpleslidesTitleSize=30pt\relax%
+ \fi%
+\fi%
+
+\def\NormalSize{\the\simpleslidesNormalSize}
+\def\TitleSize {\the\simpleslidesTitleSize}
+
+\beginOLDTEX
+\setupencoding[default=ec]
+\endOLDTEX
+
+%D The bodyfont needs to be defined so \CONTEXT\ can calculate size switches,
+%D math formulas, etc.
+
+\starttypescript [serif] [default] [size]
+\definebodyfont [14pt,15pt,16pt,17pt,20pt,25pt,\NormalSize,\TitleSize] [rm] [default]
+\stoptypescript
+
+\starttypescript [sans] [default] [size]
+\definebodyfont [14pt,15pt,16pt,17pt,20pt,25pt,\NormalSize,\TitleSize] [ss] [default]
+\stoptypescript
+
+\definebodyfontenvironment[\NormalSize]
+\definebodyfontenvironment[\TitleSize]
+
+%D Setups define which font will be used. The module provides simple keywords
+%D for using a small set of predefined fonts: Latin Modern, Latin Modern Sans,
+%D Adventor (the TeXGyre clone of Gothic), Schola (the TeXGyre clone of
+%D Schoolbook), Bonum (the TeXGyre clone of Bookman), Termes (the TeXGyre clone
+%D of Times), Pagella (the TeXGyre clone of Palatino), Heros (the TeXGyre clone
+%D of Helvetica), and Chancery (the TeXGyre clone of Chancery). Since the
+%D definition of typescripts etc. varies according to the \TeX-engine used, we
+%D have to branch the code here. This is awkward, but for the time being, I see
+%D no other way.
+
+\startsetups simpleslides:font:LatinModern
+\setupbodyfont[\NormalSize]
+\stopsetups
+
+\startsetups simpleslides:font:LatinModernSans
+\setupbodyfont[ss,\NormalSize]
+\stopsetups
+
+\beginLUATEX
+\usetypescriptfile[type-otf] %Isn't this included by default?
+\endLUATEX
+
+\beginXETEX
+\usetypescriptfile[type-otf]
+\endXETEX
+
+\beginOLDTEX
+\usetypescriptfile[type-gyr]
+\endOLDTEX
+
+%AM: For all the fonts, I have used traditional names rather than TeX Gyre
+%names.
+
+%D It is difficult to write a typescript that will work with both \MKII\ and
+%D \MKIV. If the sixth argument is absent, \CONTEXT\ does the right thing. When
+%D the sixth argument is present, e.g., \type{rscale=1.1}, then we also need
+%D \type{encoding=something} for the style to work in \MKII. We hope that \MKIV\
+%D simply ignores the \type{encoding} setting.
+
+\startsetups simpleslides:font:Bookman
+ \starttypescript[bookman]
+ \definetypeface [bookman] [rm] [serif] [bookman] [default]
+ \definetypeface [bookman] [ss] [sans] [adventor] [default]
+ \definetypeface [bookman] [tt] [mono] [modern] [default] [rscale=1.075]
+ \definetypeface [bookman] [mm] [math] [pagella] [default]
+ \stoptypescript
+ \usetypescript[bookman]
+ \setupbodyfont[bookman,\NormalSize]
+\stopsetups
+
+\beginLUATEX
+%AM: Was Chorus
+\startsetups simpleslides:font:Chancery
+\starttypescript[serif] [chancery]
+ \definefontsynonym [ChanceryRoman] [file:texgyrechorus-mediumitalic] [features=default]
+\stoptypescript
+
+ \starttypescript [serif] [chancery]
+ \definefontsynonym [Serif] [ChanceryRoman] [features=default]
+ \definefontsynonym [SerifItalic] [Serif]
+ \definefontsynonym [SerifBold] [Serif]
+ \definefontsynonym [SerifBoldItalic] [Serif]
+ \definefontsynonym [SerifCaps] [Serif]
+ \stoptypescript
+
+ \starttypescript [chancery]
+ \definetypeface [chancery] [rm] [serif] [chancery] [default]
+ \stoptypescript
+ \usetypescript[chancery]
+ \setupbodyfont[chancery,\NormalSize]
+\stopsetups
+\endLUATEX
+
+\beginOLDTEX
+\startsetups simpleslides:font:Chancery
+ \loadmapfile[qzc-ec.map]
+ \starttypescript[serif] [chancery]
+ \definefontsynonym [ChanceryRoman] [ec-qzcmi] [encoding=ec]
+ \stoptypescript
+
+ \starttypescript [serif] [chancery]
+ \definefontsynonym [Serif] [ChanceryRoman]
+ \definefontsynonym [SerifItalic] [Serif]
+ \definefontsynonym [SerifBold] [Serif]
+ \definefontsynonym [SerifBoldItalic] [Serif]
+ \definefontsynonym [SerifCaps] [Serif]
+\stoptypescript
+
+\starttypescript [chancery]
+ \definetypeface [chancery] [rm] [serif] [chancery] [encoding=ec]
+\stoptypescript
+\usetypescript[chancery]
+\setupbodyfont[chancery,\NormalSize]
+\stopsetups
+\endOLDTEX
+
+\startsetups simpleslides:font:Gothic
+ \starttypescript[gothic]
+ \definetypeface [gothic] [rm] [serif] [schola] [default]
+ \definetypeface [gothic] [ss] [sans] [adventor] [default]
+ \definetypeface [gothic] [tt] [mono] [modern] [default]
+ [encoding=\defaultencoding,rscale=1.075]
+ \definetypeface [gothic] [mm] [math] [palatino] [default]
+ \stoptypescript
+ \usetypescript[gothic]
+ \setupbodyfont[gothic,ss,\NormalSize]
+\stopsetups
+
+
+\startsetups simpleslides:font:Helvetica
+ \usetypescript[postscript]
+ \setupbodyfont[postscript,ss,\NormalSize]
+\stopsetups
+
+
+\beginLUATEX
+%AM: Was Pagella
+\startsetups simpleslides:font:Palatino
+ \usetypescript[palatino]
+ \setupbodyfont[palatino,\NormalSize]
+\stopsetups
+\endLUATEX
+
+\beginOLDTEX
+\startsetups simpleslides:font:Palatino
+\definetypeface [palatino] [rm] [serif] [palatino] [default] [encoding=texnansi]
+\definetypeface [palatino] [tt] [mono] [modern] [default] [encoding=texnansi]
+\setupbodyfont[palatino,\NormalSize]
+\stopsetups
+\endOLDTEX
+
+\startsetups simpleslides:font:Schoolbook
+ \starttypescript[schoolbook]
+ \definetypeface [schoolbook] [rm] [serif] [schola] [default]
+ \definetypeface [schoolbook] [ss] [sans] [adventor] [default]
+ \definetypeface [schoolbook] [tt] [mono] [modern] [default] [rscale=1.075]
+ \definetypeface [schoolbook] [mm] [math] [pagella] [default]
+ \stoptypescript
+ \usetypescript[schoolbook]
+ \setupbodyfont[schoolbook,\NormalSize]
+\stopsetups
+
+\beginLUATEX
+\startsetups simpleslides:font:Times
+ \usetypescript[postscript]
+ \setupbodyfont[postscript,\NormalSize]
+\stopsetups
+\endLUATEX
+
+\beginOLDTEX
+\startsetups simpleslides:font:Times
+ \starttypescript [postscript]
+ \definetypeface [postscript] [rm] [serif] [times] [default]
+ \definetypeface [postscript] [ss] [sans] [helvetica] [default] [rscale=.9]
+ \definetypeface [postscript] [tt] [mono] [courier] [default] [rscale=1.1]
+ \definetypeface [postscript] [mm] [math] [times] [default]
+ \stoptypescript
+ \usetypescript[postscript]
+ \setupbodyfont[postscript,\NormalSize]
+\stopsetups
+\endOLDTEX
+
+
+\doifsetupselse{simpleslides:font:\moduleparameter{simpleslides}{font}}
+ {\setups{simpleslides:font:\moduleparameter{simpleslides}{font}}}
+ {\setups{simpleslides:font:LatinModern}%
+ \message{There is no setup for
+ "font=\moduleparameter{simpleslides}{font}". Latin Modern Sans will be
+ used as a fallback}}
+
+\protect
+
+\stopmodule
diff --git a/Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-BigNumber.tex b/Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-BigNumber.tex
new file mode 100644
index 00000000000..f0d890b0fb8
--- /dev/null
+++ b/Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-BigNumber.tex
@@ -0,0 +1,226 @@
+%D \module
+%D [ file=simpleslides-s-BigNumber,
+%D version=2009.03.30
+%D title=\CONTEXT\ Style File,
+%D subtitle=Presentation Module --- Big Number Style,
+%D author=Aditya Mahajan and Thomas A. Schmitz,
+%D date=\PRESTITdate,
+%D copyright={Aditya Mahajan and Thomas A. Schmitz}]
+%C
+%C Copyright 2007 Aditya Mahajan and Thomas A. Schmitz
+%C This file may be distributed under the GNU General Public License v. 2.0.
+
+%D This file provides the \quotation{BigNumber} style for the presentation
+%D module. It is loaded at runtime.
+
+\writestatus{simpleslides}{loading Big Number style}
+
+\startmodule[simpleslides-s-BigNumber]
+
+\unprotect
+
+%D First, we change the page layout to have more space all around
+
+\setuplayout [width=fit,
+ margin=2cm,
+ height=fit,
+ leftmargindistance=.8cm,
+ rightmargindistance=0cm,
+ header=18mm,
+ footer=0cm,
+ topspace=.8cm,
+ backspace=2cm,
+ location=singlesided]
+
+\setuplayout [simpleslides:layout:horizontal][header=18mm]
+\setuplayout [simpleslides:layout:vertical] [header=0mm]
+\setuplayout [simpleslides:layout:title]
+
+\setuplayer[simpleslides:layer:slidetitle]
+ [width=\paperwidth,
+ height=\paperheight,x=20mm]
+
+%D Next we a generic frames, which will be used by other macros to
+%D get a consistent look and feel.
+
+\defineframed[simpleslides:framed:small]
+ [frame=off,offset=0pt,
+ width=1.7cm,align=middle]
+
+%D These macros are used for placing figures/pictures:
+
+\define\NormalHeight {\textheight}
+\define\NormalWidth {.476\textwidth}
+\define\PictureFrameHeight {\textheight}
+\define\PictureFrameWidth {.476\textwidth}
+
+%D This module has two color schemes, a blue one and a red one.
+
+\startsetups simpleslides:setups:blue
+\definecolor [simpleslides:contrastcolor] [r=0.8,g=0.8,b=0.9]
+\definecolor [simpleslides:backgroundcolor] [s=.88]
+\definecolor [simpleslides:textcolor] [s=0]
+\stopsetups
+
+\startsetups simpleslides:setups:red
+\definecolor [simpleslides:contrastcolor] [r=0.45,]
+\definecolor [simpleslides:backgroundcolor] [s=.18]
+\definecolor [simpleslides:textcolor] [s=1]
+\stopsetups
+
+%D Now we choose the scheme that the user asked for
+
+\doifsetupselse{simpleslides:setups:\moduleparameter{simpleslides}{color}}
+ {\setups{simpleslides:setups:\moduleparameter{simpleslides}{color}}}
+ {\setups{simpleslides:setups:blue}}
+
+\setupcolors[textcolor={simpleslides:textcolor}]
+
+
+%D The characteristic feature of this module is that the page number is drawn in
+%D big letters on the slide. First we define the font used to draw the number.
+%D The is a bit verbose since \MKII\ and \MKIV\ have different ways of loading
+%D fonts.
+
+\beginOLDTEX
+\loadmapfile[qhv-ec.map]
+\definefontsynonym [BigNumberFont] [ec-qhvb]
+\endOLDTEX
+
+\beginXETEX
+\loadmapfile[qhv-ec.map]
+\definefontsynonym [BigNumberFont] [ec-qhvb]
+\endXETEX
+
+\beginLUATEX
+\definefontsynonym [BigNumberFont] [name:texgyreherosbold]
+\endLUATEX
+
+\definefont [NumberFont] [BigNumberFont at 30pt]
+
+
+%D We use \METAPOST\ to draw backgrounds. First, we define a few helper macros
+%D to place text inside \METAPOST
+
+\definetextext[simpleslides:sometxt:left] {\TaspresentSometxtLeft}
+\definetextext[simpleslides:sometxt:right]{\TaspresentSometxtRight}
+
+\unexpanded\def\TaspresentSometxtLeft#1%
+ {\getvalue{simpleslides:framed:small}
+ {\color[simpleslides:contrastcolor]
+ {\NumberFont #1}}}
+
+\unexpanded\def\TaspresentSometxtRight#1%
+ {\getvalue{simpleslides:framed:small}
+ {\color[simpleslides:backgroundcolor]
+ {\NumberFont #1}}}
+
+%D Now we define a \METAPOST| graphic that draws the number. The exact
+%D dimensions have been found by trial and error.
+
+\startuseMPgraphic{simpleslides:MP:ornament}
+StartPage ;
+save Left, Right ;
+picture Left, Right ;
+
+Left := \sometxt [simpleslides:sometxt:left]{\folio} ysized 6cm;
+Right := \sometxt[simpleslides:sometxt:right]{\folio} ysized 6cm;
+
+save LeftBox, RightBox ;
+path LeftBox, RightBox ;
+
+save split ; numeric split ;
+split := if PageNumber < 10 : 1/2 else : 2/3 fi ;
+
+LeftBox := llcorner Left -- split[llcorner Left, lrcorner Left]
+ -- split[ulcorner Left, urcorner Left] -- ulcorner Left --cycle ;
+
+RightBox := lrcorner Right -- split[lrcorner Right, llcorner Right]
+ -- split[urcorner Right, ulcorner Right] -- urcorner Right --cycle ;
+
+if PageNumber >= 10 :
+RightBox := RightBox shifted split[lrcorner Right, llcorner Right] ;
+fi;
+
+clip Left to LeftBox ;
+clip Right to RightBox ;
+
+save corner; pair corner ;
+corner := lrcorner Field[Text][Text] shifted (.2cm,-1cm) ; % same as x2
+
+labeloffset := 0bp;
+
+label.ulft(Left, corner) ;
+label.urt (Right, corner) ;
+
+StopPage ;
+\stopuseMPgraphic
+
+%D We also use \METAPOST\ to draw the horizontal and vertical page backgrounds.
+
+\startuniqueMPgraphic{simpleslides:MP:horizontal}
+StartPage ;
+fill Page withcolor \MPcolor{simpleslides:contrastcolor} ;
+fill Field[Text][Text] enlarged 0.2cm
+ withcolor \MPcolor{simpleslides:backgroundcolor} ;
+StopPage ;
+\stopuniqueMPgraphic
+
+\startuniqueMPgraphic{simpleslides:MP:vertical}
+StartPage ;
+fill Page withcolor \MPcolor{simpleslides:contrastcolor} ;
+
+z1 = urcorner Field[Text][Text] shifted (.2cm,0) ;
+z2 = lrcorner Field[Text][Text] shifted (.2cm,-.2cm) ;
+z3 = z1 shifted (-8.05cm,0) ;
+z4 = (x3,y2) ;
+
+save Main ;
+path Main ;
+Main := z1 -- z2 -- z4 -- z3 --cycle ;
+
+fill Main withcolor \MPcolor{simpleslides:backgroundcolor} ;
+StopPage ;
+\stopuniqueMPgraphic
+
+
+%D We define these backgrounds as overlays:
+
+\defineoverlay
+ [simpleslides:background:horizontal]
+ [\useMPgraphic{simpleslides:MP:horizontal}]
+
+\defineoverlay
+ [simpleslides:background:vertical]
+ [\useMPgraphic{simpleslides:MP:vertical}]
+
+\defineoverlay
+ [simpleslides:background:title]
+ [\useMPgraphic{simpleslides:MP:horizontal}]
+
+\defineoverlay
+ [simpleslides:background:ornament]
+ [\useMPgraphic{simpleslides:MP:ornament}]
+
+%D The slide title is placed on the top of the text area. The layer takes care
+%D of the positioning.
+
+\setupSlideTitle
+ [\c!after=,
+ \c!alternative=layer,
+ \c!width=\textwidth,
+ \c!height=2.5cm,
+ \c!command=\doSlideTitle]
+
+
+%D Squares are used as the first level of itemizations
+
+\definesymbol[1][$\square$]
+\setupitemize[1][inmargin]
+%\setupitemize[each][joinedup,unpacked]
+
+\protect
+\stopmodule
+
+\endinput
+
diff --git a/Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-BottomSquares.tex b/Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-BottomSquares.tex
new file mode 100644
index 00000000000..77633d23c69
--- /dev/null
+++ b/Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-BottomSquares.tex
@@ -0,0 +1,135 @@
+%D \module
+%D [ file=simpleslides-s-BottomSquares,
+%D version=2009.03.30
+%D title=\CONTEXT\ Style File,
+%D subtitle=Presentation Module --- BottomSquares style,
+%D author=Aditya Mahajan and Thomas A. Schmitz,
+%D date=\PRESTITdate,
+%D copyright={Aditya Mahajan and Thomas A. Schmitz}]
+%C
+%C Copyright 2007 Aditya Mahajan and Thomas A. Schmitz
+%C This file may be distributed under the GNU General Public License v. 2.0.
+
+%D This file provides the \quotation{BottomSquares} style for the presentation
+%D module. It is loaded at runtime. This minimalistic design is inspired by a
+%D presentation Taco gave at EuroTeX 2006.
+
+\writestatus{simpleslides}{loading module BottomSquares}
+
+\startmodule[simpleslides-s-BottomSquares]
+
+\unprotect
+
+%D The page layout:
+
+\setuplayout [width=fit,
+ height=middle,
+ margin=0cm,
+ height=fit,
+ margindistance=0cm,
+ header=0cm,
+ footer=0cm,
+ topspace=1cm,
+ bottomspace=2cm,
+ backspace=1.5cm,
+ location=singlesided]
+
+\setuplayout [simpleslides:layout:horizontal][header=1.4cm]
+\setuplayout [simpleslides:layout:vertical] [header=0cm]
+\setuplayout [simpleslides:layout:title] [header=0cm]
+
+%D We also specify the position of the slidetitle.
+
+\setuplayer[simpleslides:layer:slidetitle]
+ [x=15mm]
+
+%D These macros are used for placing figures/pictures:
+
+\define\NormalHeight {\textheight}
+\define\NormalWidth {.5\textwidth}
+\define\PictureFrameHeight {\textheight}
+\define\PictureFrameWidth {.5\textwidth}
+
+% %D We define a generic frame that is used by the slide title.
+%
+% \defineframed[simpleslides:framed]
+% [frame=off,offset=0pt,
+% top=\vss,bottom=\vss]
+
+
+%D We define our color scheme:
+
+\definecolor [simpleslides:backgroundcolor] [s=.95]
+\definecolor [simpleslides:contrastcolor] [r=.7,g=.1,b=.3]
+\definecolor [simpleslides:variantcolor] [s=.3]
+\definecolor [simpleslides:itemize:color] [simpleslides:contrastcolor]
+
+%D We let \METAPOST\ calculate the background:
+
+%AM: Why not implement this as an interaction bar?
+
+\startuseMPgraphic{simpleslides:MP:ornament}
+StartPage ;
+
+fill Page withcolor \MPcolor{simpleslides:backgroundcolor} ;
+
+save diff ;numeric diff;
+diff = .3cm ;
+
+save w; numeric w;
+w = xpart (lrcorner Field[Text][Text] - llcorner Field[Text][Text]) - diff ;
+
+save factor; numeric factor;
+factor = w/(NOfPages - 1) ;
+
+save p; path p ;
+p = unitsquare xyscaled (diff,diff)
+ shifted (xpart llcorner Field[Text][Text],0.85cm) ;
+
+for i = 1 upto NOfPages:
+ if PageNumber = i:
+ fill p xyscaled (0,2) shifted ( (i-1)*factor,-diff-0.85cm)
+ withcolor \MPcolor{simpleslides:contrastcolor} ;
+ else :
+ fill p shifted ( (i-1)*factor, 0)
+ withcolor \MPcolor{simpleslides:variantcolor} ;
+ fi ;
+endfor ;
+StopPage ;
+\stopuseMPgraphic
+
+%D We define these backgrounds as overlays:
+
+\defineoverlay
+ [simpleslides:background:ornament]
+ [\useMPgraphic{simpleslides:MP:ornament}]
+
+\defineoverlay
+ [simpleslides:background:title]
+ [\useMPgraphic{simpleslides:MP:ornament}]
+
+%D We want the title information to be colored
+
+\setupTitle
+ [\c!headcolor={simpleslides:contrastcolor}]
+
+%D The slide title is typeset in a layer
+
+\setupSlideTitle
+ [\c!color={simpleslides:contrastcolor},
+ \c!alternative=layer,
+ \c!align=\v!center,
+ \c!width=\textwidth,
+ \c!height=3cm,
+ \c!after=]
+
+%D The symbol for the first level of itemizations.
+
+\definesymbol[1][\useMPgraphic{simpleslides:itemize:square}]
+\setupitemize[1][color={simpleslides:itemize:color}]
+
+\protect
+\stopmodule
+
+\endinput
+
diff --git a/Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-Boxed.tex b/Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-Boxed.tex
new file mode 100644
index 00000000000..cec57643210
--- /dev/null
+++ b/Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-Boxed.tex
@@ -0,0 +1,173 @@
+%D \module
+%D [ file=simpleslides-s-Boxed,
+%D version=2009.03.30
+%D title=\CONTEXT\ Style File,
+%D subtitle=Presentation Module --- Boxed Style,
+%D author=Aditya Mahajan and Thomas A. Schmitz,
+%D date=\currentdate,
+%D copyright={Aditya Mahajan and Thomas A. Schmitz}]
+%C
+%C Copyright 2007 Aditya Mahajan and Thomas A. Schmitz
+%C This file may be distributed under the GNU General Public License v. 2.0.
+
+%D This file provides the \quotation{Boxed} style for the presentation
+%D module. It is loaded at runtime. The look of this style was inspired by the
+%D screen version of the Metafun manual.
+
+\writestatus{simpleslides}{loading style Boxed}
+
+\startmodule[simpleslides-s-Boxed]
+
+\unprotect
+
+%D The page layout:
+
+\setuplayout [width=fit,
+ margin=2cm,
+ height=fit,
+ leftmargindistance=1cm,
+ rightmargindistance=0cm,
+ header=2.8cm,
+ footer=1cm,
+ topspace=.7cm,
+ backspace=2cm,
+ location=singlesided]
+
+\setuplayout [simpleslides:layout:horizontal][header=2.8cm]
+\setuplayout [simpleslides:layout:vertical] [header=1.4cm]
+\setuplayout [simpleslides:layout:title] [header=1.4cm]
+
+%D We also specify the position of the slidetitle.
+
+\setuplayer[simpleslides:layer:slidetitle]
+ [x=20mm,
+ y=15mm]
+
+%D These macros are used for placing figures/pictures:
+
+\define\NormalHeight {\textheight}
+\define\NormalWidth {.476\textwidth}
+\define\PictureFrameHeight {\textheight}
+\define\PictureFrameWidth {.476\textwidth}
+
+%D We define our colorscheme:
+
+\definecolor [simpleslides:backgroundcolor] [s=.75]
+\definecolor [simpleslides:altbackgroundcolor] [s=.2]
+\definecolor [simpleslides:contrastcolor] [r=.55, g=0, b=.04]
+\definecolor [simpleslides:variantcolor] [yellow]
+\definecolor [simpleslides:itemize:color] [simpleslides:contrastcolor]
+
+%D We let Metapost calculate the background:
+
+\startuniqueMPgraphic{simpleslides:MP:horizontal}
+StartPage ;
+
+save p; path p[] ;
+
+save a ; numeric a ;
+a := 1.5cm ;
+
+fill Page withcolor \MPcolor{simpleslides:backgroundcolor} ;
+
+z1 = ulcorner Page shifted (a,0) ; z2 = urcorner Page shifted (-a,0) ;
+z3 = urcorner Page shifted (0,-a); z4 = lrcorner Page shifted (0,a) ;
+z5 = (x2,0) ; z6 = (x1,0) ;
+z7 = (0,y4) ; z8 = (0,y3) ;
+z9 = (x1,y3) ; z10 = (x2,y3) ;
+z11 = (x2,y4) ; z12 = (x1,y4) ;
+
+p[1] = z9 -- z12 -- z7 -- z8 -- cycle ;
+p[2] = z10 -- z3 -- z4 -- z11 -- cycle ;
+p[3] = z12 -- z11 -- z5 -- z6 -- cycle ;
+p[4] = z9 -- z10 -- z2 -- z1 -- cycle ;
+
+fill p[1] withcolor \MPcolor{simpleslides:altbackgroundcolor} ;
+fill p[2] withcolor \MPcolor{simpleslides:altbackgroundcolor} ;
+fill p[3] withcolor \MPcolor{simpleslides:altbackgroundcolor} ;
+fill p[4] withcolor \MPcolor{simpleslides:altbackgroundcolor} ;
+
+pickup pencircle scaled 8 pt ;
+
+draw z1 -- z6 withcolor \MPcolor{simpleslides:contrastcolor} ;
+draw z2 -- z5 withcolor \MPcolor{simpleslides:contrastcolor} ;
+draw z7 -- z4 withcolor \MPcolor{simpleslides:contrastcolor} ;
+draw z8 -- z3 withcolor \MPcolor{simpleslides:contrastcolor} ;
+
+StopPage ;
+\stopuniqueMPgraphic
+
+\startuseMPgraphic{simpleslides:MP:ornament}
+StartPage
+
+save a; numeric a;
+a := 1.5cm ;
+
+save factor, allpages, shift ;
+numeric factor, allpages, shift ;
+
+factor :=(NOfPages div 18) + 1 ;
+allpages := if NOfPages <= 18 : NOfPages elseif odd NOfPages : NOfPages + 1
+ else : NOfPages fi ;
+
+shift := factor * (PaperWidth -2a)/allpages ;
+
+save p ;path p ;
+p := fullcircle scaled 4mm shifted (a + shift/2, a/2) ;
+
+for i = 1 upto allpages/factor :
+ fill p shifted ( (i-1)*shift, 0)
+ if i - 1 = floor ((PageNumber - 1)/factor) :
+ withcolor \MPcolor{simpleslides:variantcolor} ;
+ else :
+ withcolor \MPcolor{simpleslides:backgroundcolor} ;
+ fi ;
+endfor ;
+
+
+StopPage
+\stopuseMPgraphic
+
+%D We define these backgrounds as overlays:
+
+\defineoverlay
+ [simpleslides:background:horizontal]
+ [\useMPgraphic{simpleslides:MP:horizontal}]
+
+\defineoverlay
+ [simpleslides:background:vertical]
+ [\useMPgraphic{simpleslides:MP:horizontal}]
+
+\defineoverlay
+ [simpleslides:background:title]
+ [\useMPgraphic{simpleslides:MP:horizontal}]
+
+\defineoverlay
+ [simpleslides:background:ornament]
+ [\useMPgraphic{simpleslides:MP:ornament}]
+
+%D The title page:
+
+\setupTitle
+ [\c!headcolor={simpleslides:contrastcolor}]
+
+%D The slide title is typeset in a layer
+
+\setupSlideTitle
+ [\c!color={simpleslides:contrastcolor},
+ \c!alternative=layer,
+ \c!align=\v!center,
+ \c!width=\textwidth,
+ \c!height=2.3cm,
+ \c!after=]
+
+%D The symbol for the first level of itemizations.
+
+\definesymbol[1][\useMPgraphic{simpleslides:itemize:square}]
+\setupitemize[1][inmargin][color={simpleslides:itemize:color}]
+
+\protect
+\stopmodule
+
+\endinput
+
diff --git a/Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-Ellipse.tex b/Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-Ellipse.tex
new file mode 100755
index 00000000000..09657f7ccc2
--- /dev/null
+++ b/Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-Ellipse.tex
@@ -0,0 +1,129 @@
+%D \module
+%D [ file=simpleslides-s-Ellipse,
+%D version=2009.03.30
+%D title=\CONTEXT\ Style File,
+%D subtitle=Presentation Module Ellipse,
+%D author=Aditya Mahajan and Thomas A. Schmitz,
+%D date=\PRESTITdate,
+%D copyright={Aditya Mahajan and Thomas A. Schmitz}]
+%C
+%C Copyright 2007 Aditya Mahajan and Thomas A. Schmitz
+%C This file may be distributed under the GNU General Public License v. 2.0.
+
+%D This file provides the \quotation{Ellipse} style for the presentation
+%D module. The design is inspired by Hans's "funny" presentation module
+%D (s-pre-03). It is loaded at runtime.
+
+\writestatus{simpleslides}{loading Ellipse style}
+
+\startmodule[simpleslides-s-Ellipse]
+
+\unprotect
+
+%D First, we change the page layout.
+
+\setuplayout [width=fit,
+ height=fit,
+ margin=0cm,
+ header=1.2cm,
+ footer=0cm,
+ topspace=1.8cm,
+ backspace=1.5cm,
+ location=singlesided]
+
+\setuplayout [simpleslides:layout:horizontal][header=15mm]
+\setuplayout [simpleslides:layout:vertical] [header=0mm]
+\setuplayout [simpleslides:layout:title] [header=0mm]
+
+%D These macros are used for placing figures/pictures:
+
+\define\NormalHeight {\textheight}
+\define\NormalWidth {.5\textwidth}
+\define\PictureFrameHeight {\textheight}
+\define\PictureFrameWidth {.5\textwidth}
+
+\setuplayer
+ [simpleslides:layer:slidetitle]
+ [y=8mm,
+ x=15mm]
+
+%D We define our color scheme:
+
+\definecolor[simpleslides:variantcolor] [s=0]
+\definecolor[simpleslides:backgroundcolor] [s=.8]
+\definecolor[simpleslides:contrastcolor] [r=.5,g=0,b=0]
+\definecolor[simpleslides:altcontrastcolor] [r=.9,g=0,b=0]
+\definecolor[simpleslides:itemize:color] [r=.5]
+
+%D We let Metapost calculate the background:
+
+\startuseMPgraphic{simpleslides:MP:horizontal}
+StartPage ;
+ fill Page withcolor \MPcolor{simpleslides:variantcolor} ;
+ save p ; path p ;
+ p := Page enlarged (-15pt,-15pt) superellipsed .9 ;
+ fill p withcolor \MPcolor{simpleslides:backgroundcolor} ;
+ pickup pencircle scaled 20pt ;
+ draw p withcolor \MPcolor{simpleslides:contrastcolor} ;
+StopPage ;
+\stopuseMPgraphic
+
+\startuseMPgraphic{simpleslides:MP:ornament}
+StartPage ;
+ save p ; path p ;
+ p := Page enlarged (-15pt,-15pt) superellipsed .9 ;
+ pickup pencircle scaled 20pt ;
+ save pa, pb; pair pa, pb ;
+ if PageNumber>1:
+ pa := point (3 + (6*PageNumber) / NOfPages) of p ;
+ pb := point (3 + (6*(PageNumber-1)) / NOfPages) of p ;
+ draw (p cutafter pa) cutbefore pb
+ withcolor \MPcolor{simpleslides:altcontrastcolor} ;
+ fi ;
+StopPage ;
+\stopuseMPgraphic
+
+%D We define these backgrounds as overlays:
+
+\defineoverlay
+ [simpleslides:background:horizontal]
+ [\useMPgraphic{simpleslides:MP:horizontal}]
+
+\defineoverlay
+ [simpleslides:background:vertical]
+ [\useMPgraphic{simpleslides:MP:horizontal}]
+
+\defineoverlay
+ [simpleslides:background:title]
+ [\useMPgraphic{simpleslides:MP:horizontal}]
+
+\defineoverlay
+ [simpleslides:background:ornament]
+ [\useMPgraphic{simpleslides:MP:ornament}]
+
+%D We want the title to placed in color.
+
+\setupTitle[\c!headcolor={simpleslides:contrastcolor}]
+
+%D We want the slide title on the top
+
+\setupSlideTitle
+ [\c!after=,
+ \c!alternative=layer,
+ \c!width=\textwidth,
+ \c!align=\v!center,
+ \c!height=3.5cm,
+ \c!color=simpleslides:contrastcolor]
+
+\setupcombinations[distance=0cm]
+
+%D The symbol for the first level of itemizations.
+
+\definesymbol[1][\useMPgraphic{simpleslides:itemize:square}]
+\setupitemize[1][\c!color={simpleslides:itemize:color}]
+
+\protect
+\stopmodule
+
+\endinput
+
diff --git a/Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-Embossed.tex b/Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-Embossed.tex
new file mode 100644
index 00000000000..e8e24f39bd4
--- /dev/null
+++ b/Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-Embossed.tex
@@ -0,0 +1,172 @@
+%D \module
+%D [ file=simpleslides-s--Embossed,
+%D version=2009.03.30
+%D title=\CONTEXT\ Style File,
+%D subtitle=Presentation Module --- Embossed style,
+%D author=Aditya Mahajan and Thomas A. Schmitz,
+%D date=\PRESTITdate,
+%D copyright={Aditya Mahajan and Thomas A. Schmitz}]
+%C
+%C Copyright 2007 Aditya Mahajan and Thomas A. Schmitz
+%C This file may be distributed under the GNU General Public License v. 2.0.
+
+%D This file provides the \quotation{embossed} style for the presentation
+%D module. It is loaded at runtime.
+
+\writestatus{simpleslides}{loading module embossed}
+
+\startmodule[simpleslides-s-Embossed]
+
+\unprotect
+%D The page layout:
+
+\setuplayout [width=fit,
+ margin=1.3cm,
+ height=fit,
+ header=1cm,
+ footer=1cm,
+ topspace=10mm,
+ backspace=2cm,
+ location=singlesided]
+
+\setuplayout [simpleslides:layout:horizontal][header=1cm]
+\setuplayout [simpleslides:layout:vertical] [header=0cm]
+\setuplayout [simpleslides:layout:title] [header=0cm]
+
+%D These macros are used for placing figures/pictures:
+
+\define\NormalHeight{.94\textheight}
+\define\NormalWidth{.476\textwidth}
+\define\PictureFrameHeight{.94\textheight}
+\define\PictureFrameWidth{.476\textwidth}
+
+%D We also specify the position of the slidetitle.
+
+\setuplayer[simpleslides:layer:slidetitle]
+ [x=20mm,y=2mm]
+
+%D Next we define a generic frame
+
+\defineframed[simpleslides:framed]
+ [frame=off,offset=0pt,
+ top=\vss,bottom=\vss]
+
+\defineframed[simpleslides:framed:big]
+ [frame=off,offset=0pt,strut=no,
+ width=\textwidth,height=2cm,
+ top=\vss,bottom=\vss]
+
+%D We define our color scheme:
+
+\definecolor [simpleslides:backgroundcolor] [r=1,g=1,b=.8]
+\definecolor [simpleslides:variantcolor] [r=.6,g=.2,b=.2]
+\definecolor [simpleslides:specialcolor:1] [r=.4,g=.2,b=.2]
+\definecolor [simpleslides:specialcolor:2] [r=.7,g=.2,b=.2]
+\definecolor [simpleslides:contrastcolor] [r=.2,g=.2,b=.5]
+\definecolor [simpleslides:framecolor] [s=.4]
+\definecolor [simpleslides:itemize:color] [simpleslides:contrastcolor]
+
+%D This module write "Made with ConTeXt" in bold at the bottom. We first define
+%D a font for it.
+
+\beginOLDTEX
+\loadmapfile[qhv-ec.map]
+\definefontsynonym [Embossed] [ec-qhvb]
+\endOLDTEX
+
+\beginXETEX
+\loadmapfile[qhv-ec.map]
+\definefontsynonym [Embossed] [ec-qhvb]
+\endXETEX
+
+\beginLUATEX
+\definefontsynonym [Embossed] [name:texgyreherosbold]
+\endLUATEX
+
+\definefont[EmblemFont] [Embossed at 30pt]
+
+%D The emblem string is configurable.
+
+\setuplabeltext [\s!en] [simpleslidesemblem={Made with \CONTEXT}]
+
+\definetextext[simpleslides:sometxt:left] {\TaspresentSometxtLeft}
+\definetextext[simpleslides:sometxt:right]{\TaspresentSometxtRight}
+
+\unexpanded\def\TaspresentSometxtLeft#1%
+ {\getvalue{simpleslides:framed:big}
+ {\EmblemFont\color[simpleslides:specialcolor:1]
+ {#1}}}
+
+\unexpanded\def\TaspresentSometxtRight#1%
+ {\getvalue{simpleslides:framed:big}
+ {\EmblemFont\color[simpleslides:specialcolor:2]
+ {#1}}}
+
+\startuseMPgraphic{simpleslides:MP:ornament}
+StartPage ;
+
+save a, b;
+numeric a; a = 2cm ;
+numeric b; b = 0.9cm ;
+
+z1 = llcorner Page shifted (0,a) ;
+z2 = lrcorner Page shifted (0,a) ;
+
+save bottom ; path bottom ;
+bottom = llcorner Page -- z1 -- z2 -- lrcorner Page -- cycle ;
+
+fill Page withcolor \MPcolor{simpleslides:backgroundcolor} ;
+fill bottom withcolor \MPcolor{simpleslides:variantcolor} ;
+
+draw Page withcolor \MPcolor{simpleslides:framecolor}
+ withpen pencircle scaled 12pt ;
+draw topboundary bottom withcolor \MPcolor{simpleslides:framecolor}
+ withpen pencircle scaled 6pt ;
+
+
+draw \sometxt[simpleslides:sometxt:left]{\labeltext{simpleslidesemblem} \hfill \pagenumber\ of \lastpage}
+ shifted (1.96cm,0.04cm) ;
+
+draw \sometxt[simpleslides:sometxt:right]{\labeltext{simpleslidesemblem} \hfill \pagenumber\ of \lastpage}
+ shifted (2cm,0) ;
+
+StopPage ;
+\stopuseMPgraphic
+
+
+%D We define these backgrounds as overlays:
+
+\defineoverlay
+ [simpleslides:background:ornament]
+ [\useMPgraphic{simpleslides:MP:ornament}]
+
+\defineoverlay
+ [simpleslides:background:title]
+ [\useMPgraphic{simpleslides:MP:ornament}]
+
+
+%D We want the presentation title to be in color
+
+\setupTitle[\c!title\c!color=simpleslides:contrastcolor]
+
+%D We also want the slide title in a framed box.
+
+\setupSlideTitle
+ [\c!after=,
+ \c!alternative=layer,
+ \c!color={simpleslides:contrastcolor},
+ \c!width=\textwidth,
+ \c!height=2cm,
+ \c!align=\v!middle]
+
+
+%D The symbol for the first level of itemizations.
+
+\definesymbol[1][\useMPgraphic{simpleslides:itemize:square}]
+\setupitemize[1][color={simpleslides:itemize:color}]
+
+\protect
+\stopmodule
+
+\endinput
+
diff --git a/Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-Framed.tex b/Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-Framed.tex
new file mode 100644
index 00000000000..4cde7723962
--- /dev/null
+++ b/Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-Framed.tex
@@ -0,0 +1,223 @@
+%D \module
+%D [ file=simpleslides-s-Framed,
+%D version=2009.03.30
+%D title=\CONTEXT\ Style File,
+%D subtitle=Presentation Module --- Framed Style,
+%D author=Aditya Mahajan and Thomas A. Schmitz,
+%D date=\PRESTITdate,
+%D copyright={Aditya Mahajan and Thomas A. Schmitz}]
+%C
+%C Copyright 2007 Aditya Mahajan and Thomas A. Schmitz
+%C This file may be distributed under the GNU General Public License v. 2.0.
+
+%D This file provides the \quotation{Framed} style for the presentation
+%D module. It is loaded at runtime.
+
+\writestatus{simpleslides}{loading style Framed}
+
+\startmodule[simpleslides-s-Framed]
+
+\unprotect
+
+%D The page layout:
+
+\setuplayout [width=fit,
+ margin=0.6cm,
+ height=fit,
+ header=2.1cm,
+ footer=1.35cm,
+ footerdistance=0.5cm,
+ topspace=0.5cm,
+ backspace=1cm,
+ location=singlesided]
+
+\setuplayout [simpleslides:layout:horizontal][header=2.1cm,backspace=1cm]
+\setuplayout [simpleslides:layout:vertical] [header=0cm,backspace=1cm]
+\setuplayout [simpleslides:layout:title] [header=0cm,backspace=0.5cm]
+
+%D We also specify the position of the slidetitle.
+
+\setuplayer[simpleslides:layer:slidetitle]
+ [x=10mm,y=3mm]
+
+%D These macros are used for placing figures/pictures:
+
+\define\NormalHeight {.975\textheight}
+\define\NormalWidth {.485\textwidth}
+\define\PictureFrameHeight {.975\textheight}
+\define\PictureFrameWidth {.485\textwidth}
+
+
+%D We define our colors:
+
+\definecolor [simpleslides:backgroundcolor] [r=.85, g=.85, b=.85]
+\definecolor [simpleslides:framecolor] [r=.42, g=.42, b=.7]
+\definecolor [simpleslides:contrastcolor] [r=0, g=0, b=.5]
+\definecolor [simpleslides:variantcolor] [r=0, g=0, b=1]
+\definecolor [simpleslides:itemize:color] [simpleslides:contrastcolor]
+
+%D We let \METAPOST\ calculate the background. This style have two options for
+%D ornaments, square or stripes. We define both, and then choose one depending
+%D on the user's choice.
+
+\startuseMPgraphic{simpleslides:MP:ornament:square}
+StartPage;
+
+save a,b,c,p;
+numeric a; a = 0.955cm ;
+numeric b; b = 0.52cm ;
+numeric c; c = 0.8cm ;
+path p[] ;
+
+for i=1 upto 11:
+ p[i] = unitsquare xyscaled (a,a) shifted (b+2*(i-1)*a, c) ;
+ fill p[i] withcolor ((i-1)/10)[\MPcolor{simpleslides:contrastcolor},
+ \MPcolor{simpleslides:variantcolor}] ;
+endfor ;
+
+if NOfPages >= 12:
+ save n ; numeric n ;
+ n := (10*(PageNumber - 1) div (NOfPages - 1)) + 1;
+
+ draw llcorner p[n] -- urcorner p[n]
+ withpen pencircle scaled 2pt
+ withcolor \MPcolor{simpleslides:backgroundcolor} ;
+fi ;
+
+StopPage;
+\stopuseMPgraphic
+
+\startuseMPgraphic{simpleslides:MP:ornament:stripe}
+StartPage;
+
+save p ;
+path p[] ;
+
+p[1] := unitsquare xyscaled(0.95*OverlayWidth,1cm) shifted (0.52cm,0.8cm) ;
+
+linear_shade(p[1],0,
+ \MPcolor{simpleslides:backgroundcolor},
+ \MPcolor{simpleslides:contrastcolor}) ;
+
+save i ;
+numeric i; i = PageNumber/NOfPages ;
+
+p[2] = ulcorner p[1] -- urcorner p[1] ;
+p[3] = llcorner p[1] -- lrcorner p[1] ;
+
+save o;
+pair o[] ;
+
+o[1] := point i along p[2] ;
+o[2] := point i along p[3] ;
+
+p[4] = ulcorner p[1] -- o[1] -- o[2] -- llcorner p[1] -- cycle ;
+
+clip currentpicture to p[4] ;
+
+StopPage;
+\stopuseMPgraphic
+
+\startuniqueMPgraphic{simpleslides:MP:vertical}
+StartPage ;
+
+fill Page withcolor \MPcolor{simpleslides:backgroundcolor} ;
+
+draw Page enlarged (-.2cm)
+ withpen pencircle scaled 4pt
+ withcolor \MPcolor{simpleslides:framecolor} ;
+
+draw unitsquare
+ xyscaled(0.448*PaperWidth,0.815*PaperHeight)
+ shifted (0.528*PaperWidth, 0.15*PaperHeight)
+ withpen pencircle scaled 2pt
+ withcolor \MPcolor{simpleslides:framecolor} ;
+
+StopPage ;
+\stopuniqueMPgraphic
+
+\startuniqueMPgraphic{simpleslides:MP:horizontal}
+StartPage ;
+
+fill Page withcolor \MPcolor{simpleslides:backgroundcolor} ;
+
+draw Page enlarged (-.2cm)
+ withpen pencircle scaled 4pt
+ withcolor \MPcolor{simpleslides:framecolor} ;
+
+draw unitsquare
+ xyscaled(0.95*PaperWidth,0.7*PaperHeight)
+ shifted (0.025*PaperWidth, 0.15*PaperHeight)
+ withpen pencircle scaled 2pt
+ withcolor \MPcolor{simpleslides:framecolor} ;
+
+StopPage;
+\stopuniqueMPgraphic
+
+%D We define these backgrounds as overlays:
+
+
+\defineoverlay
+ [simpleslides:background:horizontal]
+ [\useMPgraphic{simpleslides:MP:horizontal}]
+
+\defineoverlay
+ [simpleslides:background:vertical]
+ [\useMPgraphic{simpleslides:MP:vertical}]
+
+\defineoverlay
+ [simpleslides:background:title]
+ [\useMPgraphic{simpleslides:MP:horizontal}]
+
+%D We define the ornament according to user's choice.
+
+\startsetups simpleslides:alternative:square
+\defineoverlay
+ [simpleslides:background:ornament]
+ [\uniqueMPgraphic{simpleslides:MP:ornament:square}]
+\stopsetups
+
+\startsetups simpleslides:alternative:stripe
+\defineoverlay
+ [simpleslides:background:ornament]
+ [\uniqueMPgraphic{simpleslides:MP:ornament:stripe}]
+\stopsetups
+
+\startsetups simpleslides:alternative:empty
+ \setups{simpleslides:alternative:square}
+\stopsetups
+
+%D Now we activate the user's choice
+
+\setups{simpleslides:alternative:\moduleparameter{simpleslides}{alternative}}
+
+%D The title is typed in a slightly larger font.
+
+\setupTitle
+ [\c!title\c!color={simpleslides:contrastcolor},
+ \c!title\c!style=\tfc,
+ \c!author\c!color={simpleslides:contrastcolor},
+ \c!author\c!style=\tfa,
+ \c!date\c!color={simpleslides:contrastcolor},
+ \c!date\c!style=\tfa]
+
+%D The slide title is typeset in a layer
+
+\setupSlideTitle
+ [\c!color={simpleslides:contrastcolor},
+ \c!alternative=layer,
+ \c!align=\v!center,
+ \c!width=\textwidth,
+ \c!height=2.1cm,
+ \c!after=]
+
+%D The symbol for the first level of itemizations.
+
+\definesymbol[1][\useMPgraphic{simpleslides:itemize:square}]
+\setupitemize[1][color={simpleslides:itemize:color}]
+
+\protect
+\stopmodule
+
+\endinput
+
diff --git a/Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-FramedTitle.tex b/Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-FramedTitle.tex
new file mode 100644
index 00000000000..6c6c3abe8a7
--- /dev/null
+++ b/Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-FramedTitle.tex
@@ -0,0 +1,161 @@
+%D \module
+%D [ file=simpleslides-s-FramedTitle,
+%D version=2009.03.30
+%D title=\CONTEXT\ Style File,
+%D subtitle=Presentation Module --- FramedTitle style,
+%D author=Aditya Mahajan and Thomas A. Schmitz,
+%D date=\PRESTITdate,
+%D copyright={Aditya Mahajan and Thomas A. Schmitz}]
+%C
+%C Copyright 2007 Aditya Mahajan and Thomas A. Schmitz
+%C This file may be distributed under the GNU General Public License v. 2.0.
+
+%D This file provides the \quotation{FramedTitle} style for the presentation
+%D module. It is loaded at runtime. The most interesting part is the scratch
+%D counter at the bottom of the page, which is explained in the metafun manual.
+
+\writestatus{simpleslides}{loading style FramedTitle}
+
+\startmodule[simpleslides-s-FramedTitle]
+
+\unprotect
+
+%D The page layout:
+
+\setuplayout [width=fit,
+ margin=0cm,
+ height=fit,
+ header=2.2cm,
+ footer=.8cm,
+ topspace=.6cm,
+ backspace=1cm,
+ location=singlesided]
+
+\setuplayout [simpleslides:layout:horizontal][header=2.2cm]
+\setuplayout [simpleslides:layout:vertical] [header=0.5cm]
+\setuplayout [simpleslides:layout:title] [header=0.5cm]
+
+%D We also specify the position of the slidetitle.
+
+\setuplayer[simpleslides:layer:slidetitle]
+ [x=10mm,y=2mm]
+
+
+%D These macros are used for placing figures/pictures:
+
+\define\NormalHeight {\textheight}
+\define\NormalWidth {.476\textwidth}
+\define\PictureFrameHeight {\textheight}
+\define\PictureFrameWidth {.476\textwidth}
+
+\setupframed[simpleslides:framed]
+ [corner=round,
+ background=color,backgroundcolor={simpleslides:contrastcolor}]
+
+%D We define our color scheme:
+
+\definecolor [simpleslides:backgroundcolor] [s=.9]
+\definecolor [simpleslides:variantcolor] [s=.7]
+\definecolor [simpleslides:contrastcolor] [r=.5]
+\definecolor [simpleslides:itemize:color] [simpleslides:contrastcolor]
+
+%D We let Metapost calculate the background:
+
+\startuniqueMPgraphic{simpleslides:MP:horizontal}
+StartPage ;
+fill Page withcolor \MPcolor{simpleslides:backgroundcolor} ;
+StopPage ;
+\stopuniqueMPgraphic
+
+\startuseMPgraphic{simpleslides:MP:ornament}
+StartPage ;
+
+save a,b ;
+numeric a,b ;
+a = 7mm ;
+b = PaperWidth/2 - NOfPages * 2.5pt ;
+
+save p,q; path p,q ;
+p =((0,5mm) -- (1mm,11mm)) shifted (b,0) ;
+q =((-8mm,5mm) -- (0,11mm) ) shifted (b,0) ;
+
+pickup pencircle scaled 3pt ;
+for i := NOfPages-1 downto 1:
+ draw (if i mod 5 = 0 : q else : p fi)
+ shifted (i*5pt, 0pt)
+ withcolor if i < PageNumber : \MPcolor{simpleslides:contrastcolor}
+ else : \MPcolor{simpleslides:variantcolor}
+ fi ;
+endfor ;
+StopPage ;
+\stopuseMPgraphic
+
+%D We define these backgrounds as overlays:
+
+\defineoverlay
+ [simpleslides:background:horizontal]
+ [\useMPgraphic{simpleslides:MP:horizontal}]
+
+\defineoverlay
+ [simpleslides:background:vertical]
+ [\useMPgraphic{simpleslides:MP:horizontal}]
+
+\defineoverlay
+ [simpleslides:background:title]
+ [\useMPgraphic{simpleslides:MP:horizontal}]
+
+\defineoverlay
+ [simpleslides:background:ornament]
+ [\useMPgraphic{simpleslides:MP:ornament}]
+
+%D We want the title to placed in a framed box. We redefine all the keys of
+%D \type{\setupTitle}, so that the module is easier to maintain.
+
+\setupTitle
+ [\c!title=,
+ \c!author=,
+ \c!date=\currentdate,
+ \c!headstyle=,
+ \c!headcolor={simpleslides:backgroundcolor},
+ \c!align=\v!middle,
+ \c!before={\vfill\getvalue{simpleslides:framed}
+ [\c!width=\textwidth,\c!height=.75\textheight,
+ \c!align=\v!middle, \c!strut=\v!no]
+ \bgroup},
+ \c!after={\egroup\vfill},
+ \c!title\c!style={\switchtobodyfont[\TitleSize]},
+ \c!title\c!color=,
+ \c!title\c!align=,%\v!middle,
+ \c!author\c!style=,
+ \c!author\c!color=,
+ \c!author\c!align=,%\v!middle,
+ \c!date\c!style=,
+ \c!date\c!color=,
+ \c!date\c!align=,%\v!middle,
+ \c!before\c!title=,
+ \c!before\c!author=,
+ \c!before\c!date=,
+ \c!after\c!title={\blank[1*line]},
+ \c!after\c!author={\blank[2*line]},
+ \c!after\c!date=]
+
+%D We also want the slide title in a framed box.
+
+\setupSlideTitle
+ [\c!after=,
+ \c!alternative=layer,
+ \c!height=2.1cm,
+ \c!width=\textwidth,
+ \c!color=simpleslides:backgroundcolor]
+
+
+%D The symbol for the first level of itemizations.
+
+\definesymbol[1][\useMPgraphic{simpleslides:itemize:square}]
+\setupitemize[1][color=simpleslides:contrastcolor]
+
+\protect
+\stopmodule
+
+\endinput
+
diff --git a/Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-HorizontalStripes.tex b/Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-HorizontalStripes.tex
new file mode 100644
index 00000000000..025b74534e0
--- /dev/null
+++ b/Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-HorizontalStripes.tex
@@ -0,0 +1,184 @@
+%D \module
+%D [ file=simpleslides-s-HorizontalStripes,
+%D version=2009.03.30
+%D title=\CONTEXT\ Style File,
+%D subtitle=Presentation Module HorizontalStripes,
+%D author=Aditya Mahajan and Thomas A. Schmitz,
+%D date=\PRESTITdate,
+%D copyright={Aditya Mahajan and Thomas A. Schmitz}]
+%C
+%C Copyright 2007 Aditya Mahajan and Thomas A. Schmitz
+%C This file may be distributed under the GNU General Public License v. 2.0.
+
+%D This file provides the \filename{HorizontalStripes} style for the
+%D presentation module. It is loaded at runtime. The look of this style was
+%D inspired by the \quotation{Copenhagen} theme of the \LaTeX\ {\tt beamer}
+%D package.
+
+\writestatus{simpleslides}{loading HorizontalStripes style}
+
+\startmodule[simpleslides-s-HorizontalStripes]
+
+\unprotect
+
+%D The page layout:
+
+\setuplayout [width=fit,
+ margin=0cm,
+ height=fit,
+ header=2.73cm,
+ footer=0.9cm,
+ topspace=0cm,
+ backspace=1cm,
+ location=singlesided]
+
+\setuplayout [simpleslides:layout:horizontal][header=2.73cm]
+\setuplayout [simpleslides:layout:vertical] [header=0.75cm]
+\setuplayout [simpleslides:layout:title] [header=0cm]
+
+%D In this style, we don't want the ornament background for vertical slides:
+
+\startsetups simpleslides:background:vertical
+ \setuplayout[simpleslides:layout:vertical]
+ \setupbackgrounds[\v!page]
+ [background={simpleslides:background:vertical}]
+\stopsetups
+
+
+
+%D We also specify the position of the slidetitle.
+
+\setuplayer[simpleslides:layer:slidetitle]
+ [width=\paperwidth,
+ height=\paperheight,
+ x=10mm]
+
+%D These macros are used for placing figures/pictures:
+
+\define\NormalHeight {\textheight}
+\define\NormalWidth {.476\textwidth}
+\define\PictureFrameHeight {\textheight}
+\define\PictureFrameWidth {.476\textwidth}
+
+%D This module has three color schemes, blue, green and red.
+
+\startsetups simpleslides:setups:blue
+\definecolor [simpleslides:backgroundcolor] [s=.95]
+\definecolor [simpleslides:framecolor] [r=.58,g=.58,b=.82]
+\definecolor [simpleslides:contrastcolor] [r=.2,g=.2,b=.73]
+\definecolor [simpleslides:itemize:color] [simpleslides:contrastcolor]
+\stopsetups
+
+\startsetups simpleslides:setups:red
+\definecolor [simpleslides:backgroundcolor] [s=.95]
+\definecolor [simpleslides:framecolor] [r=.82,g=.58,b=.58]
+\definecolor [simpleslides:contrastcolor] [r=.73,g=.2,b=.2]
+\definecolor [simpleslides:itemize:color] [simpleslides:contrastcolor]
+\stopsetups
+
+\startsetups simpleslides:setups:green
+\definecolor [simpleslides:backgroundcolor] [s=.95]
+\definecolor [simpleslides:framecolor] [r=.58,g=.82,b=.58]
+\definecolor [simpleslides:contrastcolor] [r=.2,g=.73,b=.2]
+\definecolor [simpleslides:itemize:color] [simpleslides:contrastcolor]
+\stopsetups
+
+%D Now we choose the scheme that the user asked for
+
+\doifsetupselse{simpleslides:setups:\moduleparameter{simpleslides}{color}}
+ {\setups{simpleslides:setups:\moduleparameter{simpleslides}{color}}}
+ {\setups{simpleslides:setups:blue}}
+
+%D We let Metapost calculate the background:
+
+\startuseMPgraphic{simpleslides:MP:common}
+save a ; numeric a ;
+a = 1.5mm ;
+
+save p; path p[] ;
+
+fill Page withcolor \MPcolor{simpleslides:backgroundcolor} ;
+
+z1 = ulcorner Page shifted (0,-a) ;
+z2 = urcorner Page shifted (0,-a) ;
+z3 = llcorner Page shifted (0,a) ;
+z4 = lrcorner Page shifted (0,a) ;
+
+p[1] = ulcorner Page -- z1 -- z2 -- urcorner Page -- cycle ;
+p[3] = llcorner Page -- z3 -- z4 -- lrcorner Page -- cycle ;
+p[4] = p[3] shifted (0,.75cm) ;
+
+fill p[1] withcolor \MPcolor{simpleslides:framecolor} ;
+fill p[3] withcolor \MPcolor{simpleslides:framecolor} ;
+fill p[4] withcolor \MPcolor{simpleslides:framecolor} ;
+\stopuseMPgraphic
+
+\startuniqueMPgraphic{simpleslides:MP:vertical}
+StartPage ;
+\includeMPgraphic{simpleslides:MP:common} ;
+StopPage ;
+\stopuniqueMPgraphic
+
+\startuniqueMPgraphic{simpleslides:MP:horizontal}
+StartPage ;
+\includeMPgraphic{simpleslides:MP:common} ;
+
+p[2] = p[1] shifted (0,-2cm) ;
+fill p[2] withcolor \MPcolor{simpleslides:framecolor} ;
+StopPage ;
+\stopuniqueMPgraphic
+
+%D We define these backgrounds as overlays:
+
+\defineoverlay
+ [simpleslides:background:horizontal]
+ [\useMPgraphic{simpleslides:MP:horizontal}]
+
+\defineoverlay
+ [simpleslides:background:vertical]
+ [\useMPgraphic{simpleslides:MP:vertical}]
+
+\defineoverlay
+ [simpleslides:background:title]
+ [\useMPgraphic{simpleslides:MP:vertical}]
+
+%D We define the footer
+
+\setupfooter[\c!color=simpleslides:contrastcolor,
+ \c!style={\switchtobodyfont[10pt]},
+ \c!strut=\v!yes]
+
+\setupfootertexts[{\framed[\c!frame=\v!off,
+ \c!height=0.65cm,
+ \c!width=\textwidth]
+ {\simpleslidestitleparameter{title}
+ \hfill \pagenumber\ of \lastpage}}]
+
+
+%D this sets up the title page:
+
+\setupTitle
+ [\c!title\c!color={simpleslides:contrastcolor},
+ \c!author\c!color={simpleslides:contrastcolor},
+ \c!date\c!color={simpleslides:contrastcolor}]
+
+%D The slide title is typeset in a layer
+
+\setupSlideTitle
+ [\c!color={simpleslides:contrastcolor},
+ \c!alternative=layer,
+ \c!align=\v!center,
+ \c!width=\textwidth,
+ \c!height=2.2cm,
+ \c!after=]
+
+%D The symbol for the first level of itemizations.
+
+\definesymbol[1][\useMPgraphic{simpleslides:itemize:square}]
+\setupitemize[1][color={simpleslides:itemize:color}]
+
+\protect
+\stopmodule
+
+\endinput
+
diff --git a/Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-NarrowStripes.tex b/Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-NarrowStripes.tex
new file mode 100644
index 00000000000..471eb208e31
--- /dev/null
+++ b/Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-NarrowStripes.tex
@@ -0,0 +1,170 @@
+%D \module
+%D [ file=simpleslides-s-NarrowStripes,
+%D version=2009.03.30
+%D title=\CONTEXT\ Style File,
+%D subtitle=Presentation Module NarrowStripes,
+%D author=Aditya Mahajan and Thomas A. Schmitz,
+%D date=\currentdate,
+%D copyright={Aditya Mahajan and Thomas A. Schmitz}]
+%C
+%C Copyright 2007 Aditya Mahajan and Thomas A. Schmitz
+%C This file may be distributed under the GNU General Public License v. 2.0.
+
+%D This file provides the \quotation{NarrowStripes} style for the presentation
+%D module. It is loaded at runtime. The theme for this style is inspired by the
+%D \quotation{Berkeley} theme of the \LaTeX\ Beamer package.
+
+\writestatus{simpleslides}{loading NarrowStripes style}
+
+\startmodule[simpleslides-s-NarrowStripes]
+
+\unprotect
+
+%D First, we change the page layout.
+
+\setuplayout [width=fit,
+ leftmargin=1.5cm,
+ rightmargin=0cm,
+ leftmargindistance=1.8cm,
+ rightmargindistance=0pt,
+ height=fit,
+ header=2.5cm,
+ footer=0cm,
+ topspace=.4cm,
+ backspace=3.2cm,
+ cutspace=3.7cm,
+ bottomspace=0cm,
+ bottom=0pt,
+ location=singlesided]
+
+%D We also specify the position of the slidetitle.
+
+\setuplayer[simpleslides:layer:slidetitle]
+ [width=\paperwidth,
+ height=\paperheight,
+ x=32mm]
+
+%D These macros are used for placing figures/pictures:
+
+\define\NormalHeight{\textheight}
+\define\NormalWidth{.476\textwidth}
+\define\PictureFrameHeight{\textheight}
+\define\PictureFrameWidth{.476\textwidth}
+
+%D This module has three color schemes, blue, green and red.
+
+\startsetups simpleslides:setups:blue
+\definecolor [simpleslides:backgroundcolor] [s=.95]
+\definecolor [simpleslides:altcontrastcolor] [r=0,g=0,b=1]
+\definecolor [simpleslides:variantcolor] [r=.69,g=.69,b=.97]
+\definecolor [simpleslides:contrastcolor] [b=.8]
+\definecolor [simpleslides:itemize:color] [b=.8]
+\stopsetups
+
+\startsetups simpleslides:setups:red
+\definecolor [simpleslides:itemize:color] [r=.8]
+\definecolor [simpleslides:backgroundcolor] [s=.95]
+\definecolor [simpleslides:altcontrastcolor] [r=1]
+\definecolor [simpleslides:variantcolor] [b=.69,g=.69,r=.97]
+\definecolor [simpleslides:contrastcolor] [r=.8]
+\stopsetups
+
+\startsetups simpleslides:setups:green
+\definecolor [simpleslides:itemize:color] [g=.4]
+\definecolor [simpleslides:backgroundcolor] [s=.95]
+\definecolor [simpleslides:altcontrastcolor] [g=.4]
+\definecolor [simpleslides:variantcolor] [b=.68,r=.68,g=.79]
+\definecolor [simpleslides:contrastcolor] [g=.4]
+\stopsetups
+
+%D Now we choose the scheme that the user asked for
+
+\doifsetupselse{simpleslides:setups:\moduleparameter{simpleslides}{color}}
+ {\setups{simpleslides:setups:\moduleparameter{simpleslides}{color}}}
+ {\setups{simpleslides:setups:blue}}
+
+%D We let Metapost calculate the background:
+
+\definetextext[simpleslides:sometxt:text] {\TaspresentSometxtText}
+
+\unexpanded\def\TaspresentSometxtText#1%
+ {\framed[\c!frame=\v!off, \c!width=2.25cm, \c!height=2.25cm]
+ {\switchtobodyfont[12pt]\color[simpleslides:contrastcolor]{#1}}}
+
+\startuseMPgraphic{simpleslides:MP:ornament}
+StartPage ;
+
+save a,b,c ; numeric a,b,c ;
+a = 2.25cm ;
+b = 0.4 cm ;
+c = PaperHeight - a/2 ;
+
+z1 = ulcorner Page shifted (0,-a) ;
+z2 = ulcorner Page shifted (0,-a-b) ;
+z3 = urcorner Page shifted (0,-a-b) ;
+z4 = urcorner Page shifted (0,-a) ;
+z5 = ulcorner Page shifted (a,0) ;
+z6 = ulcorner Page shifted (a+b,0) ;
+z7 = llcorner Page shifted (a+b,0) ;
+z8 = llcorner Page shifted (a,0) ;
+z9 = ulcorner Page shifted (a,-a) ;
+z10 = ulcorner Page shifted (a+b,-a) ;
+z11 = ulcorner Page shifted (a+b,-a-b) ;
+z12 = ulcorner Page shifted (a,-a-b) ;
+
+save p; path p[] ;
+p[1] = z1 -- z2 -- z3 -- z4 -- cycle ;
+p[2] = z5 -- z6 -- z7 -- z8 -- cycle ;
+p[3] = z9 -- z10 --z11 -- z12 -- cycle ;
+
+linear_shade(p[1],1,
+ \MPcolor{simpleslides:backgroundcolor},
+ \MPcolor{simpleslides:altcontrastcolor}) ;
+
+linear_shade(p[2],2,
+ \MPcolor{simpleslides:altcontrastcolor},
+ \MPcolor{simpleslides:backgroundcolor}) ;
+
+fill p[3] withcolor \MPcolor{simpleslides:variantcolor} ;
+
+if PageNumber > 1:
+ draw \sometxt[simpleslides:sometxt:text]{\folio} shifted (0,PaperHeight-a) ;
+fi ;
+StopPage ;
+\stopuseMPgraphic
+
+\defineoverlay
+ [simpleslides:background:ornament]
+ [\useMPgraphic{simpleslides:MP:ornament}]
+
+\defineoverlay
+ [simpleslides:background:title]
+ [\useMPgraphic{simpleslides:MP:ornament}]
+
+%D this sets up the title page:
+
+\setupTitle
+ [\c!title\c!color={simpleslides:contrastcolor},
+ \c!author\c!color={simpleslides:contrastcolor},
+ \c!date\c!color={simpleslides:contrastcolor}]
+
+%D The slide title is typeset in a layer
+
+\setupSlideTitle
+ [\c!color={simpleslides:contrastcolor},
+ \c!alternative=layer,
+ \c!align=\v!center,
+ \c!width=\textwidth,
+ \c!height=2.25cm,
+ \c!after=]
+
+%D The symbol for the first level of itemizations.
+
+\definesymbol[1][\useMPgraphic{simpleslides:itemize:square}]
+\setupitemize[1][inmargin][color={simpleslides:itemize:color}]
+
+\protect
+\stopmodule
+
+\endinput
+
diff --git a/Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-RainbowStripe.tex b/Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-RainbowStripe.tex
new file mode 100644
index 00000000000..5ca00ec6b2e
--- /dev/null
+++ b/Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-RainbowStripe.tex
@@ -0,0 +1,221 @@
+%D \module
+%D [ file=simpleslides-t-RainbowStripe,
+%D version=2009.03.30
+%D title=\CONTEXT\ Style File,
+%D subtitle=Presentation Module RainbowStripe,
+%D author=Aditya Mahajan and Thomas A. Schmitz,
+%D date=\PRESTITdate,
+%D copyright={Aditya Mahajan and Thomas A. Schmitz}]
+%C
+%C Copyright 2007 Aditya Mahajan and Thomas A. Schmitz
+%C This file may be distributed under the GNU General Public License v. 2.0.
+
+%D This file provides the \quotation{RainbowStripe} style for the presentation
+%D module. It is loaded at runtime.
+
+\writestatus{simpleslides}{loading RainbowStripe style}
+
+\startmodule[simpleslides-s-RainbowStripe]
+
+\unprotect
+
+%D First, we provide the page layout.
+
+\setuplayout [width=fit,
+ margin=1.5cm,
+ height=fit,
+ header=11mm,
+ footer=0cm,
+ topspace=15mm,
+ backspace=2cm,
+ location=singlesided]
+
+\setuplayout [simpleslides:layout:horizontal][header=11mm]
+\setuplayout [simpleslides:layout:vertical] [header=0mm]
+\setuplayout [simpleslides:layout:title] [header=0mm]
+
+
+%D These macros are used for placing figures/pictures:
+
+\define\NormalHeight {\textheight}
+\define\NormalWidth {.476\textwidth}
+\define\PictureFrameHeight {\textheight}
+\define\PictureFrameWidth {.476\textwidth}
+
+\setuplayer
+ [simpleslides:layer:slidetitle]
+ [y=12mm,
+ x=20mm]
+
+%D We define our colorscheme:
+
+\definecolor [simpleslides:backgroundcolor] [s=.88]
+\definecolor [simpleslides:itemize:color] [s=0]
+\definecolor [simpleslides:rainbowone] [r=.5,g=0,b=.5]
+\definecolor [simpleslides:rainbowtwo] [b=1]
+\definecolor [simpleslides:rainbowthree] [g=1,b=1]
+\definecolor [simpleslides:rainbowfour] [g=1]
+\definecolor [simpleslides:rainbowfive] [r=1,g=1]
+\definecolor [simpleslides:rainbowsix] [r=1]
+
+%D In a first attempt to achieve the rainbow effect, I produced the rainbow
+%D background with asymptote and then converted it to a pdf file which was then
+%D used as a background. In that case, it was necessary to instruct \CONTEXT\
+%D to look in the default \TeX\ input paths for figures. The background spans
+%D the entire height of the page and the width of the text area; the gray
+%D background was then calculated so that the two stripes at the top and at the
+%D bottom were left unfilled so the rainbow background would then be visible.
+%D Here is the code:
+
+%\setupexternalfigures[location={global}]
+
+%\defineoverlay[rainb][{\externalfigure[rainbow.pdf][width=1.05\textwidth,height=1.4\textheight]}]
+
+% \startuniqueMPgraphic{gray}
+% StartPage ;
+% pair zf[] ;
+% path gr[] ;
+% numeric a; a = 2cm ;
+% numeric b; b = 0.8cm ;
+% z.f1 = ulcorner Page shifted (a,0) ;
+% z.f2 = urcorner Page shifted (-a,0) ;
+% z.f3 = lrcorner Page shifted (-a,0) ;
+% z.f4 = llcorner Page shifted (a,0) ;
+% z.f5 = z.f1 shifted (0,-b) ;
+% z.f6 = z.f2 shifted (0,-b) ;
+% z.f7 = z.f3 shifted (0,b) ;
+% z.f8 = z.f4 shifted (0,b) ;
+% z.f9 = z.f5 shifted (0,-b) ;
+% z.f10 = z.f6 shifted (0,-b) ;
+% z.f11 = z.f7 shifted (0,b) ;
+% z.f12 = z.f8 shifted (0,b) ;
+% gr[1] = ulcorner Page -- urcorner Page -- lrcorner Page -- llcorner Page -- z.f8 -- z.f7 -- z.f6 -- z.f5 -- z.f4 -- llcorner Page -- cycle ;
+% gr[2] = z.f9 -- z.f10 -- z.f11 -- z.f12 -- cycle ;
+% gr[2] := gr[2] enlarged (.5cm,0cm) ;
+% fill gr[1] withcolor \MPcolor{a} ;
+% fill gr[2] withcolor \MPcolor{a} ;
+% StopPage ;
+% \stopuniqueMPgraphic
+
+%D However, it seemed more portable to let Metapost calculate the background.
+%D The rainbow effect takes some lines of code, but it's not too bad:
+
+\startuniqueMPgraphic{simpleslides:MP:horizontal}
+StartPage ;
+pair zf[] ;
+fill Page withcolor \MPcolor{simpleslides:backgroundcolor} ;
+path gr[] ;
+numeric a; a = 2cm ;
+numeric b; b = 0.4cm ;
+numeric c; c = 0.7cm ;
+z.f1 = ulcorner Page shifted (a,-c) ;
+z.f2 = urcorner Page shifted (-a,-c) ;
+z.f3 = z.f2 shifted (0,-b) ;
+z.f4 = z.f1 shifted (0,-b) ;
+gr[1] = z.f1 -- z.f2 ;
+gr[2] = z.f4 -- z.f3 ;
+z.f5 = point .2 along gr[1] ;
+z.f6 = point .2 along gr[2] ;
+z.f7 = point .4 along gr[1] ;
+z.f8 = point .4 along gr[2] ;
+z.f9 = point .6 along gr[1] ;
+z.f10 = point .6 along gr[2] ;
+z.f11 = point .8 along gr[1] ;
+z.f12 = point .8 along gr[2] ;
+gr[3] = z.f1 -- z.f5 -- z.f6 -- z.f4 -- cycle ;
+gr[4] = z.f7 -- z.f5 -- z.f6 -- z.f8 -- cycle ;
+gr[4] := gr[4] enlarged (.02cm,0) ;
+gr[5] = z.f9 -- z.f7 -- z.f8 -- z.f10 -- cycle ;
+gr[5] := gr[5] enlarged (.02cm,0) ;
+gr[6] = z.f11 -- z.f9 -- z.f10 -- z.f12 -- cycle ;
+gr[6] := gr[6] enlarged (.02cm,0) ;
+gr[7] = z.f11 -- z.f2 -- z.f3 -- z.f12 -- cycle ;
+linear_shade(gr[3],0,\MPcolor{simpleslides:rainbowone},\MPcolor{simpleslides:rainbowtwo}) ;
+linear_shade(gr[4],0,\MPcolor{simpleslides:rainbowtwo},\MPcolor{simpleslides:rainbowthree}) ;
+linear_shade(gr[5],0,\MPcolor{simpleslides:rainbowthree},\MPcolor{simpleslides:rainbowfour}) ;
+linear_shade(gr[6],0,\MPcolor{simpleslides:rainbowfour},\MPcolor{simpleslides:rainbowfive}) ;
+linear_shade(gr[7],0,\MPcolor{simpleslides:rainbowfive},\MPcolor{simpleslides:rainbowsix}) ;
+z.f21 = llcorner Page shifted (a,c) ;
+z.f22 = lrcorner Page shifted (-a,c) ;
+z.f23 = z.f22 shifted (0,b) ;
+z.f24 = z.f21 shifted (0,b) ;
+gr[21] = z.f21 -- z.f22 ;
+gr[22] = z.f24 -- z.f23 ;
+z.f25 = point .2 along gr[21] ;
+z.f26 = point .2 along gr[22] ;
+z.f27 = point .4 along gr[21] ;
+z.f28 = point .4 along gr[22] ;
+z.f29 = point .6 along gr[21] ;
+z.f30 = point .6 along gr[22] ;
+z.f31 = point .8 along gr[21] ;
+z.f32 = point .8 along gr[22] ;
+gr[23] = z.f21 -- z.f25 -- z.f26 -- z.f24 -- cycle ;
+gr[24] = z.f27 -- z.f25 -- z.f26 -- z.f28 -- cycle ;
+gr[24] := gr[24] enlarged (.02cm,0) ;
+gr[25] = z.f29 -- z.f27 -- z.f28 -- z.f30 -- cycle ;
+gr[25] := gr[25] enlarged (.02cm,0) ;
+gr[26] = z.f31 -- z.f29 -- z.f30 -- z.f32 -- cycle ;
+gr[26] := gr[26] enlarged (.02cm,0) ;
+gr[27] = z.f31 -- z.f22 -- z.f23 -- z.f32 -- cycle ;
+linear_shade(gr[23],0,\MPcolor{simpleslides:rainbowone},\MPcolor{simpleslides:rainbowtwo}) ;
+linear_shade(gr[24],0,\MPcolor{simpleslides:rainbowtwo},\MPcolor{simpleslides:rainbowthree}) ;
+linear_shade(gr[25],0,\MPcolor{simpleslides:rainbowthree},\MPcolor{simpleslides:rainbowfour}) ;
+linear_shade(gr[26],0,\MPcolor{simpleslides:rainbowfour},\MPcolor{simpleslides:rainbowfive}) ;
+linear_shade(gr[27],0,\MPcolor{simpleslides:rainbowfive},\MPcolor{simpleslides:rainbowsix}) ;
+StopPage ;
+\stopuniqueMPgraphic
+
+\startuseMPgraphic{simpleslides:MP:ornament}
+StartPage
+path p[] ;
+p[1] := unitsquare xyscaled(MakeupWidth,.4cm) shifted (2cm,0.7cm) ;
+numeric i; i = (PageNumber - 1)/(NOfPages - 1) ;
+p[2] = ulcorner p[1] -- urcorner p[1] ;
+p[3] = llcorner p[1] -- lrcorner p[1] ;
+pair o[] ;
+o[1] := point i along p[2] ;
+o[2] := point i along p[3] ;
+p[4] = o[1] -- o[2] ;
+p[4] := p[4] enlarged (0,-1pt) ;
+pickup pensquare scaled 2pt ;
+draw p[4] ;
+StopPage
+\stopuseMPgraphic
+
+%D We define these backgrounds as overlays:
+
+\defineoverlay
+ [simpleslides:background:horizontal]
+ [\useMPgraphic{simpleslides:MP:horizontal}]
+
+\defineoverlay
+ [simpleslides:background:vertical]
+ [\useMPgraphic{simpleslides:MP:horizontal}]
+
+\defineoverlay
+ [simpleslides:background:title]
+ [\useMPgraphic{simpleslides:MP:horizontal}]
+
+\defineoverlay
+ [simpleslides:background:ornament]
+ [\useMPgraphic{simpleslides:MP:ornament}]
+
+%D We set up our SlideTitles:
+
+\setupSlideTitle
+ [\c!after=,
+ \c!alternative=layer,
+ \c!width=\textwidth,
+ \c!align=\v!center,
+ \c!height=1.5cm]
+
+%D The symbol for the first level of itemizations.
+
+\definesymbol[1][\useMPgraphic{simpleslides:itemize:square}]
+\setupitemize[1][inmargin]
+
+\protect
+\stopmodule
+
+\endinput
+
diff --git a/Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-Rounded.tex b/Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-Rounded.tex
new file mode 100644
index 00000000000..10c15be7139
--- /dev/null
+++ b/Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-Rounded.tex
@@ -0,0 +1,224 @@
+%D \module
+%D [ file=simpleslides-s-Rounded,
+%D version=2009.03.30
+%D title=\CONTEXT\ Style File,
+%D subtitle=Presentation Module Rounded,
+%D author=Aditya Mahajan and Thomas A. Schmitz,
+%D date=\currentdate,
+%D copyright={Aditya Mahajan and Thomas A. Schmitz}]
+%C
+%C Copyright 2007 Aditya Mahajan and Thomas A. Schmitz
+%C This file may be distributed under the GNU General Public License v. 2.0.
+
+%D This file provides the \quotation{Rounded} style for the presentation
+%D module. It is loaded at runtime.
+
+\writestatus{simpleslides}{loading style Rounded}
+
+\startmodule[simpleslides-s-Rounded]
+
+\unprotect
+
+%D The page layout:
+
+\setuplayout [width=fit,
+ leftmargin=1.5cm,
+ rightmargin=0cm,
+ leftmargindistance=1.2cm,
+ rightmargindistance=0pt,
+ height=fit,
+ header=5.3cm,
+ footer=0cm,
+ topspace=.4cm,
+ backspace=2.5cm,
+ cutspace=3.2cm,
+ bottomspace=0cm,
+ bottom=0pt,
+ location=singlesided]
+
+\setuplayout [simpleslides:layout:horizontal][header=5.3cm]
+\setuplayout [simpleslides:layout:vertical] [header=2.3cm]
+\setuplayout [simpleslides:layout:title] [header=2.3cm]
+
+%D We also specify the position of the slidetitle.
+
+\setuplayer[simpleslides:layer:slidetitle]
+ [y=23mm]
+
+%D These macros are used for placing figures/pictures:
+
+\define\NormalHeight {\textheight}
+\define\NormalWidth {.476\textwidth}
+\define\PictureFrameHeight {\textheight}
+\define\PictureFrameWidth {.476\textwidth}
+
+%D We define our color scheme:
+
+\definecolor [simpleslides:backgroundcolor] [s=.95]
+\definecolor [simpleslides:contrastcolor] [r=.58,g=.81,b=.58]
+\definecolor [simpleslides:textcolor] [r=.09,g=.2,b=.41]
+\definecolor [simpleslides:variantcolor] [r=.04,g=.4,b=.4]
+\definecolor [simpleslides:itemize:color] [simpleslides:textcolor]
+
+\setupcolors[textcolor=simpleslides:textcolor]
+
+%D We let \METAPOST\ calculate the background:
+
+\startuseMPgraphic{simpleslides:MP:common}
+save a,b,c,d;
+numeric a,b,c,d ;
+
+a = 2cm ; b = 0.7cm ;
+c = 6cm ; d = .7cm ;
+
+save p ; path p[] ;
+
+fill Page withcolor \MPcolor{simpleslides:backgroundcolor} ;
+
+z1 = llcorner Page shifted (a,0) ;
+z2 = ulcorner Page shifted (a,-a-b) ;
+z3 = ulcorner Page shifted (a+b/4,-a-b/4) ;
+z4 = ulcorner Page shifted (a+b,-a) ;
+z5 = urcorner Page shifted (0,-a) ;
+z6 = ulcorner Page shifted (c,0) ;
+z7 = ulcorner Page shifted (c,-a) ;
+
+
+p[1] = llcorner Page -- z1 -- z2 .. z3 .. z4 -- z7 -- z6 --
+ ulcorner Page -- cycle ;
+
+fill p[1] withcolor \MPcolor{simpleslides:contrastcolor} ;
+
+\stopuseMPgraphic
+
+\startuseMPgraphic{simpleslides:MP:vertical}
+StartPage ;
+\includeMPgraphic{simpleslides:MP:common} ;
+% The pagenumber cannot be part of MP:common otherwise pdftex ignores it.
+draw \sometxt{\framed[frame=off,width=2cm,height=2cm]%
+ {\color[simpleslides:backgroundcolor]{\pagenumber}}} ;
+
+StopPage ;
+\stopuseMPgraphic
+
+\startuseMPgraphic{simpleslides:MP:horizontal}
+StartPage;
+
+\includeMPgraphic{simpleslides:MP:common} ;
+draw \sometxt{\framed[frame=off,width=2cm,height=2cm]%
+ {\color[simpleslides:backgroundcolor]{\pagenumber}}} ;
+
+
+z8 = ulcorner Page shifted (a/2,-2.2*a) ;
+z9 = z8 shifted (0,-d) ;
+z10 = urcorner Page shifted (-a,-2.2*a-d) ;
+z11 = z10 shifted (0,d) ;
+z12 = z8 shifted (-d/2,-d/2) ;
+
+p[2] = z8 .. z12 .. z9 -- z10 -- z11 -- cycle ;
+
+fill p[2] withcolor \MPcolor{simpleslides:textcolor} ;
+
+StopPage ;
+\stopuseMPgraphic
+
+\startuniqueMPgraphic{simpleslides:MP:title}
+StartPage ;
+
+save a,b,c,d;
+numeric a,b,c,d;
+
+a = 4cm ; b = 3cm ;
+c = 8cm ; d = .7cm ;
+
+save p; path p[] ;
+p[1] = ulcorner Page -- ulcorner Page shifted (PaperWidth/2,0) --
+ llcorner Page shifted (PaperWidth/2,0) -- llcorner Page -- cycle ;
+
+fill Page withcolor \MPcolor{simpleslides:backgroundcolor} ;
+fill p[1] withcolor \MPcolor{simpleslides:contrastcolor} ;
+
+z1 = ulcorner Page shifted (PaperWidth/2,-b) ;
+z2 = z1 shifted (-c,0) ;
+z3 = z2 shifted (0,-a) ;
+z4 = z3 shifted (c,0) ;
+z5 = z2 shifted (-1.5cm,-a/2) ;
+
+p[2] = z1 -- z2 .. z5 .. z3 -- z4 -- cycle ;
+fill p[2] withcolor \MPcolor{simpleslides:backgroundcolor} ;
+
+z6 = llcorner Page shifted (PaperWidth/2,0) ;
+z7 = 1/2[z6,z4] ;
+z8 = z7 shifted (-.75*b,d/2) ;
+z9 = z8 shifted (0,-d) ;
+z10 = z9 shifted (1.3*c,0) ;
+z11 = z10 shifted (0,d) ;
+z12 = z10 shifted (d/2,d/2) ;
+
+p[3] = z8 -- z9 -- z10 .. z12 .. z11 -- cycle ;
+fill p[3] withcolor \MPcolor{simpleslides:textcolor} ;
+
+StopPage ;
+\stopuniqueMPgraphic
+
+%D We define these backgrounds as overlays:
+
+\defineoverlay
+ [simpleslides:background:horizontal]
+ [\useMPgraphic{simpleslides:MP:horizontal}]
+
+\defineoverlay
+ [simpleslides:background:vertical]
+ [\useMPgraphic{simpleslides:MP:vertical}]
+
+\defineoverlay
+ [simpleslides:background:title]
+ [\useMPgraphic{simpleslides:MP:title}]
+
+\defineoverlay
+ [simpleslides:background:ornament]
+ [\useMPgraphic{simpleslides:MP:ornament}]
+
+
+%D The title page:
+
+\setupTitle
+ [\c!before=\strut{\blank[0.25cm]},
+ \c!author\c!align=\v!right,
+ \c!before\c!author={\blank[3.1cm]\setupnarrower[left=9cm]
+ \startnarrower[left]},
+ \c!after\c!author={\stopnarrower},
+ \c!date\c!align=\v!right,
+ \c!before\c!date={\blank[3.7cm]\setupnarrower[left=9cm]
+ \startnarrower[left]},
+ \c!after\c!date={\stopnarrower},
+ \c!headcolor={simpleslides:textcolor}]
+
+
+%D The slide title is typeset in a layer
+
+\setupSlideTitle
+ [\c!color={simpleslides:variantcolor},
+ \c!alternative=layer,
+ \c!align=\v!center,
+ \c!width=\textwidth,
+ \c!style={\switchtobodyfont[\TitleSize]\bf},
+ \c!height=2cm,
+ \c!after=]
+
+% \definelayer[presauthor]
+% [width=.5\paperwidth,
+% height=.5\paperheight,
+% x=104mm,
+% y=118mm]
+
+%D The symbol for the first level of itemizations.
+
+\definesymbol[1][\useMPgraphic{simpleslides:itemize:square}]
+\setupitemize[1][inmargin][color={simpleslides:itemize:color}]
+
+\protect
+\stopmodule
+
+\endinput
+
diff --git a/Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-Shaded.tex b/Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-Shaded.tex
new file mode 100644
index 00000000000..97844cb5cd3
--- /dev/null
+++ b/Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-Shaded.tex
@@ -0,0 +1,128 @@
+%D \module
+%D [ file=simpleslides-s-Shaded,
+%D version=2009.03.30
+%D title=\CONTEXT\ Style File,
+%D subtitle=Presentation Module --- Shaded style,
+%D author=Aditya Mahajan and Thomas A. Schmitz,
+%D date=\PRESTITdate,
+%D copyright={Aditya Mahajan and Thomas A. Schmitz}]
+%C
+%C Copyright 2007 Aditya Mahajan and Thomas A. Schmitz
+%C This file may be distributed under the GNU General Public License v. 2.0.
+
+%D This file provides the \quotation{Shaded} style for the presentation
+%D module. It is loaded at runtime.
+
+\writestatus{simpleslides}{loading Shaded style}
+
+\startmodule[simpleslides-s-Shaded]
+
+\unprotect
+
+%D The page layout:
+
+\setuplayout [width=fit,
+ margin=1.5cm,
+ leftmargindistance=0pt,
+ rightmargindistance=0pt,
+ height=fit,
+ header=0pt,
+ footer=5pt,
+ topspace=.8cm,
+ backspace=1.5cm,
+ bottomspace=.8cm,
+ bottom=12pt,
+ location=singlesided]
+
+%D These macros are used for placing figures/pictures:
+
+\define\NormalHeight {.88\textheight}
+\define\NormalWidth {.476\textwidth}
+\define\PictureFrameHeight {.88\textheight}
+\define\PictureFrameWidth {.476\textwidth}
+
+%D This module has three color schemes, blue, green and bluered.
+
+
+\startsetups simpleslides:setups:bluered
+\definecolor [simpleslides:textcolor] [white]
+\definecolor [simpleslides:interactioncolor] [b=.2]
+\definecolor [simpleslides:contrastcolor] [b=.8]
+\definecolor [simpleslides:itemize:color] [s=1]
+\definecolor [simpleslides:backgroundcolor] [r=0.5,g=0,b=0]
+\definecolor [simpleslides:variantcolor] [r=0,g=0,b=0.5]
+\stopsetups
+
+\startsetups simpleslides:setups:blue
+\definecolor [simpleslides:textcolor] [white]
+\definecolor [simpleslides:interactioncolor] [b=.2]
+\definecolor [simpleslides:contrastcolor] [r=.72,g=.77,b=.94]
+\definecolor [simpleslides:itemize:color] [s=1]
+\definecolor [simpleslides:backgroundcolor] [r=0,g=0,b=1]
+\definecolor [simpleslides:variantcolor] [r=0,g=0,b=0.05]
+\stopsetups
+
+\startsetups simpleslides:setups:green
+\definecolor [simpleslides:textcolor] [white]
+\definecolor [simpleslides:interactioncolor] [s=.2]
+\definecolor [simpleslides:contrastcolor] [s=.5]
+\definecolor [simpleslides:itemize:color] [s=1]
+\definecolor [simpleslides:backgroundcolor] [r=0,g=.8,b=0]
+\definecolor [simpleslides:variantcolor] [r=0,g=0.05,b=0]
+\stopsetups
+
+%D Now we choose the scheme that the user asked for
+
+\setups{simpleslides:setups:blue}
+\setups{simpleslides:setups:\moduleparameter{simpleslides}{color}}
+
+\setupcolors[textcolor={simpleslides:textcolor}]
+
+
+%D This module shades the background in a gradient. We use \METAPOST\ to draw
+%D the background.
+
+\startuniqueMPgraphic{simpleslides:MP:ornament}
+save p;
+path p ;
+p := unitsquare xscaled \overlaywidth yscaled \overlayheight ;
+linear_shade(p,6,
+ \MPcolor{simpleslides:backgroundcolor},
+ \MPcolor{simpleslides:variantcolor}) ;
+\stopuniqueMPgraphic
+
+%D We define these backgrounds as overlays:
+
+\defineoverlay
+ [simpleslides:background:ornament]
+ [\useMPgraphic{simpleslides:MP:ornament}]
+
+\defineoverlay
+ [simpleslides:background:title]
+ [\useMPgraphic{simpleslides:MP:ornament}]
+
+%D The symbol for the first level of itemizations.
+
+\definesymbol[1][\useMPgraphic{simpleslides:itemize:square}]
+\setupitemize[1][color={simpleslides:itemize:color}]
+
+%D The \quotation{Shaded} style uses \CONTEXT's interactionbar:
+
+\setupsubpagenumber[way=bytext,state=start]
+
+\setupinteraction
+ [page=yes,
+ color=simpleslides:interactioncolor,
+ contrastcolor=simpleslides:contrastcolor,
+ menu=on,
+ state=start]
+
+\startinteractionmenu[bottom]
+{\interactionbar[alternative=f,width=\makeupwidth,height=1ex]}
+\stopinteractionmenu
+
+\protect
+\stopmodule
+
+\endinput
+
diff --git a/Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-SideSquares.tex b/Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-SideSquares.tex
new file mode 100755
index 00000000000..8ecce564439
--- /dev/null
+++ b/Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-SideSquares.tex
@@ -0,0 +1,157 @@
+%D \module
+%D [ file=simpleslides-s-SideSquares,
+%D version=2009.03.30
+%D title=\CONTEXT\ Style File,
+%D subtitle=Presentation Module SideSquares,
+%D author=Aditya Mahajan and Thomas A. Schmitz,
+%D date=\PRESTITdate,
+%D copyright={Aditya Mahajan and Thomas A. Schmitz}]
+%C
+%C Copyright 2007 Aditya Mahajan and Thomas A. Schmitz
+%C This file may be distributed under the GNU General Public License v. 2.0.
+
+%D This file provides the \quotation{SideSquares} style for the presentation
+%D module. It is loaded at runtime.
+
+\writestatus{simpleslides}{loading SideSquares style}
+
+\startmodule[simpleslides-s-SideSquares]
+
+\unprotect
+
+%D First, we define the page layout.
+
+\setuplayout [width=fit,
+ height=middle,
+ margin=1.5cm,
+ height=fit,
+ leftmargindistance=.4cm,
+ rightmargindistance=0cm,
+ header=1.5cm,
+ footer=0cm,
+ topspace=1cm,
+ backspace=2.5cm,
+ cutspace=1.5cm,
+ location=singlesided]
+
+\setuplayout [simpleslides:layout:horizontal][header=15mm]
+\setuplayout [simpleslides:layout:vertical] [header=0mm]
+\setuplayout [simpleslides:layout:title] [header=0mm]
+
+%D These macros are used for placing figures/pictures:
+
+\define\NormalHeight {\textheight}
+\define\NormalWidth {.5\textwidth}
+\define\PictureFrameHeight {\textheight}
+\define\PictureFrameWidth {.5\textwidth}
+
+\setuplayer
+ [simpleslides:layer:slidetitle]
+ [x=25mm,
+ y=2mm]
+
+%D We define our color scheme:
+
+\definecolor[simpleslides:contrastcolor] [r=0,g=0,b=.92]
+\definecolor[simpleslides:altcontrastcolor] [r=0,g=0,b=.4]
+\definecolor[simpleslides:backgroundcolor] [s=.98]
+\definecolor[simpleslides:itemize:color] [r=0,g=0,b=.92]
+
+%D We let Metapost calculate the background:
+
+\startuseMPgraphic{simpleslides:MP:horizontal}
+StartPage ;
+fill Page withcolor \MPcolor{simpleslides:backgroundcolor} ;
+z1 = ulcorner Page ;
+z5 = llcorner Page ;
+path q ;
+q = z1 -- z5 ;
+t := arclength (q) ;
+u := t/15 ;
+v := (PageNumber/NOfPages) ;
+z4 = (x1+1cm, y1-1cm) ;
+z3 = (x4, y1) ;
+z2 = (x1, y4) ;
+path m[] ;
+m[1] = z1 -- z2 -- z4 -- z3 -- cycle ;
+m[2] = m[1] shifted (0, -2*u) ;
+m[3] = m[1] shifted (0, -4*u) ;
+m[4] = m[1] shifted (0, -6*u) ;
+m[5] = m[1] shifted (0, -8*u) ;
+m[6] = m[1] shifted (0, -10*u) ;
+m[7] = m[1] shifted (0, -12*u) ;
+m[8] = m[1] shifted (0, (-14*u-0.5mm)) ;
+for i=1 upto 8:
+ fill m[i] withcolor\MPcolor{simpleslides:contrastcolor} ;
+endfor;
+if PageNumber=1:
+ fill m[1] withcolor \MPcolor{simpleslides:altcontrastcolor} ;
+elseif (v>.001) and (v<.167) :
+ fill m[2] withcolor \MPcolor{simpleslides:altcontrastcolor} ;
+elseif (v>.166) and (v<.334):
+ fill m[3] withcolor \MPcolor{simpleslides:altcontrastcolor} ;
+elseif (v>.333) and (v<.501):
+ fill m[4] withcolor \MPcolor{simpleslides:altcontrastcolor} ;
+elseif (v>.5) and (v<.667):
+ fill m[5] withcolor \MPcolor{simpleslides:altcontrastcolor} ;
+elseif (v>.666) and (v<.834):
+ fill m[6] withcolor \MPcolor{simpleslides:altcontrastcolor} ;
+elseif (v>.833) and (v<1):
+ fill m[7] withcolor \MPcolor{simpleslides:altcontrastcolor} ;
+elseif v=1:
+ fill m[8] withcolor \MPcolor{simpleslides:altcontrastcolor} ;
+fi ;
+StopPage ;
+\stopuseMPgraphic
+
+%D We define these backgrounds as overlays:
+
+\defineoverlay
+ [simpleslides:background:horizontal]
+ [\useMPgraphic{simpleslides:MP:horizontal}]
+
+\defineoverlay
+ [simpleslides:background:vertical]
+ [\useMPgraphic{simpleslides:MP:horizontal}]
+
+\defineoverlay
+ [simpleslides:background:title]
+ [\useMPgraphic{simpleslides:MP:horizontal}]
+
+\defineoverlay
+ [simpleslides:background:ornament]
+ [\useMPgraphic{simpleslides:MP:horizontal}]
+
+%D We want the title to placed in color.
+
+\setupTitle[\c!headcolor={simpleslides:contrastcolor}]
+
+%D This sets up the SlideTitle:
+
+\setupSlideTitle
+ [\c!after=,
+ \c!alternative=layer,
+ \c!width=\textwidth,
+ \c!align=\v!center,
+ \c!height=2.5cm,
+ \c!color=simpleslides:contrastcolor]
+
+%D We set up the titlepage:
+
+\setupTitle
+ [\c!title\c!color={simpleslides:contrastcolor},
+ \c!author\c!color={simpleslides:contrastcolor},
+ \c!date\c!color={simpleslides:contrastcolor}]
+
+\setupcombinations[distance=0cm]
+
+%D The symbol for the first level of itemizations.
+
+\definesymbol[1][$\square$]
+\setupitemize[1][inmargin][color=simpleslides:itemize:color]
+
+\protect
+\stopmodule
+
+\endinput
+
diff --git a/Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-Split.tex b/Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-Split.tex
new file mode 100644
index 00000000000..c1fbe136d48
--- /dev/null
+++ b/Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-Split.tex
@@ -0,0 +1,195 @@
+%D \module
+%D [ file=simpleslides-s-Split,
+%D version=2009.03.30
+%D title=\CONTEXT\ Style File,
+%D subtitle=Presentation Module --- Split style,
+%D author=Aditya Mahajan and Thomas A. Schmitz,
+%D date=\PRESTITdate,
+%D copyright={Aditya Mahajan and Thomas A. Schmitz}]
+%C
+%C Copyright 2007 Aditya Mahajan and Thomas A. Schmitz
+%C This file may be distributed under the GNU General Public License v. 2.0.
+
+%D This file provides the \quotation{Split} style for the presentation
+%D module. It is loaded at runtime. The look of this style was inspired by the
+%D \quotation{Copenhagen} theme of the \LaTeX\ \filename{beamer} package.
+
+\writestatus{simpleslides}{loading Black Blue style}
+
+\startmodule[simpleslides-s-Split]
+
+\unprotect
+
+%AM: NOTE: The black and blue colors can be made configurable.
+
+%D First, we change the page layout to have more space on the top and the
+%D bottom.
+
+\setuplayout [width=fit,
+ margin=0cm,
+ height=fit,
+ header=3.2cm,
+ footer=.5cm,
+ topspace=.6cm,
+ backspace=1cm,
+ location=singlesided]
+
+\setuplayout [simpleslides:layout:horizontal][header=3.2cm]
+\setuplayout [simpleslides:layout:vertical] [header=0.5cm]
+\setuplayout [simpleslides:layout:title] [header=0.5cm]
+
+%D We also specify the position of the slidetitle.
+
+\setuplayer[simpleslides:layer:slidetitle]
+ [x=10mm,y=12mm]
+
+%D These macros are used for placing figures/pictures:
+
+\define\NormalHeight {\textheight}
+\define\NormalWidth {.476\textwidth}
+\define\PictureFrameHeight {\textheight}
+\define\PictureFrameWidth {.476\textwidth}
+
+
+%D Next we define a few generic frames, which will be used by other macros to
+%D get a consistent look and feel.
+
+\setupframed[simpleslides:framed]
+ [corner=round,
+ background=color,backgroundcolor={simpleslides:contrastcolor}]
+
+\defineframed[simpleslides:framed:small]
+ [frame=off,offset=0pt,strut=no,
+ width=0.5\textwidth,height=0.5cm,
+ top=\vss,bottom=\vss]
+
+%D We define our color scheme:
+
+\definecolor [simpleslides:backgroundcolor] [s=.9]
+\definecolor [simpleslides:contrastcolor] [r=.2, g=.2, b=.72]
+\definecolor [simpleslides:variantcolor] [s=0]
+\definecolor [simpleslides:itemize:color] [simpleslides:contrastcolor]
+
+%D We use \METAPOST\ to draw backgrounds. First, we define a few helper macros
+%D to place text inside \METAPOST
+
+\definetextext[simpleslides:sometxt:left] {\SimpleSlidesSometxtLeft}
+\definetextext[simpleslides:sometxt:right]{\SimpleSlidesSometxtRight}
+
+\unexpanded\def\SimpleSlidesSometxtLeft#1%
+ {\getvalue{simpleslides:framed:small}[align=left]
+ {\switchtobodyfont[9pt]\color[simpleslides:backgroundcolor]
+ {#1\quad\strut}}}
+
+\unexpanded\def\SimpleSlidesSometxtRight#1%
+ {\getvalue{simpleslides:framed:small}[align=right]
+ {\switchtobodyfont[9pt]\color[simpleslides:backgroundcolor]
+ {\strut\quad#1}}}
+
+%D Now we use \METAPOST\ to draw a page ornament, which will then be inherited
+%D by different backgrounds.
+
+\startuseMPgraphic{simpleslides:MP:ornament}
+StartPage ;
+save p, Main, a ;
+path p[] ; path Main ;
+
+numeric a; a=.5cm ;
+
+fill Page withcolor \MPcolor{simpleslides:backgroundcolor} ;
+
+z1 = ulcorner Page shifted (0,-a) ;
+z2 = urcorner Page shifted (0,-a) ;
+z3 = llcorner Page shifted (0,a) ;
+z4 = lrcorner Page shifted (0,a) ;
+z5 = 1/2[ulcorner Page,urcorner Page] ;
+z6 = 1/2[z1,z2] ;
+z7 = 1/2[llcorner Page,lrcorner Page] ;
+z8 = 1/2[z3,z4] ;
+
+p[1] = ulcorner Page -- urcorner Page -- z2 -- z1 -- cycle ;
+p[2] = ulcorner Page -- z5 -- z6 -- z1 -- cycle ;
+p[3] = llcorner Page -- lrcorner Page -- z4 -- z3 -- cycle ;
+p[4] = llcorner Page -- z7 -- z8 -- z3 -- cycle ;
+
+fill p[1] withcolor \MPcolor{simpleslides:contrastcolor} ;
+fill p[2] withcolor \MPcolor{simpleslides:variantcolor} ;
+fill p[3] withcolor \MPcolor{simpleslides:variantcolor} ;
+fill p[4] withcolor \MPcolor{simpleslides:contrastcolor} ;
+
+draw \sometxt[simpleslides:sometxt:left]{\noexpand\moduleparameter{simpleslides:title}{date}}
+ shifted (1cm,y1) ;
+
+draw \sometxt[simpleslides:sometxt:right]{\folio\ of \lastpage}
+ shifted (x5,y1) ;
+
+draw \sometxt[simpleslides:sometxt:left]{\noexpand\moduleparameter{simpleslides:title}{author}}
+ shifted (1cm,0) ;
+
+draw \sometxt[simpleslides:sometxt:right]{\noexpand\moduleparameter{simpleslides:title}{title}}
+ shifted (x5,0) ;
+
+StopPage ;
+\stopuseMPgraphic
+
+%D We use this ornament in different backgrounds.
+
+\defineoverlay
+ [simpleslides:background:ornament]
+ [\useMPgraphic{simpleslides:MP:ornament}]
+
+\defineoverlay
+ [simpleslides:background:title]
+ [\useMPgraphic{simpleslides:MP:ornament}]
+
+%D We want the title to placed in a framed box. We redefine all the keys of
+%D \type{\setupTitle}, so that the module is easier to maintain.
+
+\setupTitle
+ [\c!title=,
+ \c!author=,
+ \c!date=\currentdate,
+ \c!headstyle=,
+ \c!headcolor={simpleslides:backgroundcolor},
+ \c!align=\v!middle,
+ \c!before={\vfill\getvalue{simpleslides:framed}
+ [\c!width=\textwidth,\c!height=.75\textheight,
+ \c!align=\v!middle, \c!strut=\v!no]
+ \bgroup},
+ \c!after={\egroup\vfill},
+ \c!title\c!style={\switchtobodyfont[\TitleSize]},
+ \c!title\c!color=,
+ \c!title\c!align=,%\v!middle,
+ \c!author\c!style=,
+ \c!author\c!color=,
+ \c!author\c!align=,%\v!middle,
+ \c!date\c!style=,
+ \c!date\c!color=,
+ \c!date\c!align=,%\v!middle,
+ \c!before\c!title=,
+ \c!before\c!author=,
+ \c!before\c!date=,
+ \c!after\c!title={\blank[1*line]},
+ \c!after\c!author={\blank[2*line]},
+ \c!after\c!date=]
+
+%D We also want the slide title in a framed box.
+
+\setupSlideTitle
+ [\c!after=,
+ \c!alternative=layer,
+ \c!height=2.1cm,
+ \c!width=\textwidth,
+ \c!color=simpleslides:backgroundcolor]
+
+
+%D The symbol for the first level of itemizations.
+
+\definesymbol[1][\useMPgraphic{simpleslides:itemize:square}]
+\setupitemize[1][\c!color={simpleslides:itemize:color}]
+
+\protect
+\stopmodule
+
+\endinput
+
diff --git a/Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-Sunrise.tex b/Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-Sunrise.tex
new file mode 100644
index 00000000000..756b981aec5
--- /dev/null
+++ b/Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-Sunrise.tex
@@ -0,0 +1,206 @@
+%D \module
+%D [ file=simpleslides-s-Sunrise,
+%D version=2009.03.30
+%D title=\CONTEXT\ Style File,
+%D subtitle=Presentation Module Sunrise
+%D author=Aditya Mahajan and Thomas A. Schmitz,
+%D date=\currentdate,
+%D copyright={Aditya Mahajan and Thomas A. Schmitz}]
+%C
+%C Copyright 2007 Aditya Mahajan and Thomas A. Schmitz
+%C This file may be distributed under the GNU General Public License v. 2.0.
+
+%D This file provides the \quotation{Sunrise} style for the presentation
+%D module. It is loaded at runtime. The look of this style was inspired by the
+%D \quotation{husky} theme of the \LaTeX\ {\tt powerdot} package, created by
+%D Jack Stalnaker.
+
+\writestatus{simpleslides}{loading Sunrise style}
+
+\startmodule[simpleslides-s-Sunrise]
+
+\unprotect
+
+%D The page layout:
+
+\setuplayout [width=fit,
+ margin=0cm,
+ height=fit,
+ header=2.75cm,
+ footer=1.5cm,
+ footerdistance=0.4cm,
+ topspace=0cm,
+ backspace=1cm,
+ location=singlesided]
+
+\setuplayout [simpleslides:layout:horizontal][header=2.75cm]
+\setuplayout [simpleslides:layout:vertical] [header=0.4cm]
+\setuplayout [simpleslides:layout:title] [header=2.75cm]
+
+\setuplayer
+ [simpleslides:layer:slidetitle]
+ [x=10mm]
+
+%D These macros are used for placing figures/pictures:
+
+\define\NormalHeight {\textheight}
+\define\NormalWidth {.476\textwidth}
+\define\PictureFrameHeight {\textheight}
+\define\PictureFrameWidth {.476\textwidth}
+
+%D We define our color scheme:
+
+\definecolor [simpleslides:variantcolor] [s=.97]
+\definecolor [simpleslides:backgroundcolor] [s=.88]
+\definecolor [simpleslides:contrastcolor] [r=.75]
+\definecolor [simpleslides:itemize:color] [simpleslides:contrastcolor]
+
+%D We let \METAPOST\ calculate the background:
+
+%D Both horizontal and vertical group share this part of the background.
+
+\startuseMPgraphic{simpleslides:MP:common}
+save a, b ;
+numeric a; a=2.1cm ;
+numeric b; b=1.5cm ;
+
+fill Page withcolor \MPcolor{simpleslides:variantcolor} ;
+
+z1 = llcorner Page shifted (0,2*a) ;
+z2 = z1 shifted (0,2*a) ;
+z3 = lrcorner Page shifted (0,b) ;
+z4 = z3 shifted (0,b) ;
+z5 = z2 shifted (0,b) ;
+z6 = ulcorner Page shifted (.1cm,0) ;
+z7 = z4 shifted (0,b/2) ;
+z8 = z7 shifted (0,b) ;
+z9 = ulcorner Page shifted (.1cm+a,0) ;
+z10 = z9 shifted (3*a,0) ;
+z11 = z8 shifted (0,b/2) ;
+z12 = z11 shifted (0,b) ;
+z13 = z10 shifted (a,0) ;
+z14 = z13 shifted (3*a,0) ;
+z15 = z12 shifted (0,b/2) ;
+z16 = z15 shifted (0,b) ;
+z17 = llcorner Page shifted (0,b) ;
+
+save p ;
+path p[] ;
+p[1] = z1 -- z2 -- z4 -- z3 -- cycle ;
+p[2] = z5 -- ulcorner Page -- z6 -- z8 -- z7 -- cycle ;
+p[3] = z9 -- z10 -- z12 -- z11 -- cycle ;
+p[4] = z13 -- z14 -- z16 -- z15 -- cycle ;
+p[5] = llcorner Page -- z17 -- z3 -- lrcorner Page -- cycle ;
+
+fill p[1] withcolor \MPcolor{simpleslides:backgroundcolor} ;
+fill p[2] withcolor \MPcolor{simpleslides:backgroundcolor} ;
+fill p[3] withcolor \MPcolor{simpleslides:backgroundcolor} ;
+fill p[4] withcolor \MPcolor{simpleslides:backgroundcolor} ;
+fill p[5] withcolor \MPcolor{simpleslides:contrastcolor} ;
+\stopuseMPgraphic
+
+\startuniqueMPgraphic{simpleslides:MP:vertical}
+StartPage ;
+\includeMPgraphic{simpleslides:MP:common} ;
+StopPage ;
+\stopuniqueMPgraphic
+
+\startuniqueMPgraphic{simpleslides:MP:horizontal}
+StartPage ;
+\includeMPgraphic{simpleslides:MP:common} ;
+z18 = ulcorner Page shifted (0,-1.5*b) ;
+z19 = z18 shifted (0,-1pt) ;
+z20 = urcorner Page shifted (0,-1.5*b) ;
+z21 = z20 shifted (0,-1pt) ;
+
+p[6] = z18 -- z19 -- z21 -- z20 -- cycle ;
+
+linear_shade(p[6],0,
+ \MPcolor{simpleslides:contrastcolor},
+ \MPcolor{simpleslides:variantcolor}) ;
+
+p[7] = p[6] shifted (0,-3pt) ;
+
+linear_shade(p[7],0,
+ \MPcolor{simpleslides:contrastcolor},
+ \MPcolor{simpleslides:variantcolor}) ;
+
+StopPage ;
+\stopuniqueMPgraphic
+
+%D We define these backgrounds as overlays:
+
+\defineoverlay
+ [simpleslides:background:title]
+ [\useMPgraphic{simpleslides:MP:horizontal}]
+
+\defineoverlay
+ [simpleslides:background:horizontal]
+ [\useMPgraphic{simpleslides:MP:horizontal}]
+
+\defineoverlay
+ [simpleslides:background:vertical]
+ [\useMPgraphic{simpleslides:MP:vertical}]
+
+%D We define the footer
+
+\setupfooter[\c!color=simpleslides:variantcolor,
+ \c!style={\switchtobodyfont[10pt]},
+ \c!strut=\v!yes]
+
+\setupfootertexts[{\framed[\c!frame=\v!off,
+ \c!height=1cm,
+ \c!width=\textwidth]
+ {\simpleslidestitleparameter{title}
+ \hfill \pagenumber\ of \lastpage}}]
+
+%D We want the title to placed in a framed box. We redefine all the keys of
+%D \type{\setupTitle}, so that the module is easier to maintain.
+
+\setupTitle
+ [\c!title=,
+ \c!author=,
+ \c!date=\currentdate,
+ \c!headstyle=,
+ \c!headcolor=simpleslides:contrastcolor,
+ \c!align=\v!middle,
+ \c!before={\vfill\getvalue{simpleslides:framed}
+ [\c!width=\textwidth,\c!height=.75\textheight,
+ \c!align=\v!middle, \c!strut=\v!no]
+ \bgroup},
+ \c!after={\egroup\vfill},
+ \c!title\c!style={\switchtobodyfont[\TitleSize]},
+ \c!title\c!color=,
+ \c!title\c!align=,%\v!middle,
+ \c!author\c!style=,
+ \c!author\c!color=,
+ \c!author\c!align=,%\v!middle,
+ \c!date\c!style=,
+ \c!date\c!color=,
+ \c!date\c!align=,%\v!middle,
+ \c!before\c!title=,
+ \c!before\c!author=,
+ \c!before\c!date=,
+ \c!after\c!title={\blank[1*line]},
+ \c!after\c!author={\blank[2*line]},
+ \c!after\c!date=]
+
+\setupSlideTitle
+ [\c!after=,
+ \c!alternative=layer,
+ \c!width=\textwidth,
+ \c!height=2.25cm,
+ \c!color={simpleslides:contrastcolor}]
+
+
+%D The symbol for the first level of itemizations.
+
+
+\definesymbol[1][\useMPgraphic{simpleslides:itemize:square}]
+\setupitemize[1][color={simpleslides:itemize:color}]
+
+\protect
+\stopmodule
+
+\endinput
+
diff --git a/Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-Swoosh.tex b/Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-Swoosh.tex
new file mode 100644
index 00000000000..da62bf6dc4e
--- /dev/null
+++ b/Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-Swoosh.tex
@@ -0,0 +1,235 @@
+%D \module
+%D [ file=simpleslides-s-Swoosh,
+%D version=2009.03.30
+%D title=\CONTEXT\ Style File,
+%D subtitle=Presentation Module -- Swoosh Style,
+%D author=Aditya Mahajan and Thomas A. Schmitz,
+%D date=\currentdate,
+%D copyright={Aditya Mahajan and Thomas A. Schmitz}]
+%C
+%C Copyright 2009 Aditya Mahajan and Thomas A. Schmitz
+%C This file may be distributed under the GNU General Public License v. 2.0.
+
+%D This file provides the \quotation{Swoosh} style for the presentation
+%D module. It is loaded at runtime.
+
+\writestatus{simpleslides}{loading Swoosh style}
+
+\startmodule[simpleslides-s-Swoosh]
+
+\unprotect
+
+%D First we change the page layout, adding more space on the top.
+
+\setuplayout [width=fit,
+ margin=0cm,
+ height=fit,
+ header=3cm,
+ footer=0.8cm,
+ topspace=.6cm,
+ backspace=1cm,
+ location=singlesided]
+
+\setuplayout [simpleslides:layout:horizontal][header=3cm]
+\setuplayout [simpleslides:layout:vertical] [header=0.8cm]
+\setuplayout [simpleslides:layout:title] [header=0.8cm]
+
+%D We also specify the position of the slidetitle.
+
+\setuplayer[simpleslides:layer:slidetitle]
+ [x=10mm,y=2mm]
+
+\setupcombinations[distance=1.85cm]
+
+%D These macros are used for placing figures/pictures:
+
+\define\NormalHeight {\textheight}
+\define\NormalWidth {.45\textwidth}
+\define\PictureFrameHeight {\textheight}
+\define\PictureFrameWidth {.45\textwidth}
+
+\defineframed[simpleslides:framed]
+ [frame=off,offset=0pt,
+ top=\vss,bottom=\vss]
+
+%D We define our color scheme:
+
+\definecolor [simpleslides:backgroundcolor] [r=.88,g=.92,b=.95]
+\definecolor [simpleslides:contrastcolor] [r=.4,g=.6,b=.8]
+\definecolor [simpleslides:altcontrastcolor] [r=.1,g=.1,b=.4]
+\definecolor [simpleslides:itemize:color] [simpleslides:contrastcolor]
+\definecolor [simpleslides:textcolor] [simpleslides:altcontrastcolor]
+
+\setupcolors[textcolor=simpleslides:textcolor]
+
+%D We use \METAPOST\ to draw backgrounds.
+
+\startuniqueMPgraphic{simpleslides:MP:horizontal}
+StartPage ;
+save a, b;
+numeric a ; a = 2.5cm ;
+numeric b ; b = 0.7cm ;
+fill Page withcolor \MPcolor{simpleslides:backgroundcolor} ;
+
+z1 = ulcorner Page ;
+z2 = urcorner Page ;
+z3 = (x1,y1-0.7*a) ;
+z4 = (x1+5cm,y1-a-b) ;
+z5 = (x1+12cm,y1-a) ;
+z6 = (x1+14cm,y1-a+0.3cm) ;
+z7 = (x2,y2-a-b) ;
+
+save p ;
+path p ;
+p = z1--z3..z4..z5..z6..z7--z2--cycle ;
+fill p withcolor \MPcolor{simpleslides:contrastcolor} ;
+pickup pencircle scaled 4pt ;
+draw z3..z4..z5..z6..z7 withcolor white ;
+StopPage ;
+\stopuniqueMPgraphic
+
+\startuniqueMPgraphic{simpleslides:MP:vertical}
+StartPage ;
+
+save a,b;
+numeric a ; a = 2cm ;
+numeric b ; b = 1cm ;
+pair t[] ;
+
+fill Page withcolor \MPcolor{simpleslides:backgroundcolor} ;
+z1 = ulcorner Page ;
+z2 = llcorner Page ;
+z3 = center Page ;
+z4 = (x3,y1) ;
+z5 = (x3+b,y1-4cm) ;
+z6 = (x3+b/2,y1-7cm) ;
+z7 = (x3-b/2,y2+2cm) ;
+z8 = (x3,y2) ;
+
+save p;
+path p[] ;
+p[1] = z1--z4..z5..z6..z7..z8--z2--cycle ;
+fill p[1] withcolor \MPcolor{simpleslides:contrastcolor} ;
+pickup pencircle scaled 4pt ;
+draw z4..z5..z6..z7..z8 withcolor white ;
+StopPage ;
+\stopuniqueMPgraphic
+
+\startuseMPgraphic{simpleslides:MP:ornament}
+save b, s, t, p, circcenter, theta, pic ;
+StartPage ;
+path p[] ;
+pair t[] ;
+pair s[] ;
+pair circcenter ; circcenter = lrcorner Page shifted (-1cm, 1cm) ;
+picture pic ;
+b = 1.5cm ;
+if \realfolio > 1:
+ theta = (PageNumber - 1)/(NOfPages - 1) ;
+ p[4] = fullcircle scaled b rotated 90 ;
+ fill p[4] withcolor \MPcolor{simpleslides:altcontrastcolor} ;
+ t[0] = center p[4] ;
+ t[1] = point 1 along p[4] ;
+ t[2] = point -theta along p[4] ;
+ t[3] = point -theta/2 along p[4] ;
+ p[5] = t[0] -- t[1] .. t[3] .. t[2] -- cycle ;
+ fill p[5] withcolor \MPcolor{simpleslides:contrastcolor} ;
+ for i = 1 upto NOfPages :
+ s[i] = point i/(NOfPages -1) along p[4] ;
+ pickup pencircle scaled 1pt ;
+ draw s[i] -- t[0] withcolor \MPcolor{simpleslides:backgroundcolor} ;
+ endfor ;
+ p[3] = p[4] scaled 0.4 ;
+ fill p[3] withcolor \MPcolor{simpleslides:contrastcolor} ;
+ draw p[3] withcolor \MPcolor{simpleslides:backgroundcolor} ;
+ label(textext("\switchtobodyfont[10pt]\color[simpleslides:backgroundcolor]\pagenumber"),origin) ;
+ currentpicture := currentpicture shifted circcenter ;
+fi ;
+StopPage ;
+\stopuseMPgraphic
+
+%D We define these backgrounds as overlays:
+
+\defineoverlay
+ [simpleslides:background:title]
+ [\useMPgraphic{simpleslides:MP:horizontal}]
+
+\defineoverlay
+ [simpleslides:background:horizontal]
+ [\useMPgraphic{simpleslides:MP:horizontal}]
+
+\defineoverlay
+ [simpleslides:background:vertical]
+ [\useMPgraphic{simpleslides:MP:vertical}]
+
+\defineoverlay
+ [simpleslides:background:ornament]
+ [\useMPgraphic{simpleslides:MP:ornament}]
+
+\setupTitle
+ [\c!headcolor={simpleslides:altcontrastcolor}]
+
+%D We want the title to placed in a framed box. We redefine all the keys of
+%D \type{\setupTitle}, so that the module is easier to maintain.
+
+\setupSlideTitle
+ [\c!alternative=layer,
+ \c!color=simpleslides:backgroundcolor,
+ \c!align=\v!center,
+ \c!width=\textwidth,
+ \c!height=2cm,
+ \c!after=]
+
+
+% \setupTitle
+% [\c!title=,
+% \c!author=,
+% \c!date=\currentdate,
+% \c!headstyle=,
+% \c!headcolor=,
+% \c!align=\v!middle,
+% \c!before={\vfill\getvalue{simpleslides:framed}
+% [\c!width=\textwidth,\c!height=.75\textheight,
+% \c!align=\v!middle, \c!strut=\v!no]
+% \bgroup},
+% \c!after={\egroup\vfill},
+% \c!title\c!style={\switchtobodyfont[\TitleSize]},
+% \c!title\c!color=,
+% \c!title\c!align=,%\v!middle,
+% \c!author\c!style=,
+% \c!author\c!color=,
+% \c!author\c!align=,%\v!middle,
+% \c!date\c!style=,
+% \c!date\c!color=,
+% \c!date\c!align=,%\v!middle,
+% \c!before\c!title=,
+% \c!before\c!author=,
+% \c!before\c!date=,
+% \c!after\c!title={\blank[1*line]},
+% \c!after\c!author={\blank[2*line]},
+% \c!after\c!date=]
+%
+% %D We want the title to be of a specific height
+%
+% \setuphead[SlideTitle]
+% [\c!after=,
+% \c!alternative=\v!text,
+% \c!color=white,
+% \c!command=\doSlideTitle]
+%
+% \define[2]\doSlideTitle
+% {\setlayer[simpleslides:layer:slidetitle]%
+% {\getvalue{simpleslides:framed}[\c!width=\textwidth,\c!height=1.1cm,
+% \c!align=\v!right]
+% {#1#2}}}
+
+%D The symbol for the first level of itemizations.
+
+\definesymbol[1][\useMPgraphic{simpleslides:itemize:square}]
+\setupitemize[1][color=simpleslides:itemize:color]
+
+\protect
+\stopmodule
+
+\endinput
+
diff --git a/Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-ThickStripes.tex b/Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-ThickStripes.tex
new file mode 100644
index 00000000000..b7deead545b
--- /dev/null
+++ b/Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-ThickStripes.tex
@@ -0,0 +1,146 @@
+%D \module
+%D [ file=simpleslides-s-ThickStripes,
+%D version=2009.03.30
+%D title=\CONTEXT\ Style File,
+%D subtitle=Presentation Module --- Thick Stripes style,
+%D author=Aditya Mahajan and Thomas A. Schmitz,
+%D date=\PRESTITdate,
+%D copyright={Aditya Mahajan and Thomas A. Schmitz}]
+%C
+%C Copyright 2007 Aditya Mahajan and Thomas A. Schmitz
+%C This file may be distributed under the GNU General Public License v. 2.0.
+
+%D This file provides the \quotation{ThickStripes} style for the presentation
+%D module. It is loaded at runtime. The theme for this style is inspired by the
+%D \quotation{Berkeley} theme of the \LaTeX\ Beamer package.
+
+\writestatus{simpleslides}{loading Thick Stripes style}
+
+\startmodule[simpleslides-s-ThickStripes]
+
+\unprotect
+
+%D First, we change the page layout to have more space on the top and the
+%D left.
+
+\setuplayout [width=fit,
+ leftmargin=1.5cm,
+ rightmargin=0cm,
+ leftmargindistance=.9cm,
+ rightmargindistance=0pt,
+ height=fit,
+ header=2.5cm,
+ footer=0cm,
+ topspace=.4cm,
+ backspace=2.9cm,
+ cutspace=2.8cm,
+ bottomspace=0cm,
+ bottom=0pt,
+ location=singlesided]
+
+%D These macros are used for placing figures/pictures:
+
+\define\NormalHeight {\textheight}
+\define\NormalWidth {.476\textwidth}
+\define\PictureFrameHeight {\textheight}
+\define\PictureFrameWidth {.476\textwidth}
+
+\setuplayer
+ [simpleslides:layer:slidetitle]
+ [x=29mm]
+
+%D We define our color scheme
+
+\definecolor [simpleslides:backgroundcolor] [s=.9]
+\definecolor [simpleslides:variantcolor] [r=.15,g=.15,b=.525]
+\definecolor [simpleslides:contrastcolor] [r=.2,g=.2,b=.7]
+\definecolor [simpleslides:altcontrastcolor] [s=.4]
+\definecolor [simpleslides:itemize:color] [simpleslides:backgroundcolor]
+
+
+%D We use \METAPOST to draw the background. The background consists of two
+%D stripes and a "clock" at the bottom.
+
+\startuseMPgraphic{simpleslides:MP:title}
+StartPage ;
+fill Page withcolor \MPcolor{simpleslides:backgroundcolor} ;
+StopPage ;
+\stopuseMPgraphic
+
+\startuseMPgraphic{simpleslides:MP:ornament}
+StartPage ;
+save a, b, theta;
+numeric a, b, theta ;
+
+save t ;
+pair t[] ;
+
+a = 2.5cm ;
+b = 1.5cm ;
+
+z[1] = ulcorner Page shifted (a,0) ;
+z[2] = llcorner Page shifted (a,0) ;
+z[3] = ulcorner Page shifted (0,-a) ;
+z[4] = urcorner Page shifted (0,-a) ;
+z[5] = ulcorner Page shifted (a,-a) ;
+
+save p ;
+path p[] ;
+p[1] = ulcorner Page -- z[1] -- z[2] -- llcorner Page -- cycle ;
+p[2] = ulcorner Page -- urcorner Page -- z[4] -- z[3] -- cycle ;
+p[3] = ulcorner Page -- z[1] -- z[5] -- z[3] -- cycle ;
+
+fill Page withcolor \MPcolor{simpleslides:backgroundcolor} ;
+fill p[1] withcolor \MPcolor{simpleslides:contrastcolor} ;
+fill p[2] withcolor \MPcolor{simpleslides:contrastcolor} ;
+fill p[3] withcolor \MPcolor{simpleslides:variantcolor} ;
+
+pickup pencircle scaled 5pt ;
+
+if \realfolio > 1:
+ theta = (PageNumber - 1)/(NOfPages - 1) ;
+ p[4] = unitcircle scaled b rotated 90 shifted (b + ((a-b)/2),(a-b)/2) ;
+ fill p[4] withcolor \MPcolor{simpleslides:backgroundcolor} ;
+ t[0] = center p[4] ;
+ t[1] = point 1 along p[4] ;
+ t[2] = point -theta along p[4] ;
+ t[3] = point -theta/2 along p[4] ;
+ p[5] = t[0] -- t[1] .. t[3] .. t[2] -- cycle ;
+ fill p[5] withcolor \MPcolor{simpleslides:altcontrastcolor} ;
+fi ;
+StopPage ;
+\stopuseMPgraphic
+
+%D We define these backgrounds as overlays:
+
+\defineoverlay
+ [simpleslides:background:ornament]
+ [\useMPgraphic{simpleslides:MP:ornament}]
+
+\defineoverlay
+ [simpleslides:background:title]
+ [\useMPgraphic{simpleslides:MP:ornament}]
+
+%D We want the title to placed in color.
+
+\setupTitle[\c!headcolor={simpleslides:contrastcolor}]
+
+%D We want the slide title on the top
+
+\setupSlideTitle
+ [\c!after=,
+ \c!alternative=layer,
+ \c!width=\textwidth,
+ \c!height=2.5cm,
+ \c!color=simpleslides:backgroundcolor]
+
+%D The symbol for the first level of itemizations.
+
+\definesymbol[1][\useMPgraphic{simpleslides:itemize:triangle}]
+\setupitemize[1][inmargin][color=simpleslides:backgroundcolor]
+
+\protect
+\stopmodule
+
+\endinput
+
diff --git a/Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-default.tex b/Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-default.tex
new file mode 100644
index 00000000000..513d0e744c2
--- /dev/null
+++ b/Master/texmf-dist/tex/context/third/simple-slides/simpleslides-s-default.tex
@@ -0,0 +1,772 @@
+%D \module
+%D [ file=simpleslides-s-default,
+%D version=2009.03.30
+%D title=\CONTEXT\ Style File,
+%D subtitle=Presentation Module simpleslides --- Default style setup,
+%D author=Thomas A. Schmitz \& Aditya Mahajan,
+%D date=\currentdate,
+%D copyright={Aditya Mahajan and Thomas A. Schmitz}]
+%C
+%C Copyright 2007 Aditya Mahajan and Thomas A. Schmitz
+%C This file may be distributed under the GNU General Public License v. 2.0.
+
+\writestatus{simpleslides}{loading default style setup}
+
+\startmodule[simpleslides-s-default]
+
+\unprotect
+
+%D This module is the first sub-module that is loaded by
+%D \filename{simpleslides}. This sets up the style macros for the module. We
+%D choose a rather plain style as the default; separate style sub-modules
+%D redefine some internal macros to achieve fancier effects.
+
+
+%D We start with the page layout. S6 has the ratio of a usual computer screen.
+
+\setuppapersize[S6][S6]
+
+%D We do not want page numbers, but we sometimes want to use the page numbering
+%D mechanism, so we make sure pages are counted, but the numbers are not
+%D displayed.
+
+\setuppagenumbering[location=]
+
+%D As for the page layout: most of the numbers have been reached by
+%D trial and error; I have just taken what seemed to produce the best output.
+
+\setuplayout [width=fit,
+ margin=0.6cm,
+ height=fit,
+ header=0.15cm,
+ footer=1.35cm,
+ footerdistance=0.5cm,
+ topspace=0.5cm,
+ backspace=1cm,
+ location=singlesided]
+
+
+%D We define some other layouts which can be used to change the layout of
+%D specific kinds of pages. This module defines three kinds of pages:
+%D horizontal, vertical, and title, and we allow the possibility of changing the
+%D layout of all three page styles.
+
+\definelayout [simpleslides:layout:horizontal]
+\definelayout [simpleslides:layout:vertical]
+\definelayout [simpleslides:layout:title]
+
+%D We want colored presentations
+
+\setupcolors[state=start]
+
+%D And colored typesetting for \TEX\ code.
+
+\definetype[typeTEX][option=color]
+
+%D Presentations have relatively dense lines, we do not care about underfull
+%D lines, but allow emergency stretch.
+
+\setuptolerance[verytolerant,stretch]
+
+%D We use combinations for placing vertical pictures and text side by side, and
+%D we want a distance of 1.1 cm between both.
+
+\setupcombinations[distance=1.1cm]
+
+%D Next we define some dimensions that are used as nominal values by other
+%D macros and the user.
+
+\define\NormalHeight {.830\textheight}
+\define\NormalWidth {.476\textwidth}
+\define\PictureFrameHeight {.830\textheight}
+\define\PictureFrameWidth {.476\textwidth}
+
+%D As we said before, the presentation consists of three kinds of pages: title,
+%D horizontal, and vertical. Each page can have a different background; we can
+%D switch to a specific background using
+%D \starttyping
+%D \setupPageBackground[horizontal]
+%D \stoptyping
+
+\def\setupPageBackground%
+ {\dosingleargument\dosetupPageBackground}
+
+\def\dosetupPageBackground[#1]%
+ {\setups{simpleslides:background:#1}}
+
+%D The backgrounds in all the styles are very similar. So, we define overlays to
+%D capture the different features of the backgrounds, and then simply define the
+%D overlays in different styles.
+
+\defineoverlay[simpleslides:background:horizontal]
+\defineoverlay[simpleslides:background:title]
+\defineoverlay[simpleslides:background:vertical]
+\defineoverlay[simpleslides:background:ornament]
+
+\defineoverlay[simpleslides:background:highlight]
+ [\useMPgraphic{simpleslides:MP:highlight}]%
+
+\definelayer[simpleslides:layer:slidetitle]
+ [\c!width=\paperwidth,
+ \c!height=\paperheight]
+
+%D A generic frame which is used for titles and other commands
+
+\defineframed[simpleslides:framed]
+ [frame=off,offset=0pt,
+ top=\vss,bottom=\vss]
+
+%D Now we define setups for specific backgrounds
+
+\startsetups simpleslides:background:title
+ \setuplayout[simpleslides:layout:title]
+ \setupbackgrounds[\v!page]
+ [background={simpleslides:background:title}]
+\stopsetups
+
+\startsetups simpleslides:background:horizontal
+ \setuplayout[simpleslides:layout:horizontal]
+ \setupbackgrounds[\v!page]
+ [background={simpleslides:background:horizontal,
+ simpleslides:background:ornament,
+ simpleslides:layer:slidetitle}]
+\stopsetups
+
+\startsetups simpleslides:background:vertical
+ \setuplayout[simpleslides:layout:vertical]
+ \setupbackgrounds[\v!page]
+ [background={simpleslides:background:vertical,
+ simpleslides:background:ornament}]
+\stopsetups
+
+%D We also define some fall backs for presentation backgrounds.
+
+\startsetups simpleslides:background:default
+ \setups{simpleslides:background:horizontal}
+\stopsetups
+
+\startsetups simpleslides:background:none
+ \setupbackgrounds[\v!page]
+ [background=]
+\stopsetups
+
+\startsetups simpleslides:background:empty
+ \message{I don't know the name of the background you have provided.}
+ \setups{simpleslides:background:horizontal}
+\stopsetups
+
+%D Now we move on to specific components of the presentation. The first thing in
+%D any presentation is the title page, so we start with that. We define a macro
+%D that stores values for the title, author and date of the presentation. These
+%D are input as
+%D \starttyping
+%D \setupTitle[title={How to write a sub module for simpleslides},
+%D author={Aditya Mahajan},
+%D date={\currentdate[d=10,m=7,y=2008]}]
+%D \stoptyping
+%D This setup command can also setup the color and style for the title, author,
+%D and date.
+
+\def\setupTitle%
+ {\dosingleargument\dosetupTitle}
+
+\def\dosetupTitle[#1]%
+ {\setupmodule[simpleslides:title][#1]}
+
+%D A few macros to save some typing
+
+\def\simpleslidestitleparameter%#1
+ {\moduleparameter{simpleslides:title}}
+
+\def\simpleslidestitlecomponent#1%
+ {\simpleslidestitleparameter{\c!before#1}
+ \startalignment[\simpleslidestitleparameter{#1\c!align}]
+ \doattributes{\??md:simpleslides:title:}{#1\c!style}{#1\c!color}
+ {\moduleparameter{simpleslides:title}{#1}}
+ \stopalignment
+ \simpleslidestitleparameter{\c!after#1}}
+
+%D \macros{placeTitle}
+%D
+%D The macro \tex{placeTitle} produces a title page with the author, the
+%D title of the presentation, and the date. Using it is not mandatory.
+
+\define\placeTitle
+ {\page
+ \setupPageBackground[title]
+ \null
+ \simpleslidestitleparameter\c!before
+ \startalignment[\simpleslidestitleparameter\c!align]
+ \dostartattributes{\??md:simpleslides:title:}\c!headstyle\c!headcolor
+ \simpleslidestitlecomponent\c!title
+ \simpleslidestitlecomponent\c!author
+ \simpleslidestitlecomponent\c!date
+ \dostopattributes
+ \stopalignment
+ \simpleslidestitleparameter\c!after
+ \page}
+
+%D If a sub-module wants to display more information about the presentation
+%D (e.g., institute of the author), it can be simply input as
+%D \starttyping
+%D \setupTitle[institute={Some University}]
+%D \stoptyping
+%D This parameter can be accessed inside the module as
+%D \type{\simpleslidestitleparameter{institute}}, and the module writer
+%D can redefine \type{\placeTitle} to display the institute at the appropriate
+%D place.
+
+
+%D Now we setup some default values for the title page. Other modules will
+%D redefine these values later.
+
+\setupTitle
+ [\c!title=,
+ \c!author=,
+ \c!date=\currentdate,
+ \c!style=,
+ \c!color=red,
+ \c!align=\v!middle,
+ \c!before=\vfill,
+ \c!after=\vfill,
+ \c!title\c!style={\switchtobodyfont[\TitleSize]},
+ \c!title\c!color=,
+ \c!title\c!align=,%\v!middle,
+ \c!author\c!style=,
+ \c!author\c!color=,
+ \c!author\c!align=,%\v!middle,
+ \c!date\c!style=,
+ \c!date\c!color=,
+ \c!date\c!align=,%\v!middle,
+ \c!before\c!title=,
+ \c!before\c!author=,
+ \c!before\c!date=,
+ \c!after\c!title={\blank[2*line]},
+ \c!after\c!author={\blank[3*line]},
+ \c!after\c!date=]
+
+%D \macros{SlideTitle}
+%D \tex{SlideTitle}: well, the name says it all. The
+%D argument is typeset as the title, but the implementation and the result
+%D (alignment, size, distance to text, color etc.) vary from module to module,
+%D so this macro is defined in each of the submodules.
+
+\def\setupSlideTitle
+ {\dosingleargument\dosetupSlideTitle}
+
+\def\dosetupSlideTitle[#1]%
+ {\setupmodule[simpleslides:slidetitle]
+ [\c!alternative=\v!normal,\c!width=\textwidth,
+ \c!height=2\lineheight,#1]}
+
+\def\simpleslidesslidetitleparameter%#1
+ {\moduleparameter{simpleslides:slidetitle}}
+
+\def\defineSlideTitleAlternative
+ {\dodoubleargument\dodefineSlideTitleAlternative}
+
+\def\dodefineSlideTitleAlternative[#1][#2]% #3
+ {\setvalue{simpleslides:slidetitle:#1}}
+
+\defineSlideTitleAlternative[\v!normal]#1%
+ {\page[\simpleslidesslidetitleparameter\c!page]%
+ \simpleslidesslidetitleparameter\c!before
+ \startalignment[\simpleslidesslidetitleparameter\c!align]
+ \doattributes{\??md:simpleslides:slidetitle:}\c!style\c!color{#1}%
+ \stopalignment
+ \simpleslidesslidetitleparameter\c!after}
+
+%D The layered alternative is adapted from a sample document that Brooks Moses
+%D published on the wiki:
+
+\defineSlideTitleAlternative[layer]#1%
+ {\page[\simpleslidesslidetitleparameter\c!page]%
+ \simpleslidesslidetitleparameter\c!before
+ \setlayer[simpleslides:layer:slidetitle]%
+ {\getvalue{simpleslides:framed}
+ [\c!width=\simpleslidesslidetitleparameter\c!width,
+ \c!height=\simpleslidesslidetitleparameter\c!height,
+ \c!align=\simpleslidesslidetitleparameter\c!align]
+ {\doattributes{\??md:simpleslides:slidetitle:}\c!style\c!color{#1}}}%
+ \simpleslidesslidetitleparameter\c!after}
+
+
+%D Now the main user command
+
+\def\SlideTitle{\dowithpargument\doSlideTitle}
+
+\def\doSlideTitle% #1
+ {\getvalue{simpleslides:slidetitle:\simpleslidesslidetitleparameter{alternative}}}
+
+\setupSlideTitle
+ [\c!page=\v!yes,
+ \c!style={\switchtobodyfont[\TitleSize]},
+ \c!before={\setupPageBackground[horizontal]},
+ \c!after={\blank[0.75cm]},
+ \c!align=\v!middle,
+ \c!alternative=\v!normal]
+
+
+%AM: Clean this up later.
+
+%D \macros{IncludePicture}
+%D The macros for placing pictures. This section has been entirely rewritten in
+%D order to provide a cleaner user interface and to make the code easier to
+%D maintain. We now have just one macro, \tex{IncludePicture}, which
+%D automatically inserts page breaks and adjusts the background and margins, if
+%D necessary. This macro takes four arguments:
+%D \setup{IncludePicture}
+%D The first argument decides whether the picture will be place in a horizontal
+%D or vertical arrangement; the second argument is the filename of the picture
+%D you want to include; the third argument does some setup, and the fourth
+%D argument (in braces) is the text accompanying the picture, which will be
+%D placed either in a \tex{SlideTitle} environment (for horizontal pictures) or
+%D opposite the picture, centered horizontally and vertically, for vertical
+%D pictures.
+
+%D The user macro takes three arguments in brackets + an additional argument
+%D for typeset content. So we define it in two steps:
+
+\def\setupPicture
+ {\dosingleargument\dosetupPicture}
+
+\def\dosetupPicture[#1]%
+ {\setupmodule[simpleslides:picture]
+ [highlight=\v!no,
+ steps=5,
+ opacity=0.5,
+ \c!x\c!scale=couple,
+ \c!y\c!scale=couple,
+ \c!width=,\c!height=,#1]}
+
+\setupPicture
+ [highlight=\v!no,%yes|no|default=no
+ \c!alternative=\v!none,%none|circle|arrow|focus|default=none
+ \c!grid\c!color=darkgreen,
+ \c!grid=\v!no,
+ \c!sub\c!grid=\v!no,
+ steps=5,%controls the number of subdivisions of the subgrid
+ \c!rulethickness={OverlayWidth/100},%for circle and arrow
+ \c!color=orange,% should this be called highlightcolor?
+ \c!x=5,
+ \c!y=5,
+ \c!x\c!scale=couple,
+ \c!y\c!scale=couple,
+ length=2cm,
+ direction=0,
+ opacity=0.5,
+ shadow=\v!no,
+ shadow\c!color=black,
+ ]
+
+\def\simpleslidesPictureParameter%#1
+ {\moduleparameter{simpleslides:picture}}
+
+
+\newconditional\simpleslidesHighlight \setfalse\simpleslidesHighlight
+\newconditional\simpleslidesGrid \setfalse\simpleslidesGrid
+\newconditional\simpleslidesSubGrid \setfalse\simpleslidesSubGrid
+
+\chardef\simpleslidesHighlightAlternative\zerocount %0=none, 1=circle,
+ %2=arrow, 3=focus
+\chardef\simpleslidesShadow\zerocount %0=no, 1=topleft, 2=topright,
+ %3=bottomright, 4=bottomleft
+
+\def\IncludePicture%
+ {\dotripleargument\doIncludePicture}
+
+
+\def\doIncludePicture[#1][#2][#3]#4% dir graphic options text
+ {\begingroup % Else the settings of \setupPicture are global
+ \setupPicture[#3]%
+ \processaction
+ [\simpleslidesPictureParameter{highlight}]
+ [ \v!yes=>\settrue\simpleslidesHighlight,
+ \v!no=>\setfalse\simpleslidesHighlight,
+ \v!default=>\setfalse\simpleslidesHighlight,
+ \v!unknown=>\setfalse\simpleslidesHighlight]
+ %
+ \processaction
+ [\simpleslidesPictureParameter\c!grid]
+ [ \v!yes=>\settrue\simpleslidesGrid,
+ \v!no=>\setfalse\simpleslidesGrid,
+ \v!default=>\setfalse\simpleslidesGrid,
+ \v!unknown=>\setfalse\simpleslidesGrid]
+ %
+ \processaction
+ [\simpleslidesPictureParameter{\c!sub\c!grid}]
+ [ \v!yes=>\settrue\simpleslidesSubGrid,
+ \v!no=>\setfalse\simpleslidesSubGrid,
+ \v!default=>\setfalse\simpleslidesSubGrid,
+ \v!unknown=>\setfalse\simpleslidesSubGrid]
+ %
+ \processaction
+ [\simpleslidesPictureParameter{shadow}]
+ [ \v!no=>\chardef\simpleslidesShadow\zerocount,
+ \v!yes=>\chardef\simpleslidesShadow\plusthree,
+ \v!top\v!left=>\chardef\simpleslidesShadow\plusone,
+ \v!top\v!right=>\chardef\simpleslidesShadow\plustwo,
+ \v!bottom\v!right=>\chardef\simpleslidesShadow\plusthree,
+ \v!bottom\v!left=>\chardef\simpleslidesShadow\plusfour,
+ \v!default=>\chardef\simpleslidesShadow\zerocount,
+ \v!unknown=>\chardef\simpleslidesShadow\zerocount]
+ %
+ \edef\simpleslidesGridColor{\simpleslidesPictureParameter{\c!grid\c!color}}%
+ \doifnothing{\simpleslidesGridColor}{\edef\simpleslidesGridColor{green}}%
+ %
+ \processaction
+ [\simpleslidesPictureParameter\c!alternative]
+ [ circle=>\chardef\simpleslidesHighlightAlternative\plusone
+ \simpleslidesSetEllipseDimensions,
+ arrow=>\chardef\simpleslidesHighlightAlternative\plustwo,
+ focus=>\chardef\simpleslidesHighlightAlternative\plusthree
+ \simpleslidesSetEllipseDimensions,
+ \v!default=>\chardef\simpleslidesHighlightAlternative\zerocount,
+ \v!unknown=>\chardef\simpleslidesHighlightAlternative\zerocount]
+ %
+ \processaction[#1]
+ [\v!horizontal=>{\doIncludePictureHorizontal[#2]{#4}},
+ \v!vertical=>{\doIncludePictureVertical[#2]{#4}},
+ \v!default=>{\doIncludePictureHorizontal[#2]{#4}},
+ \v!unknown=>{\doIncludePictureHorizontal[#2]{#4}}%
+ \message{Keywords for positioning pictures are
+ "horizontal" or "vertical."
+ Please specify one of them!}]
+ \endgroup}
+
+%D We have to set the width or height for vertical and horizontal pictures
+%D separately. We test if the user has supplied values for the "width" and
+%D "height" key. If they have been set, these are used for the width/height of
+%D the picture. If not, we determine the ratio of the picture and let it fill
+%D the available space. Small pictures will be enlarged, big pictures will be
+%D fit. This code was suggested by Wolfgang Schuster on the mailing list.
+
+\def\setPictureDimensionsTo#1#2% graphic width
+ {\doifelsenothing{\simpleslidesPictureParameter\c!width}
+ {\doifelsenothing{\simpleslidesPictureParameter\c!height}
+ {\setbox\scratchbox\hbox{\externalfigure[#1]}
+ % Courtsey Wolfgang Schuster
+ \ifdim\dimexpr#2*100/\wd\scratchbox\relax <
+ \dimexpr\PictureFrameHeight*100/\ht\scratchbox\relax
+ %
+ \setvalue{simpleslides:picture:width}{#2}%
+ \setvalue{simpleslides:picture:height}{}%
+ \else
+ \setvalue{simpleslides:picture:width}{}%
+ \setvalue{simpleslides:picture:height}{\PictureFrameHeight}%
+ \fi}
+ {\setvalue{simpleslides:picture:width}{}%
+ \setvalue{simpleslides:picture:height}{\simpleslidesPictureParameter\c!height}}}
+ {\setvalue{simpleslides:picture:width}{\simpleslidesPictureParameter\c!width}
+ \setvalue{simpleslides:picture:height}{}}}% not \simpleslidesPictureParameter\c!height
+
+%D This macro places the picture centered both vertically and horizontally.
+
+\def\doplacePictureFrame[#1]#2%
+ {\framed[\c!frame=\v!off,
+ \c!framecolor=green,
+ \c!align=\v!middle,
+ \c!top=\vss,
+ \c!bottom=\vss,
+ \c!strut=\v!no,
+ \c!offset=\zeropoint,#1]
+ {\framed[\c!frame=\v!off,
+ \c!framecolor=red,
+ \c!strut=\v!no,
+ \c!offset=\zeropoint,
+ \c!width=\v!fit,
+ \c!height=\v!fit,
+ \c!background={foreground,simpleslides:background:highlight}]
+ {#2}}}
+
+
+%D This macro places the picture in horizontal mode.
+
+\def\doIncludePictureHorizontal[#1]#2% graphic text
+ {\setPictureDimensionsTo{#1}\textwidth
+ \SlideTitle{#2}%
+ \doplacePictureFrame
+ [\c!width=\textwidth,
+ \c!height=\PictureFrameHeight]
+ {\externalfigure[#1]
+ [\c!height=\getvalue{simpleslides:picture:height},
+ \c!width=\getvalue{simpleslides:picture:width}]}%
+ \page}% Otherwise last page is not correct in \MKII.
+
+%D This macro places the picture in vertical mode.
+
+\def\doIncludePictureVertical[#1]#2% graphic text
+ {\page
+ \setPictureDimensionsTo{#1}\PictureFrameWidth
+ \setupPageBackground[vertical]
+ \startcombination[2]
+ {\doplacePictureFrame
+ [\c!height=\textheight,
+ \c!width=\PictureFrameWidth]
+ {\externalfigure[#1]
+ [\c!height=\getvalue{simpleslides:picture:height},
+ \c!width=\getvalue{simpleslides:picture:width}]}}{}
+ {\framed[\c!frame=\v!off,
+ \c!height=\textheight,
+ \c!width=\PictureFrameWidth,
+ \c!top=\vss,
+ \c!bottom=\vss,
+ \c!align=\v!middle,
+ \c!strut=\v!no]{#2}}{}
+ \stopcombination
+ \page}% Otherwise last page is not correct in \MKII.
+
+%D Now, we define the main \METAPOST\ graphic to highlight the picture. It first
+%D checks if the user has asked for a grid, and if so, draws a grid and a
+%D subgrid. Then it checks which alternative (arrow, circle, focus) is requested
+%D and draws that. Notice that we have intermixed \TEX\ and \METAPOST,
+%D exploiting the power of the MP-TEX interaction provided by \CONTEXT.
+
+\startuseMPgraphic{simpleslides:MP:highlight}
+\ifconditional \simpleslidesHighlight
+ \ifconditional \simpleslidesGrid
+ \includeMPgraphic{simpleslides:MP:highlight:grid}
+ \ifconditional \simpleslidesSubGrid
+ \includeMPgraphic{simpleslides:MP:highlight:subgrid}%
+ \fi
+ \fi
+ \ifcase \simpleslidesHighlightAlternative \or
+ \includeMPgraphic{simpleslides:MP:highligh:circle} \or
+ \includeMPgraphic{simpleslides:MP:highligh:arrow} \or
+ \includeMPgraphic{simpleslides:MP:highligh:focus} \fi
+ \fi
+ setbounds currentpicture to OverlayBox ;
+\stopuseMPgraphic
+
+%D Metapost graphic to draw a 10x10 grid on a picture. The width of the grid
+%D line is 1/250th of the width of the picture, so smaller picture have smaller
+%D grid lines.
+
+\startuseMPgraphic{simpleslides:MP:highlight:grid}
+ save xaxis, yaxis ; path xaxis, yaxis ;
+ xaxis := leftboundary OverlayBox ;
+ yaxis := bottomboundary OverlayBox ;
+
+
+ for i = 0 upto 10 :
+
+ draw xaxis shifted (i/10*OverlayWidth, 0)
+ withpen pencircle scaled (OverlayWidth/250)
+ withcolor \MPcolor\simpleslidesGridColor ;
+
+ draw yaxis shifted (0,i/10*OverlayHeight)
+ withpen pencircle scaled (OverlayWidth/250)
+ withcolor \MPcolor\simpleslidesGridColor ;
+
+ label.bot(textext("\switchtobodyfont[9pt]\startcolor[simpleslides:textcolor]"
+ & decimal i & "\stopcolor"),
+ (i/10*OverlayWidth, 0)) ;
+ label.top(textext("\switchtobodyfont[9pt]\startcolor[simpleslides:textcolor]"
+ & decimal i & "\stopcolor"),
+ (i/10*OverlayWidth, OverlayHeight)) ;
+
+ label.lft(textext("\switchtobodyfont[9pt]\startcolor[simpleslides:textcolor]"
+ & decimal i & "\stopcolor"),
+ (0, i/10*OverlayHeight)) ;
+ label.rt(textext("\switchtobodyfont[9pt]\startcolor[simpleslides:textcolor]"
+ & decimal i & "\stopcolor"),
+ (OverlayWidth, i/10*OverlayHeight)) ;
+ endfor ;
+ setbounds currentpicture to OverlayBox ;
+\stopuseMPgraphic
+
+%D The Metapost graphic draws a fine grid on the picture. The number of grid
+%D lines is controlled by \type{steps} parameter of \type{\setupPicture}. Each
+%D grid box of the 10x10 grid drawn above is subdivided into \type{steps} number
+%D of finer lines.
+
+\startuseMPgraphic{simpleslides:MP:highlight:subgrid}
+ save xaxis, yaxis ; path xaxis, yaxis ;
+ xaxis := leftboundary OverlayBox ;
+ yaxis := bottomboundary OverlayBox ;
+
+
+ save stepSize ; numeric stepSize ;
+ stepSize := \simpleslidesPictureParameter{steps} + epsilon ;
+
+ for i = 0 step 10/stepSize until 100 :
+ if i mod 10 <> 0 :
+ draw xaxis shifted (i/100*OverlayWidth, 0)
+ withpen pencircle scaled (OverlayWidth/500)
+ withcolor \MPcolor\simpleslidesGridColor ;
+ draw yaxis shifted (0,i/100*OverlayHeight)
+ withpen pencircle scaled (OverlayWidth/500)
+ withcolor \MPcolor\simpleslidesGridColor ;
+ fi
+
+ endfor ;
+ setbounds currentpicture to OverlayBox ;
+\stopuseMPgraphic
+
+
+%D This is a helper macro to get the dimensions for the circle. Taking care of
+%D expansion inside Metapost is tricky, so we define an external macro to set
+%D the x and y scales correctly. This macro does not check if both x and y are
+%D equal to 'couple'. We should probably catch that error inside Metapost, and
+%D give an error message on the terminal if that is the case.
+
+
+\def\simpleslidesSetEllipseDimensions%
+ {\edef\simpleslidesCurrentXscale{\simpleslidesPictureParameter{\c!x\c!scale}}
+ \edef\simpleslidesCurrentYscale{\simpleslidesPictureParameter{\c!y\c!scale}}
+ \doifelse{\simpleslidesCurrentXscale}{couple}
+ {\doifelse{\simpleslidesCurrentYscale}{couple}
+ {\edef\simpleslidesCurrentXscale{1}
+ \edef\simpleslidesCurrentYscale{1}}
+ {\dosimpleslidesSetEllipseDimensions}}
+ {\dosimpleslidesSetEllipseDimensions}}
+
+\def\dosimpleslidesSetEllipseDimensions%
+ {\processaction
+ [\simpleslidesCurrentXscale]
+ [ couple=>\edef\simpleslidesCurrentXscale{\simpleslidesCurrentYscale*OverlayHeight/5},
+ \v!unknown=>\edef\simpleslidesCurrentXscale{\simpleslidesCurrentXscale*OverlayWidth/5}]
+ \processaction
+ [\simpleslidesCurrentYscale]
+ [ couple=>\edef\simpleslidesCurrentYscale{\simpleslidesCurrentXscale}, % no *OverlayWidth/5, it has already been scaled
+ \v!unknown=>\edef\simpleslidesCurrentYscale{\simpleslidesCurrentYscale*OverlayHeight/5}]}
+
+%D Metapost graphic to draw a circle. The circle is centered at (x,y) with a
+%D x-radius equal to \type{xscale} and y-radius equal to \type{yscale}. If
+%D either \type{xscale} or \type{yscale} equals \type{couple}, a circle is drawn
+%D with radius equal to the other (non-couple) scale parameter. The thickness of
+%D the circle is \type{rulethickness} and the color is \type{color}. The
+%D circle is rotated by an angle \type{direction}
+
+\startuseMPgraphic{simpleslides:MP:highligh:circle}
+ save p; path p;
+ p := fullcircle xyscaled
+ % The dimensions are divided by 5 rather than 10, since the scale
+ % measures the radius, rather than the diameter.
+ (\simpleslidesCurrentXscale, \simpleslidesCurrentYscale)
+ rotated (\simpleslidesPictureParameter\c!direction)
+ shifted
+ (\simpleslidesPictureParameter\c!x *OverlayWidth/10,
+ \simpleslidesPictureParameter\c!y *OverlayHeight/10) ;
+
+ \ifcase \simpleslidesShadow \else
+
+ save shadow_direction ; pair shadow_direction ;
+ shadow_direction =\simpleslidesPictureParameter\c!rulethickness *
+ \ifcase \simpleslidesShadow \or
+ (-1,1) \or (1,1) \or (1,-1) \or (-1,-1) \fi ;
+
+
+ save shadow_thickness ; numeric shadow_thickness ;
+ shadow_thickness := 2.7\simpleslidesPictureParameter\c!rulethickness ;
+
+ def shadow_draw = draw enddef ;
+
+ \includeMPgraphic{simpleslides:MP:highligh:shadow}
+ \fi
+
+ draw p withcolor \MPcolor{\simpleslidesPictureParameter\c!color}
+ withpen pencircle scaled (\simpleslidesPictureParameter\c!rulethickness);
+
+\stopuseMPgraphic
+
+%D Metapost graphic to draw an arrow. The arrow's tip is at \type{(x,y)}, and it
+%D is \type{length} long in the direction specified by \type{direction}. The
+%D arrow is \type{2×rulethickness} thick (the factor of 2 is there so that the
+%D same default works for both circle and arrows) and is on \type{color} color.
+%D
+%D TODO: Add \type{shadow} key.
+
+\startuseMPgraphic{simpleslides:MP:highligh:arrow}
+ autoarrows := true ; % so that arrow heads are scaled correctly.
+
+ z1 = (\simpleslidesPictureParameter\c!x *OverlayWidth/10,
+ \simpleslidesPictureParameter\c!y *OverlayHeight/10) ;
+ z2 = z1 + \simpleslidesPictureParameter{length} *
+ dir(\simpleslidesPictureParameter{direction}) ;
+
+ save p ; path p ;
+ p := z2 -- z1 ;
+
+ \ifcase \simpleslidesShadow \else
+ save shadow_direction ; pair shadow_direction ;
+ shadow_direction =2*\simpleslidesPictureParameter\c!rulethickness *
+ dir(\simpleslidesPictureParameter{direction} +
+ \ifcase \simpleslidesShadow \or
+ 135 \or 45 \or -45 \or -135 \fi ) ;
+
+ save shadow_thickness ; numeric shadow_thickness ;
+ shadow_thickness := 2*\simpleslidesPictureParameter\c!rulethickness ;
+
+ def shadow_draw = drawarrow enddef ;
+
+ \includeMPgraphic{simpleslides:MP:highligh:shadow}
+ \fi
+
+ drawarrow p
+ withcolor \MPcolor{\simpleslidesPictureParameter\c!color}
+ withpen pencircle scaled (2*\simpleslidesPictureParameter\c!rulethickness);
+
+\stopuseMPgraphic
+
+%D Metapost graphic to focus on a particular area. The coordinates of the focus
+%D area are equivalent to that of \type{alternative=circle}. The "unfocussed"
+%D area is covered with \type{shadowcolor} made transparent by
+%D \type{opacity} amount.
+
+\startuseMPgraphic{simpleslides:MP:highligh:focus}
+ save p; path p;
+ p := fullcircle xyscaled
+ % The dimensions are divided by 5 rather than 10, since the scale
+ % measures the radius, rather than the diameter.
+ (\simpleslidesCurrentXscale, \simpleslidesCurrentYscale)
+ rotated (\simpleslidesPictureParameter\c!direction)
+ shifted
+ (\simpleslidesPictureParameter\c!x *OverlayWidth/10,
+ \simpleslidesPictureParameter\c!y *OverlayHeight/10) ;
+
+ fill OverlayBox -- reverse p -- cycle
+ withcolor transparent ("normal",
+ \simpleslidesPictureParameter{opacity},
+ \MPcolor{\simpleslidesPictureParameter{shadow\c!color}}) ;
+\stopuseMPgraphic
+
+%D The next Metapost graphic draws an arrow. To ensure code re-usability, we
+%D assume that the shape of the shadow is stored as a path \type{p}, it is
+%D shifted by amount \type{shadow_direction} and its thickness is
+%D \type{shadow_thickness}. It is the responsibility of the calling function to
+%D ensure that this is done. There are four options for the shadow,
+%D \type{topleft}, \type{topright}, \type{bottomright}, and \type{bottomleft}.
+%D (TODO: Keep this thickness configurable). The shadow is drawn in color
+%D \type{shadowcolor}. The arrow is drawn with a transparent color whose opacity
+%D is given by \type{opacity}.
+
+\startuseMPgraphic{simpleslides:MP:highligh:shadow}
+ %% I hope there were a better way to do this.
+ for i = 1 upto 20 :
+ shadow_draw p shifted shadow_direction
+ withcolor transparent ("normal",
+ \simpleslidesPictureParameter{opacity}/10, % 0.1,
+ \MPcolor{\simpleslidesPictureParameter{shadow\c!color}})
+ withpen pencircle scaled (i*shadow_thickness/20) ;
+ endfor
+\stopuseMPgraphic
+
+
+%D This is a small square which will be used for itemizations; it will be
+%D placed in the margin.
+
+\startuniqueMPgraphic{simpleslides:itemize:triangle}
+ fill (0,0) -- (0,0.4cm) -- (0.6cm,0.2cm) -- cycle
+ withcolor \MPcolor{simpleslides:itemize:color} ;
+\stopuniqueMPgraphic
+
+\startuniqueMPgraphic{simpleslides:itemize:square}
+ fill unitsquare xyscaled(0.4cm,0.4cm)
+ withcolor \MPcolor{simpleslides:itemize:color} ;
+\stopuniqueMPgraphic
+
+
+\protect
+
+\stopmodule
diff --git a/Master/texmf-dist/tex/context/third/simple-slides/t-simpleslides.tex b/Master/texmf-dist/tex/context/third/simple-slides/t-simpleslides.tex
new file mode 100644
index 00000000000..19e26c5fe0f
--- /dev/null
+++ b/Master/texmf-dist/tex/context/third/simple-slides/t-simpleslides.tex
@@ -0,0 +1,80 @@
+%D \module
+%D [ file=t-simpleslides,
+%D version=2009.03.30
+%D title=\CONTEXT\ Style File,
+%D subtitle=Presentation Module simpleslides,
+%D author=Aditya Mahajan and Thomas A. Schmitz,
+%D date=\currentdate,
+%D copyright={Aditya Mahajan and Thomas A. Schmitz}]
+%C
+%C Copyright 2007 Aditya Mahajan and Thomas A. Schmitz
+%C This file may be distributed under the GNU General Public License v. 2.0.
+
+%M \usemodule[int-load]
+%M \setupcolors[state=start]
+%M \loadsetups[cont-en.xml]
+%M \loadsetups[t-simpleslides.xml]
+
+%D This module is meant to facilitate writing presentations in \CONTEXT. It
+%D provides a consistent interface and macros; there are different styles which
+%D give different output. The module has been written for projector||based
+%D presentations, so elements which are typical for screen presentations (such
+%D as interactive hyperlinks or tables of contents) are not included. The
+%D module is meant for an academic environment, specifically in the humanities.
+%D Hence, it has the following characteristics:
+%D
+%D \startitemize
+%D
+%D \item The look is rather sober. In academia, presentations are not meant to
+%D showcase fancy \TeX\ effects; nothing should divert the audience's attention
+%D from the content.
+%D
+%D \item The module is written for slides which exhibit text and/or images.
+%D From my own experience with \TeX||based presentations, I have provided a
+%D setup for horizontal (landscape) pictures and for vertical (portrait)
+%D pictures, which are accompanied by an area for explanatory text.
+%D
+%D \item A simple switch in the module setup command will produce different
+%D output.
+%D
+%D \item It is easy to customize the module or to add more styles.
+%D
+%D \stopitemize
+%D
+%D The macros are commented rather extensively to give users (especially users
+%D relatively new to \CONTEXT) the chance to understand the mechanisms and
+%D create their own styles. Of course, I did not invent this code on my own. My
+%D thanks are due, as always, to Hans Hagen, whose presentation modules in the
+%D \CONTEXT\ core have been a wonderful source of inspiration, to Mojca
+%D Miklavec, who provided help with Metapost, and to Aditya Mahajan, who helped
+%D tremendously in cleaning up the code and making the user interface more
+%D consistent.
+
+\writestatus{loading}{module simpleslides}
+
+\startmodule[simpleslides]
+
+\unprotect
+
+\setupmodule
+ [style=DoubleFrame,
+ font=LatinModernSans,
+ size=17pt,
+ color=blue,
+ alternative=square]
+
+\usemodule
+ [simpleslides-s]
+ [default]
+
+\doiffileelse{\currentmoduleparameter\c!style}
+ {\usemodule[\currentmoduleparameter\c!style]}
+ {\usemodule[simpleslides-s][\currentmoduleparameter\c!style]}
+
+\usemodule
+ [simpleslides-f]
+ [default]
+
+\protect
+
+\stopmodule
diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check
index 1e01f0df8a5..47c8932b79e 100755
--- a/Master/tlpkg/bin/tlpkg-ctan-check
+++ b/Master/tlpkg/bin/tlpkg-ctan-check
@@ -58,7 +58,7 @@ my @WorkingTLP = qw(
context-construction-plan context-degrade context-french
context-games context-gnuplot
context-letter context-lettrine context-lilypond context-mathsets
- context-taspresent
+ context-simpleslides context-taspresent
context-typearea context-vim
cooking cool coollist coolstr cooltooltips
coordsys courier-scaled courseoutline coursepaper coverpage
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds
index 37f82960e3e..4e39bb555f0 100755
--- a/Master/tlpkg/libexec/ctan2tds
+++ b/Master/tlpkg/libexec/ctan2tds
@@ -144,6 +144,7 @@ chdir $startdir || die "chdir($startdir) failed: $!"; # back to raw
'context-lettrine', "&MAKEcopy",
'context-lilypond', "&MAKEcopy",
'context-mathsets', "&MAKEcopy",
+ 'context-simpleslides', "&MAKEcopy",
'context-taspresent',"&MAKEcopy",
'context-typearea', "&MAKEcopy",
'context-vim', "&MAKEcopy",
diff --git a/Master/tlpkg/tlpsrc/context-simpleslides.tlpsrc b/Master/tlpkg/tlpsrc/context-simpleslides.tlpsrc
new file mode 100644
index 00000000000..bb1b69eb130
--- /dev/null
+++ b/Master/tlpkg/tlpsrc/context-simpleslides.tlpsrc
@@ -0,0 +1,6 @@
+name context-simpleslides
+category Package
+runpattern f texmf-dist/tex/context/interface/third/t-simpleslides.xml
+runpattern d texmf-dist/tex/context/third/simple-slides
+runpattern d texmf-dist/scripts/context/lua/third/simple-slides
+docpattern d texmf-dist/doc/context/third/simple-slides