summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context
diff options
context:
space:
mode:
authorMojca Miklavec <mojca.miklavec@gmail.com>2008-08-09 22:25:33 +0000
committerMojca Miklavec <mojca.miklavec@gmail.com>2008-08-09 22:25:33 +0000
commit3961ffab94c28c7817c031829766a6e33d699f33 (patch)
tree9d45016b2c17235b15602d0448493ed2729b4003 /Master/texmf-dist/tex/context
parent5d017c54b5bc4a3714a5493774be99d6211dc1b4 (diff)
Add a new ConTeXt package taspresent by Thomas Schmitz (needs to be included in regular ctan2tl updates)
git-svn-id: svn://tug.org/texlive/trunk@10214 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/context')
-rw-r--r--Master/texmf-dist/tex/context/third/taspresent/t-blackblue.tex145
-rw-r--r--Master/texmf-dist/tex/context/third/taspresent/t-bluegray.tex271
-rw-r--r--Master/texmf-dist/tex/context/third/taspresent/t-bluestripe.tex160
-rw-r--r--Master/texmf-dist/tex/context/third/taspresent/t-darkshade.tex165
-rw-r--r--Master/texmf-dist/tex/context/third/taspresent/t-doubleframe.tex278
-rw-r--r--Master/texmf-dist/tex/context/third/taspresent/t-doubleshade.tex130
-rw-r--r--Master/texmf-dist/tex/context/third/taspresent/t-embossed.tex147
-rw-r--r--Master/texmf-dist/tex/context/third/taspresent/t-graybeams.tex172
-rw-r--r--Master/texmf-dist/tex/context/third/taspresent/t-graysquare.tex145
-rw-r--r--Master/texmf-dist/tex/context/third/taspresent/t-greenblue.tex209
-rw-r--r--Master/texmf-dist/tex/context/third/taspresent/t-horizontalblue.tex150
-rw-r--r--Master/texmf-dist/tex/context/third/taspresent/t-lightblue.tex162
-rw-r--r--Master/texmf-dist/tex/context/third/taspresent/t-narrowstripe.tex188
-rw-r--r--Master/texmf-dist/tex/context/third/taspresent/t-quadblue.tex163
-rw-r--r--Master/texmf-dist/tex/context/third/taspresent/t-rainbowstripe.tex243
-rw-r--r--Master/texmf-dist/tex/context/third/taspresent/t-redframe.tex187
-rw-r--r--Master/texmf-dist/tex/context/third/taspresent/t-superellipse.tex139
-rw-r--r--Master/texmf-dist/tex/context/third/taspresent/t-taspresent.tex539
-rw-r--r--Master/texmf-dist/tex/context/third/taspresent/t-titleframe.tex158
19 files changed, 3751 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/context/third/taspresent/t-blackblue.tex b/Master/texmf-dist/tex/context/third/taspresent/t-blackblue.tex
new file mode 100644
index 00000000000..6e79488a9ba
--- /dev/null
+++ b/Master/texmf-dist/tex/context/third/taspresent/t-blackblue.tex
@@ -0,0 +1,145 @@
+%D \module
+%D [ file=t-blackblue,
+%D version=2007.07.17,
+%D title=\CONTEXT\ Style File,
+%D subtitle=Presentation Module blackblue,
+%D author=Thomas A. Schmitz,
+%D date=\currentdate,
+%D copyright={Thomas A. Schmitz}]
+%C
+%C Copyright 2007 Thomas A. Schmitz.
+%C This file may be distributed under the GNU General Public License v. 2.0.
+
+%D This file provides the \quotation{blackblue} 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\ {\tt beamer} package.
+
+\writestatus{loading}{module blackblue}
+
+\startmodule[blackblue]
+
+\unprotect
+
+%D The taspresentation module provides a skeleton into which different styles
+%D can be hooked. It uses a number of variables and macros which have to be set
+%D beforehand. Some parts are optional. We begin with the necessary definitions:
+
+%D We start colors:
+
+\setupcolors[state=start]
+
+%D These macros are used for placing figures/pictures:
+
+\define\NormalHeight{\textheight}
+\define\NormalWidth{.476\textwidth}
+\define\PictureFrameHeight{\textheight}
+\define\PictureFrameWidth{.476\textwidth}
+
+%D The page layout:
+
+\setuplayout [width=fit,
+ margin=0cm,
+ height=fit,
+ header=3.2cm,
+ footer=.5cm,
+ topspace=.6cm,
+ backspace=1cm,
+ location=singlesided]
+
+%D The macro for typesetting the Slidetitle; this is adapted from a sample
+%D document that Brooks Moses published on the wiki:
+
+\definelayer[slidetitle]
+ [width=\paperwidth,
+ height=\paperheight,
+ x=10mm,
+ y=12mm]
+
+\define[1]\Slidetitle{\page\setlayer[slidetitle]%
+ {\framed[corner=round,background=color,backgroundcolor=a,frame=off,width=\textwidth,height=2.1cm,offset=0pt,top=\vss,bottom=\vss]{\switchtobodyfont[\Titlesize]\color[b]{#1}}}}
+
+%D The macro \tex{Maketitle} produces a default title page with the author, the
+%D title of the presentation, and the date. Using it is not mandatory.
+
+\define\Maketitle{%
+\titback
+\null
+\vfill
+\framed[corner=round,background=color,backgroundcolor=a,frame=off,width=\textwidth,height=.75\textheight,top=\vss,bottom=\vss,align=middle]{\switchtobodyfont[\Titlesize]\color[b]{\getvariable{taspresent}{title}}\switchtobodyfont[\Normalsize]\blank[line]\color[b]{\getvariable{taspresent}{author}\blank[2*line]\currentdate}}
+\vfill
+\null}
+
+%D The following parts are optional; if you don't use backgrounds and are
+%D content with CONTEXT's default itemization, you don't have to set these
+%D macros.
+
+%D We define our colors:
+
+\definecolor [b] [s=.9]
+\definecolor [c] [s=0]
+\definecolor [a] [r=.2, g=.2, b=.72]
+\definecolor [Item] [r=.2, g=.2, b=.75]
+
+%D We let Metapost calculate the background:
+
+\startuseMPgraphic{slide}
+StartPage ;
+path p[] ;
+numeric a; a=.5cm ;
+fill Page withcolor \MPcolor{b} ;
+path Main ;
+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{a} ;
+fill p[2] withcolor \MPcolor{c} ;
+fill p[3] withcolor \MPcolor{c} ;
+fill p[4] withcolor \MPcolor{a} ;
+draw \sometxt{\framed[frame=off,offset=0pt,width=.5\textwidth,height=.5cm,align=left,top=\vss,bottom=\vss,strut=no]{\ix\color[b]{\currentdate \quad}}} shifted (1cm,y1) ;
+draw \sometxt{\framed[frame=off,offset=0pt,width=.5\textwidth,height=.5cm,align=right,top=\vss,bottom=\vss,strut=no]{\ix\color[b]{\quad \folio\ of \lastpage}}} shifted (x5,y1) ;
+draw \sometxt{\framed[frame=off,offset=0pt,width=.5\textwidth,height=.5cm,align=left,top=\vss,bottom=\vss,strut=no]{\ix\color[b]{\getvariable{taspresent}{author}\quad}}} shifted (1cm,0) ;
+draw \sometxt{\framed[frame=off,offset=0pt,width=.5\textwidth,height=.5cm,align=right,top=\vss,bottom=\vss,strut=no]{\ix\color[b]{\quad \getvariable{taspresent}{title}}}} shifted (x5,0) ;
+StopPage ;
+\stopuseMPgraphic
+
+%D We define these backgrounds as overlays:
+
+\defineoverlay
+[lecbackground]
+[\useMPgraphic{slide}]
+
+\defineoverlay
+[picbackground]
+[\useMPgraphic{slide}]
+
+%D These are shortcuts to switch backgrounds:
+
+\define\lecback{\setuplayout[header=3.2cm]\setupbackgrounds[page][background={lecbackground,bottom,slidetitle}]}
+\define\titback{\setuplayout[header=.5cm]\setupbackgrounds[page][background=lecbackground]}
+\define\picback{\setuplayout[header=.5cm]\setupbackgrounds[page][background={lecbackground,bottom}]}
+\define\noback{\setupbackgrounds[page][background=nobackground]}
+
+%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 The symbol for the first level of itemizations.
+
+\definesymbol[1][\useMPgraphic{ItSquare}]
+\setupitemize[1][color=a]
+
+\protect
+\stopmodule
+
+\endinput
+
diff --git a/Master/texmf-dist/tex/context/third/taspresent/t-bluegray.tex b/Master/texmf-dist/tex/context/third/taspresent/t-bluegray.tex
new file mode 100644
index 00000000000..e83b3e6f0e6
--- /dev/null
+++ b/Master/texmf-dist/tex/context/third/taspresent/t-bluegray.tex
@@ -0,0 +1,271 @@
+%D \module
+%D [ file=t-bluegray,
+%D version=2007.07.17,
+%D title=\CONTEXT\ Style File,
+%D subtitle=Presentation Module bluegray,
+%D author=Thomas A. Schmitz,
+%D date=\currentdate,
+%D copyright={Thomas A. Schmitz}]
+%C
+%C Copyright 2007 Thomas A. Schmitz.
+%C This file may be distributed under the GNU General Public License v. 2.0.
+
+%D This file provides the \quotation{bluegray} style for the presentation
+%D module. It is loaded at runtime.
+
+\writestatus{loading}{module bluegray}
+
+\startmodule[bluegray]
+
+\unprotect
+
+%D The taspresentation module provides a skeleton into which different styles
+%D can be hooked. It uses a number of variables and macros which have to be set
+%D beforehand. Some parts are optional. We begin with the necessary definitions:
+
+%D The bluegray module has parameters of its own; we set them up and use
+%D them:
+
+\setupmodule[color=blue]
+
+\processaction[\currentmoduleparameter{color}]
+ [ blue=>\def\colormode{bluemode},
+ red=>\def\colormode{redmode},
+ \v!unknown=>\def\colormode{bluemode},
+ \v!default=>\def\colormode{bluemode}]
+
+\enablemode[\colormode]
+
+%D We define our colors:
+
+\startmode[bluemode]
+\definecolor [outer] [r=0.8,g=0.8,b=0.9]
+\definecolor [inner] [s=.88]
+\definecolor [One] [r=.67, g=0, b=.04]
+\definecolor [tcolor] [s=0]
+\stopmode
+
+\startmode[redmode]
+\definecolor [outer] [r=0.45,]
+\definecolor [inner] [s=.18]
+\definecolor [One] [r=.67, g=0, b=.04]
+\definecolor [tcolor] [s=1]
+\stopmode
+
+%D We start colors:
+
+\setupcolors[state=start,textcolor=tcolor]
+
+%D These macros are used for placing figures/pictures:
+
+\define\NormalHeight{\textheight}
+\define\NormalWidth{.476\textwidth}
+\define\PictureFrameHeight{\textheight}
+\define\PictureFrameWidth{.476\textwidth}
+
+%D The page layout:
+
+\setuplayout [width=fit,
+ margin=2cm,
+ height=fit,
+ leftmargindistance=.8cm,
+ rightmargindistance=0cm,
+ header=18mm,
+ footer=0cm,
+ topspace=.8cm,
+ backspace=2cm,
+ location=singlesided]
+
+%D The macro for typesetting the Slidetitle; this is adapted from a sample
+%D document that Brooks Moses published on the wiki:
+
+\definelayer[slidetitle]
+ [width=\paperwidth,
+ height=\paperheight,
+ x=20mm]
+
+\define[1]\Slidetitle{\page\setlayer[slidetitle]%
+ {\framed[frame=off,height=2.5cm,width=\textwidth,offset=0pt,align=middle,top=\vss,bottom=\vss]{\switchtobodyfont[\Titlesize]#1}}}
+
+%D The macro \tex{Maketitle} produces a default title page with the author, the
+%D title of the presentation, and the date. Using it is not mandatory.
+
+\define\Maketitle{%
+\titback
+\null
+\vfill
+\midaligned{\switchtobodyfont[\Titlesize]\getvariable{taspresent}{title}}
+\blank[2*line]
+\midaligned{\getvariable{taspresent}{author}}
+\blank[3*line]
+\midaligned{\currentdate}
+\vfill
+\null}
+
+%D The following parts are optional; if you don't use backgrounds and are
+%D content with CONTEXT's default itemization, you don't have to set these
+%D macros.
+
+%D This is the font we will use to draw the numbers on the slides
+
+\beginOLDTEX
+\definefontsynonym [BigN] [uhvb8r]
+\definefont[NumberFont] [BigN at 30pt]
+
+%D We let Metapost calculate the background:
+
+\startuniqueMPgraphic{textslide}
+StartPage ;
+fill Page withcolor \MPcolor{outer} ;
+fill Field[Text][Text] enlarged.2cm withcolor \MPcolor{inner} ;
+StopPage ;
+\stopuniqueMPgraphic
+
+\startuniqueMPgraphic{vertpic}
+StartPage ;
+fill Page withcolor \MPcolor{outer} ;
+path Main ;
+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) ;
+Main := z1 -- z2 -- z4 -- z3 --cycle ;
+fill Main withcolor \MPcolor{inner} ;
+StopPage ;
+\stopuniqueMPgraphic
+
+\startuseMPgraphic{Bottomone}
+StartPage
+picture Left, Right ;
+%defaultfont := "texnansi-myros-MyriadProBold" ;
+%defaultfont := "texnansi-lmssbx10" ;
+%Left := Right := thelabel("\folio",origin) ysized 5cm ;
+if PageNumber < 10:
+ Left := \sometxt{\framed[width=1cm,offset=0pt,align=middle,frame=off]{\color[outer]{\NumberFont \folio}}} ysized 6cm;
+ Right := \sometxt{\framed[width=1cm,offset=0pt,align=middle,frame=off]{\color[inner]{\NumberFont \folio}}} ysized 6cm;
+ clip Right to boundingbox Right xyscaled(0,3cm) shifted (bbwidth(Right)/2,0) ;
+ draw Left shifted (16.34cm,-.3cm) ;
+ draw Right shifted (16.34cm,-.3cm) ;
+fi;
+StopPage
+\stopuseMPgraphic
+
+
+\startuseMPgraphic{Bottomten}
+StartPage
+picture Left, Right ;
+%defaultfont := "texnansi-myros-MyriadProBold" ;
+%defaultfont := "texnansi-lmssbx10" ;
+%Left := Right := thelabel("\folio",origin) ysized 5cm ;
+if PageNumber >= 10:
+ Left := \sometxt{\framed[width=1.7cm,offset=0pt,align=middle,frame=off]{\color[outer]{\NumberFont \folio}}} ysized 6cm ;
+ Right := \sometxt{\framed[width=1.7cm,offset=0pt,align=middle,frame=off]{\color[inner]{\NumberFont \folio}}} ysized 6cm ;
+ clip Right to boundingbox Right xyscaled(0,3cm) shifted (bbwidth(Right)/1.5,0) ;
+ draw Left shifted (12.61cm,-.3cm) withcolor \MPcolor{outer} ;
+ draw Right shifted (12.61cm,-.3cm) withcolor \MPcolor{inner} ;
+fi ;
+StopPage
+\stopuseMPgraphic
+\endOLDTEX
+
+\beginLUATEX
+\definefontfeature[intended][script=latn,language=dflt,liga=yes,kern=yes,tlig=yes,trep=yes,mode=node]
+\font\NumberFont=name:texgyreheros-bold*intended at 30pt
+
+%D We let Metapost calculate the background:
+
+\startuniqueMPgraphic{textslide}
+StartPage ;
+fill Page withcolor \MPcolor{outer} ;
+fill Field[Text][Text] enlarged.2cm withcolor \MPcolor{inner} ;
+StopPage ;
+\stopuniqueMPgraphic
+
+\startuniqueMPgraphic{vertpic}
+StartPage ;
+fill Page withcolor \MPcolor{outer} ;
+path Main ;
+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) ;
+Main := z1 -- z2 -- z4 -- z3 --cycle ;
+fill Main withcolor \MPcolor{inner} ;
+StopPage ;
+\stopuniqueMPgraphic
+
+\startuseMPgraphic{Bottomone}
+StartPage
+picture Left, Right ;
+%defaultfont := "texnansi-myros-MyriadProBold" ;
+%defaultfont := "texnansi-lmssbx10" ;
+%Left := Right := thelabel("\folio",origin) ysized 5cm ;
+if PageNumber < 10:
+ Left := \sometxt{\framed[width=1cm,offset=0pt,align=middle,frame=off]{\color[outer]{\NumberFont \folio}}} ysized 6cm;
+ Right := \sometxt{\framed[width=1cm,offset=0pt,align=middle,frame=off]{\color[inner]{\NumberFont \folio}}} ysized 6cm;
+ clip Right to boundingbox Right xyscaled(0,3cm) shifted (bbwidth(Right)/2,0) ;
+ draw Left shifted (16.34cm,-.3cm) ;
+ draw Right shifted (16.34cm,-.3cm) ;
+fi;
+StopPage
+\stopuseMPgraphic
+
+
+\startuseMPgraphic{Bottomten}
+StartPage
+picture Left, Right ;
+%defaultfont := "texnansi-myros-MyriadProBold" ;
+%defaultfont := "texnansi-lmssbx10" ;
+%Left := Right := thelabel("\folio",origin) ysized 5cm ;
+if PageNumber >= 10:
+ Left := \sometxt{\framed[width=1.7cm,offset=0pt,align=middle,frame=off]{\color[outer]{\NumberFont \folio}}} ysized 6cm ;
+ Right := \sometxt{\framed[width=1.7cm,offset=0pt,align=middle,frame=off]{\color[inner]{\NumberFont \folio}}} ysized 6cm ;
+ clip Right to boundingbox Right xyscaled(0,3cm) shifted (bbwidth(Right)/1.5,0) ;
+ draw Left shifted (12.61cm,-.3cm) withcolor \MPcolor{outer} ;
+ draw Right shifted (12.61cm,-.3cm) withcolor \MPcolor{inner} ;
+fi ;
+StopPage
+\stopuseMPgraphic
+\endLUATEX
+
+%D We define these backgrounds as overlays:
+
+\defineoverlay
+[lecbackground]
+[\useMPgraphic{textslide}]
+
+\defineoverlay
+[picbackground]
+[\useMPgraphic{vertpic}]
+
+\defineoverlay
+[bottomone]
+[\useMPgraphic{Bottomone}]
+
+\defineoverlay
+[bottomten]
+[\useMPgraphic{Bottomten}]
+
+%D These are shortcuts to switch backgrounds:
+
+\define\lecback{\setuplayout[header=18mm]\setupbackgrounds[page][background={lecbackground,bottomone,bottomten,slidetitle}]}
+\define\titback{\setupbackgrounds[page][background=lecbackground]}
+\define\picback{\setuplayout[header=0mm]\setupbackgrounds[page][background={picbackground,bottomone,bottom,bottomten,slidetitle}]}
+\define\noback{\setupbackgrounds[page][background=nobackground]}
+
+%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 The symbol for 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/taspresent/t-bluestripe.tex b/Master/texmf-dist/tex/context/third/taspresent/t-bluestripe.tex
new file mode 100644
index 00000000000..ef61796d381
--- /dev/null
+++ b/Master/texmf-dist/tex/context/third/taspresent/t-bluestripe.tex
@@ -0,0 +1,160 @@
+%D \module
+%D [ file=t-bluestripe,
+%D version=2007.07.17,
+%D title=\CONTEXT\ Style File,
+%D subtitle=Presentation Module bluestripe,
+%D author=Thomas A. Schmitz,
+%D date=\currentdate,
+%D copyright={Thomas A. Schmitz}]
+%C
+%C Copyright 2007 Thomas A. Schmitz.
+%C This file may be distributed under the GNU General Public License v. 2.0.
+
+%D This file provides the \quotation{bluestripe} 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{loading}{module bluestripe}
+
+\startmodule[bluestripe]
+
+\unprotect
+
+%D The taspresentation module provides a skeleton into which different styles
+%D can be hooked. It uses a number of variables and macros which have to be set
+%D beforehand. Some parts are optional. We begin with the necessary definitions:
+
+%D We start colors; textcolor is white:
+
+\setupcolors[state=start]
+
+%D These macros are used for placing figures/pictures:
+
+\define\NormalHeight{\textheight}
+\define\NormalWidth{.476\textwidth}
+\define\PictureFrameHeight{\textheight}
+\define\PictureFrameWidth{.476\textwidth}
+
+%D The page layout:
+
+\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 The macro for typesetting the Slidetitle; this is adapted from a sample
+%D document that Brooks Moses published on the wiki:
+
+\definelayer[slidetitle]
+ [width=\paperwidth,
+ height=\paperheight,
+ x=29mm]
+
+\define[1]\Slidetitle{\page\setlayer[slidetitle]%
+ {\framed[frame=off,height=2.5cm,offset=0pt,top=\vss,bottom=\vss]{\switchtobodyfont[\Titlesize]\color[a]{#1}}}}
+
+%D The macro \tex{Maketitle} produces a default title page with the author, the
+%D title of the presentation, and the date. Using it is not mandatory.
+
+\define\Maketitle{%
+\titback
+\null
+\vfill
+\midaligned{\switchtobodyfont[\Titlesize]\color[b]{\getvariable{taspresent}{title}}}
+\blank[2*line]
+\midaligned{\color[b]{\getvariable{taspresent}{author}}}
+\blank[3*line]
+\midaligned{\color[b]{\currentdate}}
+\vfill
+\null}
+
+%D The following parts are optional; if you don't use backgrounds and are
+%D content with CONTEXT's default itemization, you don't have to set these
+%D macros.
+
+%D We define our colors:
+
+\definecolor [Item] [s=.9]
+\definecolor [a] [s=.9]
+\definecolor [c] [r=.15,g=.15,b=.525]
+\definecolor [b] [r=.2,g=.2,b=.7]
+\definecolor [d] [s=.4]
+
+%D We let Metapost calculate the background:
+
+\startuseMPgraphic{stripe}
+StartPage ;
+numeric a, dur, now, before, proa, prob ;
+pair k[], F[] ;
+a = 2.5cm ;
+dur = 1.5cm ;
+k[1] = ulcorner Page shifted (a,0) ;
+k[2] = llcorner Page shifted (a,0) ;
+k[3] = ulcorner Page shifted (0,-a) ;
+k[4] = urcorner Page shifted (0,-a) ;
+k[5] = ulcorner Page shifted (a,-a) ;
+path p[] ;
+p[1] = ulcorner Page -- k[1] -- k[2] -- llcorner Page -- cycle ;
+p[2] = ulcorner Page -- urcorner Page -- k[4] -- k[3] -- cycle ;
+p[3] = ulcorner Page -- k[1] -- k[5] -- k[3] -- cycle ;
+fill Page withcolor \MPcolor{a} ;
+fill p[1] withcolor \MPcolor{b} ;
+fill p[2] withcolor \MPcolor{b} ;
+fill p[3] withcolor \MPcolor{c} ;
+pickup pencircle scaled 5pt ;
+if \realfolio > 1:
+ before = PageNumber - 1 ;
+ now = NOfPages - 1 ;
+ prob = before/now ;
+ p[4] = unitcircle scaled dur rotated 90 shifted (dur + ((a-dur)/2),(a-dur)/2) ;
+ fill p[4] withcolor \MPcolor{a} ;
+ F[0] = center p[4] ;
+ F[1] = point 1 along p[4] ;
+ F[2] = point -prob along p[4] ;
+ F[3] = point -prob/2 along p[4] ;
+ p[5] = F[0] -- F[1] .. F[3] .. F[2] -- cycle ;
+ fill p[5] withcolor \MPcolor{d} ;
+fi ;
+StopPage ;
+\stopuseMPgraphic
+
+%D We define these backgrounds as overlays:
+
+\defineoverlay
+[lecbackground]
+[\useMPgraphic{stripe}]
+
+%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 These are shortcuts to switch backgrounds:
+
+\define\lecback{\setupbackgrounds[page][background={lecbackground,slidetitle}]}
+\define\titback{\setupbackgrounds[page][background=lecbackground]}
+\define\picback{\setupbackgrounds[page][background={lecbackground,slidetitle}]}
+\define\noback{\setupbackgrounds[page][background=nobackground]}
+
+\setupbackgrounds[page][background=lecbackground]
+
+%D The symbol for the first level of itemizations.
+
+\definesymbol[1][\useMPgraphic{ItTriangle}]
+\setupitemize[1][inmargin][color=a]
+
+\protect
+\stopmodule
+
+\endinput
+
diff --git a/Master/texmf-dist/tex/context/third/taspresent/t-darkshade.tex b/Master/texmf-dist/tex/context/third/taspresent/t-darkshade.tex
new file mode 100644
index 00000000000..e85473a0688
--- /dev/null
+++ b/Master/texmf-dist/tex/context/third/taspresent/t-darkshade.tex
@@ -0,0 +1,165 @@
+%D \module
+%D [ file=t-darkshade,
+%D version=2007.07.17,
+%D title=\CONTEXT\ Style File,
+%D subtitle=Presentation Module darkshade,
+%D author=Thomas A. Schmitz,
+%D date=\currentdate,
+%D copyright={Thomas A. Schmitz}]
+%C
+%C Copyright 2007 Thomas A. Schmitz.
+%C This file may be distributed under the GNU General Public License v. 2.0.
+
+%D This file provides the \quotation{darkshade} style for the presentation
+%D module. It is loaded at runtime.
+
+\writestatus{loading}{module darkshade}
+
+\startmodule[darkshade]
+
+\unprotect
+
+%D The taspresentation module provides a skeleton into which different styles
+%D can be hooked. It uses a number of variables and macros which have to be set
+%D beforehand. Some parts are optional. We begin with the necessary definitions:
+
+%D We start colors; textcolor is white:
+
+\setupcolors[state=start,textcolor=white]
+
+%D The darkshade module has parameters of its own; we set them up and use
+%D them:
+
+\setupmodule[color=blue]
+
+\processaction[\currentmoduleparameter{color}]
+ [ blue=>\def\colormode{bluemode},
+ green=>\def\colormode{greenmode},
+ bluered=>\def\colormode{blueredmode},
+ \v!unknown=>\def\colormode{bluemode},
+ \v!default=>\def\colormode{bluemode}]
+
+\enablemode[\colormode]
+
+%D These macros are used for placing figures/pictures:
+
+\define\NormalHeight{.83\textheight}
+\define\NormalWidth{.476\textwidth}
+\define\PictureFrameHeight{.83\textheight}
+\define\PictureFrameWidth{.476\textwidth}
+
+%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 The macro for typesetting the Slidetitle:
+
+\define[1]\Slidetitle{\page\midaligned{\switchtobodyfont[\Titlesize]#1}\blank[0.75cm]}
+
+%D The macro \tex{Maketitle} produces a default title page with the author, the
+%D title of the presentation, and the date. Using it is not mandatory.
+
+\define\Maketitle{%
+\titback
+\null
+\vfill
+\midaligned{\switchtobodyfont[\Titlesize]\getvariable{taspresent}{title}}
+\blank[2*line]
+\midaligned{\getvariable{taspresent}{author}}
+\blank[3*line]
+\midaligned{\currentdate}
+\vfill
+\null}
+
+%D The following parts are optional; if you don't use backgrounds and are
+%D content with CONTEXT's default itemization, you don't have to set these
+%D macros.
+
+%D We define our colors:
+
+\startmode[blueredmode]
+\definecolor [InteractionColor] [b=.2]
+\definecolor [ContrastColor] [b=.8]
+\definecolor [One] [s=.6]
+\definecolor [Item] [s=1]
+\definecolor [a] [r=0.5,g=0,b=0]
+\definecolor [b] [r=0,g=0,b=0.5]
+\stopmode
+
+
+\startmode[bluemode]
+\definecolor [InteractionColor] [b=.2]
+\definecolor [ContrastColor] [b=.8]
+\definecolor [One] [s=.6]
+\definecolor [Item] [s=1]
+\definecolor [a] [r=0,g=0,b=1]
+\definecolor [b] [r=0,g=0,b=0.05]
+\stopmode
+
+\startmode[greenmode]
+\definecolor [InteractionColor] [s=.2]
+\definecolor [ContrastColor] [s=.5]
+\definecolor [One] [s=.6]
+\definecolor [Item] [s=1]
+\definecolor [a] [r=0,g=.8,b=0]
+\definecolor [b] [r=0,g=0.05,b=0]
+\stopmode
+
+%D We let Metapost calculate the background:
+
+\startuniqueMPgraphic{LinearShade}
+path p ;
+p := unitsquare xscaled \overlaywidth yscaled \overlayheight ;
+linear_shade(p,6,\MPcolor{a},\MPcolor{b}) ;
+\stopuniqueMPgraphic
+
+%D We define these backgrounds as overlays:
+
+\defineoverlay
+[lecbackground]
+[\useMPgraphic{LinearShade}]
+
+%D These are shortcuts to switch backgrounds:
+
+\define\lecback{\setupbackgrounds[page][background=lecbackground]\setupinteractionbar[state=start]}
+\define\titback{\setupbackgrounds[page][background=lecbackground]\setupinteractionbar[state=stop]}
+\define\picback{\setupbackgrounds[page][background=lecbackground]\setupinteractionbar[state=start]}
+\define\noback{\setupbackgrounds[page][background=lecbackground]}
+
+\setupbackgrounds[page][background=lecbackground]
+
+%D The symbol for the first level of itemizations.
+
+\definesymbol[1][\useMPgraphic{ItSquare}]
+
+%D The \quotation{darkshade} style uses \CONTEXT's interactionbar:
+
+\setupsubpagenumber[way=bytext,state=start]
+
+\setupinteraction
+ [page=yes,
+ color=InteractionColor,
+ contrastcolor=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/taspresent/t-doubleframe.tex b/Master/texmf-dist/tex/context/third/taspresent/t-doubleframe.tex
new file mode 100644
index 00000000000..1517fcdd094
--- /dev/null
+++ b/Master/texmf-dist/tex/context/third/taspresent/t-doubleframe.tex
@@ -0,0 +1,278 @@
+%D \module
+%D [ file=t-doubleframe,
+%D version=2007.07.17,
+%D title=\CONTEXT\ Style File,
+%D subtitle=Presentation Module doubleframe,
+%D author=Thomas A. Schmitz,
+%D date=\currentdate,
+%D copyright={Thomas A. Schmitz}]
+%C
+%C Copyright 2007 Thomas A. Schmitz.
+%C This file may be distributed under the GNU General Public License v. 2.0.
+
+%D This file provides the \quotation{doubleframe} style for the presentation
+%D module. It is loaded at runtime.
+
+\writestatus{loading}{module doubleframe}
+
+\startmodule[doubleframe]
+
+\unprotect
+
+%D The taspresentation module provides a skeleton into which different styles
+%D can be hooked. It uses a number of variables and macros which have to be set
+%D beforehand. Some parts are optional. We begin with the necessary definitions:
+
+%D We start colors:
+
+\setupcolors[state=start]
+
+%D The doubleframe module has parameters of its own; we set them up and use
+%D them:
+
+\setupmodule[bottom=square]
+
+\processaction[\currentmoduleparameter{bottom}]
+ [ square=>\def\bottommode{squaremode},
+ stripe=>\def\bottommode{stripemode},
+ \v!unknown=>\def\bottommode{squaremode},
+ \v!default=>\def\bottommode{squaremode}]
+
+\enablemode[\bottommode]
+
+%D These macros are used for placing figures/pictures:
+
+\define\NormalHeight{.98\textheight}
+\define\NormalWidth{.485\textwidth}
+\define\PictureFrameHeight{.98\textheight}
+\define\PictureFrameWidth{.485\textwidth}
+
+%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]
+
+%D The macro for typesetting the Slidetitle; this is adapted from a sample
+%D document that Brooks Moses published on the wiki:
+
+\definelayer[slidetitle]
+ [width=\paperwidth,
+ height=\paperheight,
+ x=10mm,
+ y=3mm]
+
+\define[1]\Slidetitle{\page\setlayer[slidetitle]%
+ {\framed[frame=off,width=\textwidth,height=2.1cm,offset=0pt,top=\vss,bottom=\vss]{\switchtobodyfont[\Titlesize]\color[One]{#1}}}}
+
+%D The macro \tex{Maketitle} produces a default title page with the author, the
+%D title of the presentation, and the date. Using it is not mandatory.
+
+\define\Maketitle{%
+\titback
+\switchtobodyfont[\Titlesize]
+\null
+\vfill
+\midaligned{\color[One]{\getvariable{taspresent}{title}}}
+\blank[2*line]
+\midaligned{\tfx\getvariable{taspresent}{author}}
+\blank[line]
+\midaligned{\tfx\currentdate}
+\vfill
+\null\switchtobodyfont[\Normalsize]}
+
+%D The following parts are optional; if you don't use backgrounds and are
+%D content with CONTEXT's default itemization, you don't have to set these
+%D macros.
+
+%D We define our colors:
+
+\definecolor [BackgroundColor] [r=.85, g=.85, b=.85]
+\definecolor [MyFrameColor] [r=.42, g=.42, b=.7]
+\definecolor [Dark] [r=.9, g=.9, b=.9]
+\definecolor [One] [r=0, g=0, b=.5]
+\definecolor [Two] [r=0, g=0, b=.55]
+\definecolor [Three] [r=0, g=0, b=.6]
+\definecolor [Four] [r=0, g=0, b=.65]
+\definecolor [Five] [r=0, g=0, b=.7]
+\definecolor [Six] [r=0, g=0, b=.75]
+\definecolor [Seven] [r=0, g=0, b=.8]
+\definecolor [Eight] [r=0, g=0, b=.85]
+\definecolor [Nine] [r=0, g=0, b=.9]
+\definecolor [Ten] [r=0, g=0, b=.95]
+\definecolor [Eleven] [r=0, g=0, b=1]
+\definecolor [Item] [One]
+
+%D We let Metapost calculate the background:
+
+\startmode[squaremode]
+\startuseMPgraphic{Bottom09}
+StartPage
+numeric a; a = 0.955cm ;
+numeric b; b = 0.52cm ;
+numeric c; c = 0.8cm ;
+path p[] ;
+p[2] = unitsquare xyscaled (a,a) shifted (b, c) ;
+p[3] = unitsquare xyscaled (a,a) shifted (b+2*a, c) ;
+p[4] = unitsquare xyscaled (a,a) shifted (b+4*a, c) ;
+p[5] = unitsquare xyscaled (a,a) shifted (b+6*a, c) ;
+p[6] = unitsquare xyscaled (a,a) shifted (b+8*a, c) ;
+p[7] = unitsquare xyscaled (a,a) shifted (b+10*a, c) ;
+p[8] = unitsquare xyscaled (a,a) shifted (b+12*a, c) ;
+p[9] = unitsquare xyscaled (a,a) shifted (b+14*a, c) ;
+p[10] = unitsquare xyscaled (a,a) shifted (b+16*a, c) ;
+p[11] = unitsquare xyscaled (a,a) shifted (b+18*a, c) ;
+p[12] = unitsquare xyscaled (a,a) shifted (b+20*a, c) ;
+fill p[2] withcolor \MPcolor{One} ;
+fill p[3] withcolor \MPcolor{Two} ;
+fill p[4] withcolor \MPcolor{Three} ;
+fill p[5] withcolor \MPcolor{Four} ;
+fill p[6] withcolor \MPcolor{Five} ;
+fill p[7] withcolor \MPcolor{Six} ;
+fill p[8] withcolor \MPcolor{Seven} ;
+fill p[9] withcolor \MPcolor{Eight} ;
+fill p[10] withcolor \MPcolor{Nine} ;
+fill p[11] withcolor \MPcolor{Ten} ;
+fill p[12] withcolor \MPcolor{Eleven} ;
+pickup pencircle scaled 2pt ;
+if NOfPages = 12:
+ for j=2 upto 12:
+ if PageNumber=(j):
+ draw llcorner p[j] --urcorner p[j] withcolor \MPcolor{BackgroundColor} ;
+ fi ;
+ endfor ;
+fi ;
+numeric o; o = NOfPages - 1 ;
+numeric i; i = PageNumber - 1 ;
+numeric k; k = i/o ;
+if NOfPages > 12:
+ if i = 1:
+ draw llcorner p[2] -- urcorner p[2] withcolor \MPcolor{BackgroundColor} ;
+ elseif (k>0.01) and (k<=2/11):
+ draw llcorner p[3] -- urcorner p[3] withcolor \MPcolor{BackgroundColor} ;
+ elseif (k>2/11) and (k<=3/11):
+ draw llcorner p[4] -- urcorner p[4] withcolor \MPcolor{BackgroundColor} ;
+ elseif (k>3/11) and (k<=4/11):
+ draw llcorner p[5] -- urcorner p[5] withcolor \MPcolor{BackgroundColor} ;
+ elseif (k>4/11) and (k<=5/11):
+ draw llcorner p[6] -- urcorner p[6] withcolor \MPcolor{BackgroundColor} ;
+ elseif (k>5/111) and (k<6/11):
+ draw llcorner p[7] -- urcorner p[7] withcolor \MPcolor{BackgroundColor} ;
+ elseif (k>6/11) and (k<=7/11):
+ draw llcorner p[8] -- urcorner p[8] withcolor \MPcolor{BackgroundColor} ;
+ elseif (k>7/11) and (k<=8/11):
+ draw llcorner p[9] -- urcorner p[9] withcolor \MPcolor{BackgroundColor} ;
+ elseif (k>8/11) and (k<=9/11):
+ draw llcorner p[10] -- urcorner p[10] withcolor \MPcolor{BackgroundColor} ;
+ elseif (k>9/11) and (k<1):
+ draw llcorner p[11] -- urcorner p[11] withcolor \MPcolor{BackgroundColor} ;
+ elseif k=1:
+ draw llcorner p[12] -- urcorner p[12] withcolor \MPcolor{BackgroundColor} ;
+ fi ;
+fi
+StopPage
+\stopuseMPgraphic
+\stopmode
+
+\startmode[stripemode]
+\startuseMPgraphic{Bottom09}
+StartPage
+path p[] ;
+p[1] := unitsquare xyscaled(0.95*OverlayWidth,1cm) shifted (0.52cm,0.8cm) ;
+linear_shade(p[1],0,\MPcolor{BackgroundColor},\MPcolor{One}) ;
+numeric i; i = PageNumber/NOfPages ;
+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] = ulcorner p[1] -- o[1] -- o[2] -- llcorner p[1] -- cycle ;
+clip currentpicture to p[4] ;
+StopPage
+\stopuseMPgraphic
+\stopmode
+
+\startuniqueMPgraphic{PicBackground09}
+StartPage ;
+fill Page withcolor \MPcolor{BackgroundColor} ;
+draw unitsquare
+xyscaled(OverlayWidth,OverlayHeight)
+enlarged (-.2cm)
+withpen pencircle scaled 4pt
+withcolor \MPcolor{MyFrameColor} ;
+draw unitsquare
+xyscaled(0.448*OverlayWidth,0.815*OverlayHeight)
+shifted (0.528*OverlayWidth, 0.15*OverlayHeight)
+withpen pencircle scaled 2pt
+withcolor \MPcolor{MyFrameColor} ;
+StopPage ;
+\stopuniqueMPgraphic
+
+\startuniqueMPgraphic{Background09}
+fill unitsquare
+xyscaled(OverlayWidth,OverlayHeight)
+withcolor \MPcolor{BackgroundColor} ;
+draw unitsquare
+xyscaled(OverlayWidth,OverlayHeight)
+enlarged (-.2cm)
+withpen pencircle scaled 4pt
+withcolor \MPcolor{MyFrameColor} ;
+draw unitsquare
+xyscaled(0.95*OverlayWidth,0.7*OverlayHeight)
+shifted (0.025*OverlayWidth, 0.15*OverlayHeight)
+withpen pencircle scaled 2pt
+withcolor \MPcolor{MyFrameColor} ;
+\stopuniqueMPgraphic
+
+\startuniqueMPgraphic{FancyFrame}
+draw unitsquare xyscaled(OverlayWidth-2pt,OverlayHeight-2pt)
+withpen pencircle scaled 2pt
+withcolor \MPcolor{MyFrameColor} ;
+\stopuniqueMPgraphic
+
+%D We define these backgrounds as overlays:
+
+\defineoverlay
+[bottom]
+[\useMPgraphic{Bottom09}]
+
+\defineoverlay
+[lecbackground]
+[\useMPgraphic{Background09}]
+
+\defineoverlay
+[picbackground]
+[\useMPgraphic{PicBackground09}]
+
+\defineoverlay
+[FrameFrame]
+[\uniqueMPgraphic{FancyFrame}]
+
+%D These are shortcuts to switch backgrounds:
+
+\define\lecback{\setupbackgrounds[page][background={lecbackground,bottom,slidetitle}]\setuplayout[backspace=1cm,header=2.1cm]}
+\define\titback{\setupbackgrounds[page][background=lecbackground]\setuplayout[backspace=1cm]}
+\define\picback{\setupbackgrounds[page][background={picbackground,bottom}]\setuplayout[backspace=0.5cm,header=0cm]}
+\define\noback{\setupbackgrounds[page][background=nobackground]}
+
+%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 The symbol for the first level of itemizations.
+
+\definesymbol[1][\useMPgraphic{ItSquare}]
+\setupitemize[color=One]
+
+\protect
+\stopmodule
+
+\endinput
+
diff --git a/Master/texmf-dist/tex/context/third/taspresent/t-doubleshade.tex b/Master/texmf-dist/tex/context/third/taspresent/t-doubleshade.tex
new file mode 100644
index 00000000000..858540e9efa
--- /dev/null
+++ b/Master/texmf-dist/tex/context/third/taspresent/t-doubleshade.tex
@@ -0,0 +1,130 @@
+%D \module
+%D [ file=t-doubleshade,
+%D version=2007.07.17,
+%D title=\CONTEXT\ Style File,
+%D subtitle=Presentation Module doubleshade,
+%D author=Thomas A. Schmitz,
+%D date=\currentdate,
+%D copyright={Thomas A. Schmitz}]
+%C
+%C Copyright 2007 Thomas A. Schmitz.
+%C This file may be distributed under the GNU General Public License v. 2.0.
+
+%D This file provides the \quotation{doubleshade} style for the presentation
+%D module. It is loaded at runtime.
+
+\writestatus{loading}{module doubleshade}
+
+\startmodule[doubleshade]
+
+\unprotect
+
+%D The taspresentation module provides a skeleton into which different styles
+%D can be hooked. It uses a number of variables and macros which have to be set
+%D beforehand. Some parts are optional. We begin with the necessary definitions:
+
+%D We start colors; textcolor is white:
+
+\setupcolors[state=start,textcolor=white]
+
+%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 The page layout:
+
+\setuplayout [width=fit,
+ leftmargin=1.5cm,
+ rightmargin=0cm,
+ leftmargindistance=.7cm,
+ rightmargindistance=0pt,
+ height=fit,
+ header=0pt,
+ footer=5pt,
+ topspace=.8cm,
+ backspace=3.5cm,
+ cutspace=2.7cm,
+ bottomspace=0cm,
+ bottom=0pt,
+ location=singlesided]
+
+%D The macro for typesetting the Slidetitle:
+
+\define[1]\Slidetitle{\page\framed[frame=off,offset=0pt,height=1.1cm,width=\textwidth,align=middle]{\switchtobodyfont[\Titlesize]\color[c]{#1}}\blank[0.5cm]}
+
+%D The macro \tex{Maketitle} produces a default title page with the author, the
+%D title of the presentation, and the date. Using it is not mandatory.
+
+\define\Maketitle{%
+\titback
+\null
+\vfill
+\midaligned{\switchtobodyfont[\Titlesize]\color[c]{\getvariable{taspresent}{title}}}
+\blank[2*line]
+\midaligned{\color[c]{\getvariable{taspresent}{author}}}
+\blank[3*line]
+\midaligned{\color[c]{\currentdate}}
+\vfill
+\null}
+
+%D The following parts are optional; if you don't use backgrounds and are
+%D content with CONTEXT's default itemization, you don't have to set these
+%D macros.
+
+%D We define our colors:
+
+\definecolor [Item] [r=1,g=1,b=1]
+\definecolor [a] [r=0,g=0,b=1]
+\definecolor [c] [r=.63,g=.8,b=1]
+\definecolor [b] [r=0,g=0,b=0.05]
+
+%D We let Metapost calculate the background:
+
+\startuseMPgraphic{LinearShade}
+StartPage ;
+path p[] ;
+p[1] := ulcorner Page -- llcorner Page -- llcorner Page shifted (4cm,0) -- ulcorner Page shifted (4cm,0) -- cycle ;
+circular_shade(p[1],0,\MPcolor{a},\MPcolor{b}) ;
+numeric a; a = 2*NOfPages-1 ;
+numeric c; c = PaperHeight/a ;
+for i = 1 step 2 until a:
+ p[i] := unitsquare xyscaled (0.5cm,0.5cm) ;
+ fill p[i] shifted (0.75cm,c*i) withcolor \MPcolor{a} ;
+ if i=(2*PageNumber-3):
+ fill p[i] shifted (0.75cm,c*i) withcolor \MPcolor{c} ;
+ fi ;
+endfor ;
+p[3] := ulcorner Field[Text][Text] -- urcorner Page -- lrcorner Page -- llcorner Field[Text][Text] -- cycle ;
+p[3] := p[3] enlarged (.4cm,.4cm) ;
+linear_shade(p[3],6,\MPcolor{a},\MPcolor{b}) ;
+StopPage ;
+\stopuseMPgraphic
+
+%D We define these backgrounds as overlays:
+
+\defineoverlay
+[lecbackground]
+[\useMPgraphic{LinearShade}]
+
+%D These are shortcuts to switch backgrounds:
+
+\define\lecback{\setupbackgrounds[page][background=lecbackground]}
+\define\titback{\setupbackgrounds[page][background=lecbackground]}
+\define\picback{\setupbackgrounds[page][background=lecbackground]}
+\define\noback{\setupbackgrounds[page][background=lecbackground]}
+
+\setupbackgrounds[page][background=lecbackground]
+
+%D The symbol for the first level of itemizations.
+
+\definesymbol[1][\useMPgraphic{ItSquare}]
+\setupitemize[1][inmargin]
+
+\protect
+\stopmodule
+
+\endinput
+
diff --git a/Master/texmf-dist/tex/context/third/taspresent/t-embossed.tex b/Master/texmf-dist/tex/context/third/taspresent/t-embossed.tex
new file mode 100644
index 00000000000..97888a7977c
--- /dev/null
+++ b/Master/texmf-dist/tex/context/third/taspresent/t-embossed.tex
@@ -0,0 +1,147 @@
+%D \module
+%D [ file=t-embossed,
+%D version=2007.07.17,
+%D title=\CONTEXT\ Style File,
+%D subtitle=Presentation Module embossed,
+%D author=Thomas A. Schmitz,
+%D date=\currentdate,
+%D copyright={Thomas A. Schmitz}]
+%C
+%C Copyright 2007 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{loading}{module embossed}
+
+\startmodule[embossed]
+
+\unprotect
+
+%D The taspresentation module provides a skeleton into which different styles
+%D can be hooked. It uses a number of variables and macros which have to be set
+%D beforehand. Some parts are optional. We begin with the necessary definitions:
+
+%D We start colors:
+
+\setupcolors[state=start]
+
+%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 The page layout:
+
+\setuplayout [width=fit,
+ margin=1.3cm,
+ height=fit,
+ header=1cm,
+ footer=1cm,
+ topspace=10mm,
+ backspace=2cm,
+ location=singlesided]
+
+%D The macro for typesetting the Slidetitle; this is adapted from a sample
+%D document that Brooks Moses published on the wiki:
+
+\definelayer[slidetitle]
+ [width=\paperwidth,
+ height=\paperheight,
+ x=20mm,
+ y=2mm]
+
+\define[1]\Slidetitle{\page\setlayer[slidetitle]%
+ {\framed[frame=off,height=2cm,width=\textwidth,offset=0pt,align=middle,top=\vss,bottom=\vss]{\switchtobodyfont[\Titlesize]\color[e]{#1}}}}
+
+%D The macro \tex{Maketitle} produces a default title page with the author, the
+%D title of the presentation, and the date. Using it is not mandatory.
+
+\define\Maketitle{%
+\titback
+\null
+\vfill
+\midaligned{\switchtobodyfont[\Titlesize]\color[e]{\getvariable{taspresent}{title}}}
+\blank[2*line]
+\midaligned{\getvariable{taspresent}{author}}
+\blank[3*line]
+\midaligned{\currentdate}
+\vfill
+\null}
+
+%D The following parts are optional; if you don't use backgrounds and are
+%D content with CONTEXT's default itemization, you don't have to set these
+%D macros.
+
+%D We define our colors:
+
+\definecolor [a] [r=1,g=1,b=.8]
+\definecolor [Item] [r=.2,b=.2,b=.5]
+\definecolor [b] [r=.6,g=.2,b=.2]
+\definecolor [c] [r=.7,g=.2,b=.2]
+\definecolor [d] [r=.4,g=.2,b=.2]
+\definecolor [e] [r=.2,g=.2,b=.5]
+\definecolor [f] [s=.4]
+
+\definefontsynonym [BigBoss] [uhvb8r]
+\definefont[Emblem] [BigBoss at 30pt]
+
+%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:
+
+\startuseMPgraphic{redyellow}
+StartPage ;
+picture boss ;
+picture bboss ;
+pair zf[] ;
+fill Page withcolor \MPcolor{a} ;
+path gr[] ;
+numeric a; a = 2cm ;
+numeric b; b = 0.9cm ;
+z.f1 = llcorner Page shifted (0,a) ;
+z.f2 = lrcorner Page shifted (0,a) ;
+gr[1] = llcorner Page -- z.f1 -- z.f2 -- lrcorner Page -- cycle ;
+fill gr[1] withcolor \MPcolor{b} ;
+pickup pencircle scaled 6pt ;
+gr[2] = ulcorner Page -- urcorner Page -- lrcorner Page -- llcorner Page -- cycle ;
+gr[2] := gr[2] enlarged -2.8.pt ;
+draw gr[2] withcolor \MPcolor{f} ;
+draw z.f1 -- z.f2 withcolor \MPcolor{f} ;
+boss := \sometxt{\framed[width=\textwidth,height=2cm,offset=0pt,align=right,top=\vss,bottom=\vss,frame=off]{\Emblem \color[c]{Made with \CONTEXT\hfill \pagenumber\ of \lastpage}}} ;
+bboss := \sometxt{\framed[width=\textwidth,height=2cm,offset=0pt,align=right,top=\vss,bottom=\vss,frame=off]{\Emblem \color[d]{Made with \CONTEXT\hfill \pagenumber\ of \lastpage}}} ;
+draw bboss shifted (1.96cm,0.04cm) ;
+draw boss shifted (2cm,0) ;
+StopPage ;
+\stopuseMPgraphic
+
+
+%D We define these backgrounds as overlays:
+
+\defineoverlay[yellowbg]
+[\useMPgraphic{redyellow}]
+
+%D These are shortcuts to switch backgrounds:
+
+\define\lecback{\setuplayout[header=10mm]\setupbackgrounds[page][background={yellowbg,slidetitle}]}
+\define\titback{\setuplayout[header=0mm]\setupbackgrounds[page][background={yellowbg}]}
+\define\picback{\setuplayout[header=0mm]\setupbackgrounds[page][background={yellowbg}]}
+\define\noback{\setupbackgrounds[page][background=nobackground]}
+
+%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 The symbol for the first level of itemizations.
+
+\definesymbol[1][\useMPgraphic{ItSquare}]
+\setupitemize[1][inmargin][color=e]
+
+\protect
+\stopmodule
+
+\endinput
+
diff --git a/Master/texmf-dist/tex/context/third/taspresent/t-graybeams.tex b/Master/texmf-dist/tex/context/third/taspresent/t-graybeams.tex
new file mode 100644
index 00000000000..1388cc93354
--- /dev/null
+++ b/Master/texmf-dist/tex/context/third/taspresent/t-graybeams.tex
@@ -0,0 +1,172 @@
+%D \module
+%D [ file=t-graybeams,
+%D version=2007.07.17,
+%D title=\CONTEXT\ Style File,
+%D subtitle=Presentation Module graybeams,
+%D author=Thomas A. Schmitz,
+%D date=\currentdate,
+%D copyright={Thomas A. Schmitz}]
+%C
+%C Copyright 2007 Thomas A. Schmitz.
+%C This file may be distributed under the GNU General Public License v. 2.0.
+
+%D This file provides the \quotation{graybeams} 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\ {\tt beamer} package.
+
+\writestatus{loading}{module graybeams}
+
+\startmodule[graybeams]
+
+\unprotect
+
+%D The taspresentation module provides a skeleton into which different styles
+%D can be hooked. It uses a number of variables and macros which have to be set
+%D beforehand. Some parts are optional. We begin with the necessary definitions:
+
+%D We start colors:
+
+\setupcolors[state=start]
+
+%D These macros are used for placing figures/pictures:
+
+\define\NormalHeight{.97\textheight}
+\define\NormalWidth{.476\textwidth}
+\define\PictureFrameHeight{.97\textheight}
+\define\PictureFrameWidth{.476\textwidth}
+
+%D The page layout:
+
+\setuplayout [width=fit,
+ margin=0cm,
+ height=14.7cm,
+ header=1.75cm,
+ footer=1.5cm,
+ topspace=1cm,
+ backspace=1cm,
+ location=singlesided]
+
+%D The macro for typesetting the Slidetitle; this is adapted from a sample
+%D document that Brooks Moses published on the wiki:
+
+\definelayer[slidetitle]
+ [width=\paperwidth,
+ height=\paperheight,
+ x=10mm]
+
+\define[1]\Slidetitle{\page\setlayer[slidetitle]%
+ {\framed[frame=off,width=\textwidth,height=2.25cm,offset=0pt,top=\vss,bottom=\vss]{\switchtobodyfont[\Titlesize]\color[c]{#1}}}}
+
+%D The macro \tex{Maketitle} produces a default title page with the author, the
+%D title of the presentation, and the date. Using it is not mandatory.
+
+\define\Maketitle{%
+\titback
+\null
+\vfill
+\framed[frame=off,width=\textwidth,height=.75\textheight,top=\vss,bottom=\vss,align=middle]{\switchtobodyfont[\Titlesize]\color[c]{\getvariable{taspresent}{title}}\switchtobodyfont[\Normalsize]\blank[line]\color[c]{\getvariable{taspresent}{author}\blank[2*line]\currentdate}}
+\vfill
+\null}
+
+%D The following parts are optional; if you don't use backgrounds and are
+%D content with CONTEXT's default itemization, you don't have to set these
+%D macros.
+
+%D We define our colors:
+
+\definecolor [a] [s=.97]
+\definecolor [b] [s=.88]
+\definecolor [c] [r=.75]
+\definecolor [Item] [r=.75]
+
+%D We let Metapost calculate the background:
+
+\startuniqueMPgraphic{beams}
+StartPage ;
+pair zd[] ;
+path pb[] ;
+numeric a; a=2.1cm ;
+numeric b; b=1.5cm ;
+fill Page withcolor \MPcolor{a} ;
+z.d1 = llcorner Page shifted (0,2*a) ;
+z.d2 = z.d1 shifted (0,2*a) ;
+z.d3 = lrcorner Page shifted (0,b) ;
+z.d4 = z.d3 shifted (0,b) ;
+z.d5 = z.d2 shifted (0,b) ;
+z.d6 = ulcorner Page shifted (.1cm,0) ;
+z.d7 = z.d4 shifted (0,b/2) ;
+z.d8 = z.d7 shifted (0,b) ;
+z.d9 = ulcorner Page shifted (.1cm+a,0) ;
+z.d10 = z.d9 shifted (3*a,0) ;
+z.d11 = z.d8 shifted (0,b/2) ;
+z.d12 = z.d11 shifted (0,b) ;
+z.d13 = z.d10 shifted (a,0) ;
+z.d14 = z.d13 shifted (3*a,0) ;
+z.d15 = z.d12 shifted (0,b/2) ;
+z.d16 = z.d15 shifted (0,b) ;
+z.d17 = llcorner Page shifted (0,b) ;
+pb[1] = z.d1 -- z.d2 -- z.d4 -- z.d3 -- cycle ;
+fill pb[1] withcolor \MPcolor{b} ;
+pb[2] = z.d5 -- ulcorner Page -- z.d6 -- z.d8 -- z.d7 -- cycle ;
+fill pb[2] withcolor \MPcolor{b} ;
+pb[3] = z.d9 -- z.d10 -- z.d12 -- z.d11 -- cycle ;
+fill pb[3] withcolor \MPcolor{b} ;
+pb[4] = z.d13 -- z.d14 -- z.d16 -- z.d15 -- cycle ;
+fill pb[4] withcolor \MPcolor{b} ;
+pb[5] = llcorner Page -- z.d17 -- z.d3 -- lrcorner Page -- cycle ;
+fill pb[5] withcolor \MPcolor{c} ;
+StopPage ;
+\stopuniqueMPgraphic
+
+\startuniqueMPgraphic{redstripes}
+StartPage ;
+path pb[] ;
+numeric b; b=1.5cm ;
+z.d18 = ulcorner Page shifted (0,-1.5*b) ;
+z.d19 = z.d18 shifted (0,-1pt) ;
+z.d20 = urcorner Page shifted (0,-1.5*b) ;
+z.d21 = z.d20 shifted (0,-1pt) ;
+pb[6] = z.d18 -- z.d19 -- z.d21 -- z.d20 -- cycle ;
+linear_shade(pb[6],0,\MPcolor{c},\MPcolor{a}) ;
+pb[7] = pb[6] shifted (0,-3pt) ;
+linear_shade(pb[7],0,\MPcolor{c},\MPcolor{a}) ;
+StopPage ;
+\stopuniqueMPgraphic
+
+%D We define these backgrounds as overlays:
+
+\defineoverlay
+[lecbackground]
+[\useMPgraphic{redstripes}]
+
+\defineoverlay
+[picbackground]
+[\useMPgraphic{beams}]
+
+%D We define the footer
+
+\setupfooter[color=a,style={\switchtobodyfont[10pt]},strut=yes]
+\setupfootertexts[{\framed[frame=off,height=1cm,width=\textwidth]{\getvariable{taspresent}{title}\hfill \pagenumber\ of \lastpage}}]
+
+%D These are shortcuts to switch backgrounds:
+
+\define\lecback{\setuplayout[header=1.75cm]\setupfooter[state=start]\setupbackgrounds[page][background={picbackground,lecbackground,slidetitle}]}
+\define\titback{\setuplayout[header=1.75cm]\setupfooter[state=stop]\setupbackgrounds[page][background={picbackground,lecbackground}]}
+\define\picback{\setuplayout[header=0cm]\setupfooter[state=start]\setupbackgrounds[page][background={picbackground}]}
+\define\noback{\setupbackgrounds[page][background=nobackground]}
+
+%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 The symbol for the first level of itemizations.
+
+\definesymbol[1][\useMPgraphic{ItSquare}]
+\setupitemize[1][color=c]
+
+\protect
+\stopmodule
+
+\endinput
+
diff --git a/Master/texmf-dist/tex/context/third/taspresent/t-graysquare.tex b/Master/texmf-dist/tex/context/third/taspresent/t-graysquare.tex
new file mode 100644
index 00000000000..e02fd0a1af0
--- /dev/null
+++ b/Master/texmf-dist/tex/context/third/taspresent/t-graysquare.tex
@@ -0,0 +1,145 @@
+%D \module
+%D [ file=t-graysquare,
+%D version=2007.07.17,
+%D title=\CONTEXT\ Style File,
+%D subtitle=Presentation Module graysquare,
+%D author=Thomas A. Schmitz,
+%D date=\currentdate,
+%D copyright={Thomas A. Schmitz}]
+%C
+%C Copyright 2007 Thomas A. Schmitz.
+%C This file may be distributed under the GNU General Public License v. 2.0.
+
+%D This file provides the \quotation{graysquare} 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{loading}{module graysquare}
+
+\startmodule[graysquare]
+
+\unprotect
+
+%D The taspresentation module provides a skeleton into which different styles
+%D can be hooked. It uses a number of variables and macros which have to be set
+%D beforehand. Some parts are optional. We begin with the necessary definitions:
+
+%D We define our colors:
+
+\definecolor [a] [r=.95,g=.95,b=.95]
+\definecolor [b] [r=.7,g=.1,b=.3]
+\definecolor [c] [s=.3]
+\definecolor [Item] [r=.7,g=.1,b=.3]
+
+%D We start colors:
+
+\setupcolors[state=start]
+
+%D These macros are used for placing figures/pictures:
+
+\define\NormalHeight{\textheight}
+\define\NormalWidth{.5\textwidth}
+\define\PictureFrameHeight{\textheight}
+\define\PictureFrameWidth{.5\textwidth}
+
+%D The page layout:
+
+\setuplayout [width=fit,
+ height=middle,
+ margin=0cm,
+ height=fit,
+ margindistance=0cm,
+ header=0cm,
+ footer=0cm,
+ topspace=2cm,
+ backspace=1.5cm,
+ location=singlesided]
+
+%D The macro for typesetting the Slidetitle; this is adapted from a sample
+%D document that Brooks Moses published on the wiki:
+
+\definelayer[slidetitle]
+ [width=\paperwidth,
+ height=\paperheight,
+ x=15mm]
+
+\define[1]\Slidetitle{\page\setlayer[slidetitle]%
+ {\framed[framecolor=red,frame=off,width=\textwidth,height=3cm,offset=0pt,top=\vss,bottom=\vss,align=left]{\switchtobodyfont[\Titlesize]\color[b]{#1}}}}
+
+%D The macro \tex{Maketitle} produces a default title page with the author, the
+%D title of the presentation, and the date. Using it is not mandatory.
+
+\define\Maketitle{%
+\titback
+\null
+\vfill
+\midaligned{\switchtobodyfont[\Titlesize]\color[b]{\getvariable{taspresent}{title}}}
+\blank[2*line]
+\midaligned{\color[b]{\getvariable{taspresent}{author}}}
+\blank[3*line]
+\midaligned{\color[b]{\currentdate}}
+\vfill
+\null}
+
+%D The following parts are optional; if you don't use backgrounds and are
+%D content with CONTEXT's default itemization, you don't have to set these
+%D macros.
+
+%D We let Metapost calculate the background:
+
+\startuseMPgraphic{bottom}
+StartPage ;
+fill Page withcolor \MPcolor{a} ;
+z.b1 = llcorner Field[Text][Text] ;
+z.b2 = lrcorner Field[Text][Text] ;
+path wdt ;
+wdt = z.b1 -- z.b2 ;
+numeric diff; diff = .3cm ;
+numeric arc; arc = arclength (wdt) - diff ;
+numeric pages; pages = NOfPages - 1 ;
+numeric factor; factor = arc/pages ;
+path m[] ;
+m[0] = unitsquare xyscaled (diff,diff) shifted (x.b1,0.85cm) ;
+fill m[0] withcolor \MPcolor{c} ;
+if PageNumber = 1:
+ fill m[0] xyscaled (0,2) shifted (0,-diff-.85cm) withcolor \MPcolor{b} ;
+fi ;
+for i = 1 upto pages:
+ m[i] = m[0] shifted (i*factor,0) ;
+ fill m[i] withcolor \MPcolor{c} ;
+ if i+1 = PageNumber:
+% fill m[i] withcolor \MPcolor{b} ;
+ fill m[i] xyscaled (0,2) shifted (0,-diff-.85cm) withcolor \MPcolor{b} ;
+ fi ;
+endfor ;
+StopPage ;
+\stopuseMPgraphic
+
+%D We define these backgrounds as overlays:
+
+\defineoverlay
+[lecbackground]
+[\useMPgraphic{bottom}]
+
+%D These are shortcuts to switch backgrounds:
+
+\define\lecback{\setuplayout[header=1cm]\setupbackgrounds[page][background={lecbackground,slidetitle}]}
+\define\titback{\setuplayout[header=0cm]\setupbackgrounds[page][background=lecbackground]}
+\define\picback{\setuplayout[header=0cm]\setupbackgrounds[page][background={lecbackground,slidetitle}]}
+\define\noback{\setupbackgrounds[page][background=nobackground]}
+
+%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=0cm]
+
+%D The symbol for the first level of itemizations.
+
+\definesymbol[1][\useMPgraphic{ItSquare}]
+\setupitemize[1][color=b]
+
+\protect
+\stopmodule
+
+\endinput
+
diff --git a/Master/texmf-dist/tex/context/third/taspresent/t-greenblue.tex b/Master/texmf-dist/tex/context/third/taspresent/t-greenblue.tex
new file mode 100644
index 00000000000..311fe74d711
--- /dev/null
+++ b/Master/texmf-dist/tex/context/third/taspresent/t-greenblue.tex
@@ -0,0 +1,209 @@
+%D \module
+%D [ file=t-greenblue,
+%D version=2007.07.25,
+%D title=\CONTEXT\ Style File,
+%D subtitle=Presentation Module greenblue,
+%D author=Thomas A. Schmitz,
+%D date=\currentdate,
+%D copyright={Thomas A. Schmitz}]
+%C
+%C Copyright 2007 Thomas A. Schmitz.
+%C This file may be distributed under the GNU General Public License v. 2.0.
+
+%D This file provides the \quotation{greenblue} 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{loading}{module greenblue}
+
+\startmodule[greenblue]
+
+\unprotect
+
+%D The taspresentation module provides a skeleton into which different styles
+%D can be hooked. It uses a number of variables and macros which have to be set
+%D beforehand. Some parts are optional. We begin with the necessary definitions:
+
+%D We define our colors:
+
+\definecolor [Item] [r=.09,g=.2,b=.41]
+\definecolor [a] [s=.95]
+\definecolor [b] [r=.58,g=.81,b=.58]
+\definecolor [c] [r=.09,g=.2,b=.41]
+\definecolor [d] [r=.04,g=.4,b=.4]
+
+%D We start colors; textcolor is white:
+
+\setupcolors[state=start,textcolor=c]
+
+%D These macros are used for placing figures/pictures:
+
+\define\NormalHeight{\textheight}
+\define\NormalWidth{.476\textwidth}
+\define\PictureFrameHeight{\textheight}
+\define\PictureFrameWidth{.476\textwidth}
+
+%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]
+
+%D The macro for typesetting the Slidetitle; this is adapted from a sample
+%D document that Brooks Moses published on the wiki:
+
+\definelayer[slidetitle]
+ [width=\paperwidth,
+ height=\paperheight,
+ x=25mm,
+ y=25mm]
+
+\define[1]\Slidetitle{\page\setlayer[slidetitle]%
+ {\framed[frame=off,width=\textwidth,height=2cm,offset=0pt,align=right,top=\vss,bottom=\vss]{\switchtobodyfont[\Titlesize]\color[d]{\bf #1}}}}
+
+%D The macro \tex{Maketitle} produces a default title page with the author, the
+%D title of the presentation, and the date. Using it is not mandatory.
+
+\definelayer[prestitle]
+ [width=\paperwidth,
+ height=\paperheight,
+ y=30mm]
+
+\definelayer[presauthor]
+ [width=.5\paperwidth,
+ height=.5\paperheight,
+ x=104mm,
+ y=118mm]
+
+\define\Maketitle{%
+\titback\null
+\setlayer[prestitle]%
+{\framed[frame=off,width=\paperwidth,height=4cm,offset=0pt,align=middle,top=\vss,bottom=\vss]{\switchtobodyfont[\Titlesize]\color[c]{\bf \getvariable{taspresent}{title}}}}
+\setlayer[presauthor]%
+{\framed[frame=off,width=.5\paperwidth,height=4cm,offset=0pt,align=middle,top=\vss,bottom=\vss]{\switchtobodyfont[\Normalsize]\color[c]{\getvariable{taspresent}{author}}}}}
+
+%D The following parts are optional; if you don't use backgrounds and are
+%D content with CONTEXT's default itemization, you don't have to set these
+%D macros.
+
+%D We let Metapost calculate the background:
+
+\startuseMPgraphic{greenframe}
+StartPage ;
+fill Page withcolor \MPcolor{a} ;
+numeric a ; a = 2cm ;
+numeric b ; b = 0.7cm ;
+numeric c ; c = 6cm ;
+numeric d ; d = .7cm ;
+pair zc[] ;
+zc1 = llcorner Page shifted (a,0) ;
+zc2 = ulcorner Page shifted (a,-a-b) ;
+zc3 = ulcorner Page shifted (a+b/4,-a-b/4) ;
+zc4 = ulcorner Page shifted (a+b,-a) ;
+zc5 = urcorner Page shifted (0,-a) ;
+zc6 = ulcorner Page shifted (c,0) ;
+zc7 = ulcorner Page shifted (c,-a) ;
+path pa[] ;
+pa[1] = llcorner Page -- zc1 -- zc2 .. zc3 .. zc4 -- zc7 -- zc6 -- ulcorner Page -- cycle ;
+fill pa[1] withcolor \MPcolor{b} ;
+draw \sometxt{\framed[frame=off,width=2cm,height=2cm]{\color[a]{\pagenumber}}} ;
+StopPage ;
+\stopuseMPgraphic
+
+\startuniqueMPgraphic{bluebeam}
+StartPage ;
+numeric a ; a = 2cm ;
+numeric b ; b = 0.7cm ;
+numeric c ; c = 6cm ;
+numeric d ; d = .7cm ;
+pair zc[] ;
+zc8 = ulcorner Page shifted (a/2,-2.2*a) ;
+zc9 = zc8 shifted (0,-d) ;
+zc10 = urcorner Page shifted (-a,-2.2*a-d) ;
+zc11 = zc10 shifted (0,d) ;
+zc12 = zc8 shifted (-d/2,-d/2) ;
+path pa[] ;
+pa[3] = zc8 .. zc12 .. zc9 -- zc10 -- zc11 -- cycle ;
+fill pa[3] withcolor \MPcolor{c} ;
+StopPage ;
+\stopuniqueMPgraphic
+
+\startuniqueMPgraphic{Titlebg}
+StartPage ;
+numeric a ; a = 4cm ;
+numeric b ; b = 3cm ;
+numeric c ; c = 8cm ;
+numeric d ; d = .7cm ;
+path pa[] ;
+pair zc [] ;
+fill Page withcolor \MPcolor{a} ;
+pa[1] = ulcorner Page -- ulcorner Page shifted (PaperWidth/2,0) -- llcorner Page shifted (PaperWidth/2,0) -- llcorner Page -- cycle ;
+fill pa[1] withcolor \MPcolor{b} ;
+zc1 = ulcorner Page shifted (PaperWidth/2,-b) ;
+zc2 = zc1 shifted (-c,0) ;
+zc3 = zc2 shifted (0,-a) ;
+zc4 = zc3 shifted (c,0) ;
+zc5 = zc2 shifted (-1.5cm,-a/2) ;
+pa[2] = zc1 -- zc2 .. zc5 .. zc3 -- zc4 -- cycle ;
+fill pa[2] withcolor \MPcolor{a} ;
+zc6 = llcorner Page shifted (PaperWidth/2,0) ;
+zc7 = 1/2[zc6,zc4] ;
+zc8 = zc7 shifted (-.75*b,d/2) ;
+zc9 = zc8 shifted (0,-d) ;
+zc10 = zc9 shifted (1.3*c,0) ;
+zc11 = zc10 shifted (0,d) ;
+zc12 = zc10 shifted (d/2,d/2) ;
+pa[3] = zc8 -- zc9 -- zc10 .. zc12 .. zc11 -- cycle ;
+fill pa[3] withcolor \MPcolor{c} ;
+StopPage ;
+\stopuniqueMPgraphic
+
+%D We define these backgrounds as overlays:
+
+\defineoverlay
+[picbackground]
+[\useMPgraphic{greenframe}]
+
+\defineoverlay
+[lecbackground]
+[\useMPgraphic{bluebeam}]
+
+\defineoverlay
+[titlebackground]
+[\useMPgraphic{Titlebg}]
+
+%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 These are shortcuts to switch backgrounds:
+
+\define\lecback{\setuplayout[header=5.3cm]\setupbackgrounds[page][background={picbackground,lecbackground,slidetitle}]}
+\define\titback{\setuplayout[header=2.3cm]\setupbackgrounds[page][background={titlebackground,prestitle,presauthor}]}
+\define\picback{\setuplayout[header=2.3cm]\setupbackgrounds[page][background=picbackground]}
+\define\noback{\setupbackgrounds[page][background=nobackground]}
+
+\setupbackgrounds[page][background=lecbackground]
+
+%D The symbol for the first level of itemizations.
+
+\definesymbol[1][\useMPgraphic{ItSquare}]
+\setupitemize[1][inmargin][color=c]
+
+\protect
+\stopmodule
+
+\endinput
+
diff --git a/Master/texmf-dist/tex/context/third/taspresent/t-horizontalblue.tex b/Master/texmf-dist/tex/context/third/taspresent/t-horizontalblue.tex
new file mode 100644
index 00000000000..f586e058293
--- /dev/null
+++ b/Master/texmf-dist/tex/context/third/taspresent/t-horizontalblue.tex
@@ -0,0 +1,150 @@
+%D \module
+%D [ file=t-horizontalblue,
+%D version=2007.07.17,
+%D title=\CONTEXT\ Style File,
+%D subtitle=Presentation Module horizontalblue,
+%D author=Thomas A. Schmitz,
+%D date=\currentdate,
+%D copyright={Thomas A. Schmitz}]
+%C
+%C Copyright 2007 Thomas A. Schmitz.
+%C This file may be distributed under the GNU General Public License v. 2.0.
+
+%D This file provides the \quotation{horizontalblue} 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\ {\tt beamer} package.
+
+\writestatus{loading}{module horizontalblue}
+
+\startmodule[horizontalblue]
+
+\unprotect
+
+%D The taspresentation module provides a skeleton into which different styles
+%D can be hooked. It uses a number of variables and macros which have to be set
+%D beforehand. Some parts are optional. We begin with the necessary definitions:
+
+%D We start colors:
+
+\setupcolors[state=start]
+
+%D These macros are used for placing figures/pictures:
+
+\define\NormalHeight{.97\textheight}
+\define\NormalWidth{.476\textwidth}
+\define\PictureFrameHeight{.97\textheight}
+\define\PictureFrameWidth{.476\textwidth}
+
+%D The page layout:
+
+\setuplayout [width=fit,
+ margin=0cm,
+ height=14.7cm,
+ header=1.75cm,
+ footer=1.2cm,
+ topspace=1cm,
+ backspace=1cm,
+ location=singlesided]
+
+%D The macro for typesetting the Slidetitle; this is adapted from a sample
+%D document that Brooks Moses published on the wiki:
+
+\definelayer[slidetitle]
+ [width=\paperwidth,
+ height=\paperheight,
+ x=10mm]
+
+\define[1]\Slidetitle{\page\setlayer[slidetitle]%
+ {\framed[frame=off,width=\textwidth,height=2.2cm,offset=0pt,top=\vss,bottom=\vss]{\switchtobodyfont[\Titlesize]\color[c]{#1}}}}
+
+%D The macro \tex{Maketitle} produces a default title page with the author, the
+%D title of the presentation, and the date. Using it is not mandatory.
+
+\define\Maketitle{%
+\titback
+\null
+\vfill
+\framed[frame=off,width=\textwidth,height=.75\textheight,top=\vss,bottom=\vss,align=middle]{\switchtobodyfont[\Titlesize]\color[c]{\bf \getvariable{taspresent}{title}}\switchtobodyfont[\Normalsize]\blank[line]\getvariable{taspresent}{author}\blank[2*line]\currentdate}
+\vfill
+\null}
+
+%D The following parts are optional; if you don't use backgrounds and are
+%D content with CONTEXT's default itemization, you don't have to set these
+%D macros.
+
+%D We define our colors:
+
+\definecolor [a] [s=.95]
+\definecolor [b] [r=.58,g=.58,b=.82]
+\definecolor [c] [r=.2,g=.2,b=.73]
+\definecolor [Item] [r=.2,g=.2,b=.73]
+
+%D We let Metapost calculate the background:
+
+\startuniqueMPgraphic{vertical}
+StartPage ;
+pair zd[] ;
+path pb[] ;
+fill Page withcolor \MPcolor{a} ;
+z.d1 = ulcorner Page shifted (0,-5pt) ;
+z.d2 = urcorner Page shifted (0,-5pt) ;
+pb[1] = ulcorner Page -- z.d1 -- z.d2 -- urcorner Page -- cycle ;
+z.d3 = llcorner Page shifted (0,5pt) ;
+z.d4 = lrcorner Page shifted (0,5pt) ;
+pb[3] = llcorner Page -- z.d3 -- z.d4 -- lrcorner Page -- cycle ;
+pb[4] = pb[3] shifted (0,.75cm) ;
+fill pb[1] withcolor \MPcolor{b} ;
+fill pb[3] withcolor \MPcolor{b} ;
+fill pb[4] withcolor \MPcolor{b} ;
+StopPage ;
+\stopuniqueMPgraphic
+
+\startuniqueMPgraphic{horizontal}
+StartPage ;
+pair zd[] ;
+path pb[] ;
+z.d1 = ulcorner Page shifted (0,-5pt) ;
+z.d2 = urcorner Page shifted (0,-5pt) ;
+pb[1] = ulcorner Page -- z.d1 -- z.d2 -- urcorner Page -- cycle ;
+pb[2] = pb[1] shifted (0,-2cm) ;
+fill pb[2] withcolor \MPcolor{b} ;
+StopPage ;
+\stopuniqueMPgraphic
+
+%D We define these backgrounds as overlays:
+
+\defineoverlay
+[lecbackground]
+[\useMPgraphic{horizontal}]
+
+\defineoverlay
+[picbackground]
+[\useMPgraphic{vertical}]
+
+%D We define the footer
+
+\setupfooter[color=c,style={\switchtobodyfont[10pt]},strut=yes]
+\setupfootertexts[{\framed[frame=off,height=.45cm,width=\textwidth]{\getvariable{taspresent}{title}\hfill \pagenumber \ of \lastpage}}]
+
+%D These are shortcuts to switch backgrounds:
+
+\define\lecback{\setuplayout[header=1.75cm]\setupfooter[state=start]\setupbackgrounds[page][background={picbackground,lecbackground,slidetitle}]}
+\define\titback{\setuplayout[header=1.75cm]\setupfooter[state=stop]\setupbackgrounds[page][background={picbackground,lecbackground}]}
+\define\picback{\setuplayout[header=0cm]\setupfooter[state=start]\setupbackgrounds[page][background={picbackground}]}
+\define\noback{\setupbackgrounds[page][background=nobackground]}
+
+%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 The symbol for the first level of itemizations.
+
+\definesymbol[1][\useMPgraphic{ItSquare}]
+\setupitemize[1][color=c]
+
+\protect
+\stopmodule
+
+\endinput
+
diff --git a/Master/texmf-dist/tex/context/third/taspresent/t-lightblue.tex b/Master/texmf-dist/tex/context/third/taspresent/t-lightblue.tex
new file mode 100644
index 00000000000..2a5499a413d
--- /dev/null
+++ b/Master/texmf-dist/tex/context/third/taspresent/t-lightblue.tex
@@ -0,0 +1,162 @@
+%D \module
+%D [ file=t-lightblue,
+%D version=2007.07.17,
+%D title=\CONTEXT\ Style File,
+%D subtitle=Presentation Module lightblue,
+%D author=Thomas A. Schmitz,
+%D date=\currentdate,
+%D copyright={Thomas A. Schmitz}]
+%C
+%C Copyright 2007 Thomas A. Schmitz.
+%C This file may be distributed under the GNU General Public License v. 2.0.
+
+%D This file provides the \quotation{lightblue} style for the presentation
+%D module. It is loaded at runtime.
+
+\writestatus{loading}{module lightblue}
+
+\startmodule[lightblue]
+
+\unprotect
+
+%D The taspresentation module provides a skeleton into which different styles
+%D can be hooked. It uses a number of variables and macros which have to be set
+%D beforehand. Some parts are optional. We begin with the necessary definitions:
+
+%D We start colors; textcolor is white:
+
+\setupcolors[state=start]
+
+%D These macros are used for placing figures/pictures:
+
+\define\NormalHeight{\textheight}
+\define\NormalWidth{.476\textwidth}
+\define\PictureFrameHeight{\textheight}
+\define\PictureFrameWidth{.476\textwidth}
+
+%D The page layout:
+
+\setuplayout [width=fit,
+ leftmargin=.5cm,
+ rightmargin=0cm,
+ leftmargindistance=1.5cm,
+ rightmargindistance=0pt,
+ height=fit,
+ header=2.5cm,
+ footer=0cm,
+ topspace=.2cm,
+ backspace=2.6cm,
+ cutspace=2.9cm,
+ bottomspace=.2cm,
+ bottomdistance=1.2cm,
+ bottom=1.2cm,
+ location=singlesided]
+
+%D We define our colors:
+
+\definecolor [Item] [r=0,g=.2,b=.4]
+\definecolor [a] [r=.58,g=.84,b=.97]
+\definecolor [b] [r=1,g=1,b=1]
+\definecolor [c] [r=0,g=.2,b=.4]
+\definecolor [d] [r=1,g=.6,b=0]
+
+%D The macro for typesetting the Slidetitle; this is adapted from a sample
+%D document that Brooks Moses published on the wiki:
+
+\definelayer[slidetitle]
+ [width=\paperwidth,
+ height=\paperheight,
+ x=2mm,
+ y=2mm]
+
+\define[1]\Slidetitle{%
+\page\setupheadertexts[{\framed[frame=off,background=color,backgroundcolor=c,height=1.2cm,offset=3pt,top=\vss,bottom=\vss]{\switchtobodyfont[\Titlesize]\color[d]{#1}}}]\setupheader[state=start]}
+
+\setupbottomtexts[{\framed[frame=off,background=color,backgroundcolor=c,height=1.2cm,offset=3pt,top=\vss,bottom=\vss]{\color[d]{\pagenumber}}}]
+
+\setupbottom[state=start]
+
+%D The macro \tex{Maketitle} produces a default title page with the author, the
+%D title of the presentation, and the date. Using it is not mandatory.
+
+\define\Maketitle{%
+\titback
+\null
+\vfill
+\midaligned{\framed[frame=off,background=color,backgroundcolor=c,height=1.2cm,offset=3pt,top=\vss,bottom=\vss]{\switchtobodyfont[\Titlesize]\color[d]{\getvariable{taspresent}{title}}}}
+\blank[2*line]
+\midaligned{\color[c]{\getvariable{taspresent}{author}}}
+\blank[3*line]
+\midaligned{\color[c]{\currentdate}}
+\vfill
+\null}
+
+%D The following parts are optional; if you don't use backgrounds and are
+%D content with CONTEXT's default itemization, you don't have to set these
+%D macros.
+
+%D We let Metapost calculate the background:
+
+\startuniqueMPgraphic{blue1}
+StartPage ;
+numeric a ;
+numeric b ;
+numeric c ;
+pair zk[] ;
+path bl[] ;
+a = 2cm ;
+b = .7cm ;
+c = .2 cm ;
+z.k1 = ulcorner Page shifted (a,-a) ;
+z.k2 = urcorner Page shifted (0,-a) ;
+z.k3 = llcorner Page shifted (a,a) ;
+z.k4 = lrcorner Page shifted (0,a) ;
+z.k5 = z.k1 shifted (c,-c) ;
+z.k6 = z.k2 shifted (0,-c) ;
+z.k7 = z.k6 shifted (0,b) ;
+z.k8 = z.k5 shifted (-b,b) ;
+z.k9 = z.k3 shifted (c,c) ;
+z.k10 = z.k4 shifted (0,c) ;
+z.k11 = z.k10 shifted (0,-b) ;
+z.k12 = z.k9 shifted (-b,-b) ;
+bl[1] = urcorner Page -- ulcorner Page -- llcorner Page -- lrcorner Page -- z.k4 -- z.k3 -- z.k1 -- z.k2 -- cycle ;
+bl[2] = z.k5 -- z.k6 -- z.k7 -- z.k8 -- cycle ;
+bl[3] = z.k9 -- z.k10 -- z.k11 -- z.k12 -- cycle ;
+bl[4] = z.k5 -- z.k9 -- z.k12 -- z.k8 --cycle ;
+fill bl[1] withcolor \MPcolor{a} ;
+linear_shade(bl[2],8,\MPcolor{a},\MPcolor{b}) ;
+linear_shade(bl[3],6,\MPcolor{a},\MPcolor{b}) ;
+linear_shade(bl[4],5,\MPcolor{a},\MPcolor{b}) ;
+StopPage ;
+\stopuniqueMPgraphic
+
+%D We define these backgrounds as overlays:
+
+\defineoverlay
+[lecbackground]
+[\useMPgraphic{blue1}]
+
+%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 These are shortcuts to switch backgrounds:
+
+\define\lecback{\setupbackgrounds[page][background={lecbackground,slidetitle}]}
+\define\titback{\setupheader[state=stop]\setupbackgrounds[page][background=lecbackground]}
+\define\picback{\setupheader[state=stop]\setupbackgrounds[page][background={lecbackground,slidetitle}]}
+\define\noback{\setupbackgrounds[page][background=nobackground]}
+
+\setupbackgrounds[page][background=lecbackground]
+
+%D The symbol for the first level of itemizations.
+
+\definesymbol[1][\useMPgraphic{ItSquare}]
+\setupitemize[1][inmargin][color=c]
+
+\protect
+\stopmodule
+
+\endinput
+
diff --git a/Master/texmf-dist/tex/context/third/taspresent/t-narrowstripe.tex b/Master/texmf-dist/tex/context/third/taspresent/t-narrowstripe.tex
new file mode 100644
index 00000000000..52ca9d8b412
--- /dev/null
+++ b/Master/texmf-dist/tex/context/third/taspresent/t-narrowstripe.tex
@@ -0,0 +1,188 @@
+%D \module
+%D [ file=t-narrowstripe,
+%D version=2007.07.25,
+%D title=\CONTEXT\ Style File,
+%D subtitle=Presentation Module narrowstripe,
+%D author=Thomas A. Schmitz,
+%D date=\currentdate,
+%D copyright={Thomas A. Schmitz}]
+%C
+%C Copyright 2007 Thomas A. Schmitz.
+%C This file may be distributed under the GNU General Public License v. 2.0.
+
+%D This file provides the \quotation{narrowstripe} 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{loading}{module narrowstripe}
+
+\startmodule[narrowstripe]
+
+\unprotect
+
+%D The taspresentation module provides a skeleton into which different styles
+%D can be hooked. It uses a number of variables and macros which have to be set
+%D beforehand. Some parts are optional. We begin with the necessary definitions:
+
+%D We start colors:
+
+\setupcolors[state=start]
+
+%D The narrowframe module has parameters of its own; we set them up and use
+%D them:
+
+\setupmodule[color=blue]
+
+\processaction[\currentmoduleparameter{color}]
+ [ red=>\def\colormode{redmode},
+ blue=>\def\colormode{bluemode},
+ green=>\def\colormode{greenmode},
+ \v!unknown=>\def\colormode{bluemode},
+ \v!default=>\def\colormode{bluemode}]
+
+\enablemode[\colormode]
+
+%D These macros are used for placing figures/pictures:
+
+\define\NormalHeight{\textheight}
+\define\NormalWidth{.476\textwidth}
+\define\PictureFrameHeight{\textheight}
+\define\PictureFrameWidth{.476\textwidth}
+
+%D 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 The macro for typesetting the Slidetitle; this is adapted from a sample
+%D document that Brooks Moses published on the wiki:
+
+\definelayer[slidetitle]
+ [width=\paperwidth,
+ height=\paperheight,
+ x=32mm]
+
+\define[1]\Slidetitle{\page\setlayer[slidetitle]%
+ {\framed[framecolor=red,frame=off,width=\textwidth,height=2.25cm,offset=0pt,align=middle,top=\vss,bottom=\vss]{\switchtobodyfont[\Titlesize]\color[d]{#1}}}}
+
+%D The macro \tex{Maketitle} produces a default title page with the author, the
+%D title of the presentation, and the date. Using it is not mandatory.
+
+\define\Maketitle{%
+\titback
+\null
+\vfill
+\midaligned{\switchtobodyfont[\Titlesize]\color[d]{\getvariable{taspresent}{title}}}
+\blank[2*line]
+\midaligned{\color[d]{\getvariable{taspresent}{author}}}
+\blank[3*line]
+\midaligned{\color[d]{\currentdate}}
+\vfill
+\null}
+
+%D The following parts are optional; if you don't use backgrounds and are
+%D content with CONTEXT's default itemization, you don't have to set these
+%D macros.
+
+%D We define our colors, depending on the mode:
+
+\startmode[bluemode]
+\definecolor [Item] [b=.8]
+\definecolor [a] [s=.95]
+\definecolor [b] [r=0,g=0,b=1]
+\definecolor [c] [r=.69,g=.69,b=.97]
+\definecolor [d] [b=.8]
+\stopmode
+
+\startmode[redmode]
+\definecolor [Item] [r=.8]
+\definecolor [a] [s=.95]
+\definecolor [b] [r=1]
+\definecolor [c] [b=.69,g=.69,r=.97]
+\definecolor [d] [r=.8]
+\stopmode
+
+\startmode[greenmode]
+\definecolor [Item] [g=.4]
+\definecolor [a] [s=.95]
+\definecolor [b] [g=.4]
+\definecolor [c] [b=.68,r=.68,g=.79]
+\definecolor [d] [g=.4]
+\stopmode
+
+%D We let Metapost calculate the background:
+
+\startuseMPgraphic{narrow}
+StartPage ;
+numeric a ;
+numeric b ;
+numeric c ;
+c = PaperHeight - a/2 ;
+pair za[] ;
+path p[] ;
+a = 2.25cm ;
+b = 0.4 cm ;
+za1 = ulcorner Page shifted (0,-a) ;
+za2 = ulcorner Page shifted (0,-a-b) ;
+za3 = urcorner Page shifted (0,-a-b) ;
+za4 = urcorner Page shifted (0,-a) ;
+za5 = ulcorner Page shifted (a,0) ;
+za6 = ulcorner Page shifted (a+b,0) ;
+za7 = llcorner Page shifted (a+b,0) ;
+za8 = llcorner Page shifted (a,0) ;
+za9 = ulcorner Page shifted (a,-a) ;
+za10 = ulcorner Page shifted (a+b,-a) ;
+za11 = ulcorner Page shifted (a+b,-a-b) ;
+za12 = ulcorner Page shifted (a,-a-b) ;
+p[1] = za1 -- za2 -- za3 -- za4 -- cycle ;
+p[2] = za5 -- za6 -- za7 -- za8 -- cycle ;
+p[3] = za9 -- za10 --za11 -- za12 -- cycle ;
+linear_shade(p[1],1,\MPcolor{a},\MPcolor{b}) ;
+linear_shade(p[2],2,\MPcolor{b},\MPcolor{a}) ;
+fill p[3] withcolor \MPcolor{c} ;
+draw \sometxt{\framed[frame=off,width=2.25cm,height=2.25cm]{\color[d]{\tfx \folio}}} shifted (0,PaperHeight-a) ;
+StopPage ;
+\stopuseMPgraphic
+
+%D We define these backgrounds as overlays:
+
+\defineoverlay
+[lecbackground]
+[\useMPgraphic{narrow}]
+
+%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 These are shortcuts to switch backgrounds:
+
+\define\lecback{\setupbackgrounds[page][background={lecbackground,slidetitle}]}
+\define\titback{\setupbackgrounds[page][background=lecbackground]}
+\define\picback{\setupbackgrounds[page][background={lecbackground,slidetitle}]}
+\define\noback{\setupbackgrounds[page][background=nobackground]}
+
+\setupbackgrounds[page][background=lecbackground]
+
+%D The symbol for the first level of itemizations.
+
+\definesymbol[1][\useMPgraphic{ItSquare}]
+\setupitemize[1][inmargin][color=d]
+
+\protect
+\stopmodule
+
+\endinput
+
diff --git a/Master/texmf-dist/tex/context/third/taspresent/t-quadblue.tex b/Master/texmf-dist/tex/context/third/taspresent/t-quadblue.tex
new file mode 100644
index 00000000000..446b5cdf311
--- /dev/null
+++ b/Master/texmf-dist/tex/context/third/taspresent/t-quadblue.tex
@@ -0,0 +1,163 @@
+%D \module
+%D [ file=t-quadblue,
+%D version=2007.07.17,
+%D title=\CONTEXT\ Style File,
+%D subtitle=Presentation Module quadblue,
+%D author=Thomas A. Schmitz,
+%D date=\currentdate,
+%D copyright={Thomas A. Schmitz}]
+%C
+%C Copyright 2007 Thomas A. Schmitz.
+%C This file may be distributed under the GNU General Public License v. 2.0.
+
+%D This file provides the \quotation{quadblue} style for the presentation
+%D module. It is loaded at runtime.
+
+\writestatus{loading}{module quadblue}
+
+\startmodule[quadblue]
+
+\unprotect
+
+%D The taspresentation module provides a skeleton into which different styles
+%D can be hooked. It uses a number of variables and macros which have to be set
+%D beforehand. Some parts are optional. We begin with the necessary definitions:
+
+%D We define our colors:
+
+\definecolor[outer][r=0,g=0,b=.92]
+\definecolor[current][r=0,g=0,b=.4]
+\definecolor[inner][s=.98]
+
+%D We start colors:
+
+\setupcolors[state=start]
+
+%D These macros are used for placing figures/pictures:
+
+\define\NormalHeight{\textheight}
+\define\NormalWidth{.5\textwidth}
+\define\PictureFrameHeight{\textheight}
+\define\PictureFrameWidth{.5\textwidth}
+
+%D 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]
+
+%D The macro for typesetting the Slidetitle; this is adapted from a sample
+%D document that Brooks Moses published on the wiki:
+
+\definelayer[slidetitle]
+ [width=\paperwidth,
+ height=\paperheight,
+ x=25mm]
+
+\define[1]\Slidetitle{\page\setlayer[slidetitle]%
+ {\framed[frame=off,width=\textwidth,height=2.5cm,offset=0pt,top=\vss,bottom=\vss]{\switchtobodyfont[\Titlesize]\color[outer]{#1}}}}
+
+%D The macro \tex{Maketitle} produces a default title page with the author, the
+%D title of the presentation, and the date. Using it is not mandatory.
+
+\define\Maketitle{%
+\titback
+\null
+\vfill
+\midaligned{\switchtobodyfont[\Titlesize]\color[outer]{\getvariable{taspresent}{title}}}
+\blank[2*line]
+\midaligned{\color[outer]{\getvariable{taspresent}{author}}}
+\blank[3*line]
+\midaligned{\color[outer]{\currentdate}}
+\vfill
+\null}
+
+%D The following parts are optional; if you don't use backgrounds and are
+%D content with CONTEXT's default itemization, you don't have to set these
+%D macros.
+
+%D We let Metapost calculate the background:
+
+\startuseMPgraphic{left}
+StartPage ;
+fill Page withcolor \MPcolor{inner} ;
+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{outer} ;
+endfor;
+if PageNumber=1:
+ fill m[1] withcolor \MPcolor{current} ;
+elseif (v>.001) and (v<.167) :
+ fill m[2] withcolor \MPcolor{current} ;
+elseif (v>.166) and (v<.334):
+ fill m[3] withcolor \MPcolor{current} ;
+elseif (v>.333) and (v<.501):
+ fill m[4] withcolor \MPcolor{current} ;
+elseif (v>.5) and (v<.667):
+ fill m[5] withcolor \MPcolor{current} ;
+elseif (v>.666) and (v<.834):
+ fill m[6] withcolor \MPcolor{current} ;
+elseif (v>.833) and (v<1):
+ fill m[7] withcolor \MPcolor{current} ;
+elseif v=1:
+ fill m[8] withcolor \MPcolor{current} ;
+fi ;
+StopPage ;
+
+\stopuseMPgraphic
+
+%D We define these backgrounds as overlays:
+
+\defineoverlay
+[lecbackground]
+[\useMPgraphic{left}]
+
+%D These are shortcuts to switch backgrounds:
+
+\define\lecback{\setuplayout[header=1.5cm]\setupbackgrounds[page][background={lecbackground,slidetitle}]}
+\define\titback{\setuplayout[header=0cm]\setupbackgrounds[page][background=lecbackground]}
+\define\picback{\setuplayout[header=0cm]\setupbackgrounds[page][background={lecbackground,slidetitle}]}
+\define\noback{\setupbackgrounds[page][background=nobackground]}
+
+%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=0cm]
+
+%D The symbol for the first level of itemizations.
+
+\definesymbol[1][$\square$]
+\setupitemize[1][inmargin][color=outer]
+
+\protect
+\stopmodule
+
+\endinput
+
diff --git a/Master/texmf-dist/tex/context/third/taspresent/t-rainbowstripe.tex b/Master/texmf-dist/tex/context/third/taspresent/t-rainbowstripe.tex
new file mode 100644
index 00000000000..cf312d56b2a
--- /dev/null
+++ b/Master/texmf-dist/tex/context/third/taspresent/t-rainbowstripe.tex
@@ -0,0 +1,243 @@
+%D \module
+%D [ file=t-bluegray,
+%D version=2007.07.17,
+%D title=\CONTEXT\ Style File,
+%D subtitle=Presentation Module bluegray,
+%D author=Thomas A. Schmitz,
+%D date=\currentdate,
+%D copyright={Thomas A. Schmitz}]
+%C
+%C Copyright 2007 Thomas A. Schmitz.
+%C This file may be distributed under the GNU General Public License v. 2.0.
+
+%D This file provides the \quotation{bluegray} style for the presentation
+%D module. It is loaded at runtime.
+
+\writestatus{loading}{module bluegray}
+
+\startmodule[bluegray]
+
+\unprotect
+
+%D The taspresentation module provides a skeleton into which different styles
+%D can be hooked. It uses a number of variables and macros which have to be set
+%D beforehand. Some parts are optional. We begin with the necessary definitions:
+
+%D We start colors:
+
+\setupcolors[state=start]
+
+%D These macros are used for placing figures/pictures:
+
+\define\NormalHeight{\textheight}
+\define\NormalWidth{.476\textwidth}
+\define\PictureFrameHeight{\textheight}
+\define\PictureFrameWidth{.476\textwidth}
+
+%D The page layout:
+
+\setuplayout [width=fit,
+ margin=1.5cm,
+ height=fit,
+ header=15mm,
+ footer=0cm,
+ topspace=18mm,
+ backspace=2cm,
+ location=singlesided]
+
+%D The macro for typesetting the Slidetitle; this is adapted from a sample
+%D document that Brooks Moses published on the wiki:
+
+\definelayer[slidetitle]
+ [width=\paperwidth,
+ height=\paperheight,
+ x=20mm,
+ y=18mm]
+
+\define[1]\Slidetitle{\page\setlayer[slidetitle]%
+ {\framed[frame=off,height=1.5cm,width=\textwidth,offset=0pt,align=middle,top=\vss,bottom=\vss]{\switchtobodyfont[\Titlesize]#1}}}
+
+%D The macro \tex{Maketitle} produces a default title page with the author, the
+%D title of the presentation, and the date. Using it is not mandatory.
+
+\define\Maketitle{%
+\titback
+\null
+\vfill
+\midaligned{\switchtobodyfont[\Titlesize]\getvariable{taspresent}{title}}
+\blank[2*line]
+\midaligned{\getvariable{taspresent}{author}}
+\blank[3*line]
+\midaligned{\currentdate}
+\vfill
+\null}
+
+%D The following parts are optional; if you don't use backgrounds and are
+%D content with CONTEXT's default itemization, you don't have to set these
+%D macros.
+
+%D We define our colors:
+
+\definecolor [a] [s=.88]
+\definecolor [Item] [s=0]
+\definecolor [One] [r=.5,g=0,b=.5]
+\definecolor [Two] [b=1]
+\definecolor [Three] [g=1,b=1]
+\definecolor [Four] [g=1]
+\definecolor [Five] [r=1,g=1]
+\definecolor [Six] [r=1]
+
+%D In a first attempt to avhieve 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{gray}
+StartPage ;
+pair zf[] ;
+fill Page withcolor \MPcolor{a} ;
+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{One},\MPcolor{Two}) ;
+linear_shade(gr[4],0,\MPcolor{Two},\MPcolor{Three}) ;
+linear_shade(gr[5],0,\MPcolor{Three},\MPcolor{Four}) ;
+linear_shade(gr[6],0,\MPcolor{Four},\MPcolor{Five}) ;
+linear_shade(gr[7],0,\MPcolor{Five},\MPcolor{Six}) ;
+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{One},\MPcolor{Two}) ;
+linear_shade(gr[24],0,\MPcolor{Two},\MPcolor{Three}) ;
+linear_shade(gr[25],0,\MPcolor{Three},\MPcolor{Four}) ;
+linear_shade(gr[26],0,\MPcolor{Four},\MPcolor{Five}) ;
+linear_shade(gr[27],0,\MPcolor{Five},\MPcolor{Six}) ;
+StopPage ;
+\stopuniqueMPgraphic
+
+\startuseMPgraphic{progress}
+StartPage
+path p[] ;
+p[1] := unitsquare xyscaled(MakeupWidth,.4cm) shifted (2cm,0.7cm) ;
+numeric i; i = PageNumber/NOfPages ;
+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[graybg]
+[\useMPgraphic{gray}]
+
+\defineoverlay[bar]
+[\useMPgraphic{progress}]
+
+%D These are shortcuts to switch backgrounds:
+
+\define\lecback{\setuplayout[header=15mm]\setupbackgrounds[page][background={graybg,bar,slidetitle}]}
+\define\titback{\setuplayout[header=0mm]\setupbackgrounds[page][background={graybg}]}
+\define\picback{\setuplayout[header=0mm]\setupbackgrounds[page][background={graybg,bar}]}
+\define\noback{\setupbackgrounds[page][background=nobackground]}
+
+%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 The symbol for the first level of itemizations.
+
+\definesymbol[1][\useMPgraphic{ItSquare}]
+\setupitemize[1][inmargin]
+
+\protect
+\stopmodule
+
+\endinput
+
diff --git a/Master/texmf-dist/tex/context/third/taspresent/t-redframe.tex b/Master/texmf-dist/tex/context/third/taspresent/t-redframe.tex
new file mode 100644
index 00000000000..9538360af8a
--- /dev/null
+++ b/Master/texmf-dist/tex/context/third/taspresent/t-redframe.tex
@@ -0,0 +1,187 @@
+%D \module
+%D [ file=t-redframe,
+%D version=2007.07.17,
+%D title=\CONTEXT\ Style File,
+%D subtitle=Presentation Module redframe,
+%D author=Thomas A. Schmitz,
+%D date=\currentdate,
+%D copyright={Thomas A. Schmitz}]
+%C
+%C Copyright 2007 Thomas A. Schmitz.
+%C This file may be distributed under the GNU General Public License v. 2.0.
+
+%D This file provides the \quotation{redframe} 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{loading}{module redframe}
+
+\startmodule[redframe]
+
+\unprotect
+
+%D The taspresentation module provides a skeleton into which different styles
+%D can be hooked. It uses a number of variables and macros which have to be set
+%D beforehand. Some parts are optional. We begin with the necessary definitions:
+
+%D We start colors:
+
+\setupcolors[state=start]
+
+%D These macros are used for placing figures/pictures:
+
+\define\NormalHeight{.95\textheight}
+\define\NormalWidth{.476\textwidth}
+\define\PictureFrameHeight{.95\textheight}
+\define\PictureFrameWidth{.476\textwidth}
+
+%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]
+
+%D The macro for typesetting the Slidetitle; this is adapted from a sample
+%D document that Brooks Moses published on the wiki:
+
+\definelayer[slidetitle]
+ [width=\paperwidth,
+ height=\paperheight,
+ x=20mm,
+ y=16mm]
+
+\define[1]\Slidetitle{\page\setlayer[slidetitle]%
+ {\framed[frame=off,width=\textwidth,height=2.3cm,offset=0pt,top=\vss,bottom=\vss]{\switchtobodyfont[\Titlesize]\color[FrameColor]{#1}}}}
+
+%D The macro \tex{Maketitle} produces a default title page with the author, the
+%D title of the presentation, and the date. Using it is not mandatory.
+
+\define\Maketitle{%
+\titback
+\null
+\vfill
+\midaligned{\switchtobodyfont[\Titlesize]\color[FrameColor]{\getvariable{taspresent}{title}}}
+\blank[2*line]
+\midaligned{\color[FrameColor]{\getvariable{taspresent}{author}}}
+\blank[3*line]
+\midaligned{\color[FrameColor]{\currentdate}}
+\vfill
+\null}
+
+%D The following parts are optional; if you don't use backgrounds and are
+%D content with CONTEXT's default itemization, you don't have to set these
+%D macros.
+
+%D We define our colors:
+
+\definecolor [lightb] [s=.75]
+\definecolor [darkb] [s=.2]
+\definecolor [BackgroundColor] [s=.6]
+\definecolor [FrameColor] [r=.55, g=0, b=.04]
+\definecolor [Item] [r=.55, g=0, b=.04]
+\definecolor [DarkYellow] [s=.6]%[r=.73, g=.61, b=.25] % gray looks better?
+
+%D We let Metapost calculate the background:
+
+\startuniqueMPgraphic{slide}
+StartPage ;
+path p[] ;
+a=1.5cm ;
+fill Page withcolor \MPcolor{lightb} ;
+path Main ;
+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{darkb} ;
+fill p[2] withcolor \MPcolor{darkb} ;
+fill p[3] withcolor \MPcolor{darkb} ;
+fill p[4] withcolor \MPcolor{darkb} ;
+pickup pencircle scaled 8 pt ;
+draw z1 -- z6 withcolor \MPcolor{FrameColor} ;
+draw z2 -- z5 withcolor \MPcolor{FrameColor} ;
+draw z7 -- z4 withcolor \MPcolor{FrameColor} ;
+draw z8 -- z3 withcolor \MPcolor{FrameColor} ;
+StopPage ;
+\stopuniqueMPgraphic
+
+\startuseMPgraphic{Bottombg}
+StartPage
+path Q[] ;
+path R[] ;
+z4 = llcorner Page shifted (2cm,0.75cm) ;
+z5 = lrcorner Page shifted (-2cm,0.75cm) ;
+Q[1] = z4 -- z[5] ;
+oa = NOfPages - 2 ;
+ob = PageNumber - 2 ;
+oc = arclength(Q[1]) ;
+od = oc/oa ;
+oe = oc/oa ;
+Q[2] = fullcircle scaled .4 cm shifted (2cm,0.65cm) ;
+fill Q[2] withcolor \MPcolor{DarkYellow} ;
+for i = 1 upto NOfPages-2:
+ R[i] = Q[2] shifted (i*od,0) ;
+ fill R[i] withcolor \MPcolor{DarkYellow} ;
+endfor ;
+if PageNumber > 1 :
+ Q[2] := Q[2] shifted (od*ob,0) ;
+ fill Q[2] withcolor yellow ;
+fi ;
+StopPage
+\stopuseMPgraphic
+
+%D We define these backgrounds as overlays:
+
+\defineoverlay
+[lecbackground]
+[\useMPgraphic{slide}]
+
+\defineoverlay
+[picbackground]
+[\useMPgraphic{slide}]
+
+\defineoverlay
+[bottom]
+[\useMPgraphic{Bottombg}]
+
+%D These are shortcuts to switch backgrounds:
+
+\define\lecback{\setuplayout[header=2.8cm]\setupbackgrounds[page][background={lecbackground,bottom,slidetitle}]}
+\define\titback{\setuplayout[header=1cm]\setupbackgrounds[page][background=lecbackground]}
+\define\picback{\setuplayout[header=1cm]\setupbackgrounds[page][background={lecbackground,bottom}]}
+\define\noback{\setupbackgrounds[page][background=nobackground]}
+
+%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 The symbol for the first level of itemizations.
+
+\definesymbol[1][\useMPgraphic{ItSquare}]
+\setupitemize[1][inmargin][color=FrameColor]
+
+\protect
+\stopmodule
+
+\endinput
+
diff --git a/Master/texmf-dist/tex/context/third/taspresent/t-superellipse.tex b/Master/texmf-dist/tex/context/third/taspresent/t-superellipse.tex
new file mode 100644
index 00000000000..ad4e93c1ab8
--- /dev/null
+++ b/Master/texmf-dist/tex/context/third/taspresent/t-superellipse.tex
@@ -0,0 +1,139 @@
+%D \module
+%D [ file=t-superellipse,
+%D version=2007.12.20,
+%D title=\CONTEXT\ Style File,
+%D subtitle=Presentation Module quadblue,
+%D author=Thomas A. Schmitz,
+%D date=\currentdate,
+%D copyright={Thomas A. Schmitz}]
+%C
+%C Copyright 2007 Thomas A. Schmitz.
+%C This file may be distributed under the GNU General Public License v. 2.0.
+
+%D This file provides the \quotation{superellipse} 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{loading}{module superellipse}
+
+\startmodule[superellipse]
+
+\unprotect
+
+%D The taspresentation module provides a skeleton into which different styles
+%D can be hooked. It uses a number of variables and macros which have to be set
+%D beforehand. Some parts are optional. We begin with the necessary definitions:
+
+%D We define our colors:
+
+\definecolor[outer][s=0]
+\definecolor[inner][s=.8]
+\definecolor[ellipse][r=.5,g=0,b=0]
+\definecolor[contrast][r=.9,g=0,b=0]
+\definecolor[Item] [r=.5]
+
+%D We start colors:
+
+\setupcolors[state=start]
+
+%D These macros are used for placing figures/pictures:
+
+\define\NormalHeight{\textheight}
+\define\NormalWidth{.5\textwidth}
+\define\PictureFrameHeight{\textheight}
+\define\PictureFrameWidth{.5\textwidth}
+
+%D The page layout:
+
+\setuplayout [width=fit,
+ height=fit,
+ margin=0cm,
+ header=1.2cm,
+ footer=0cm,
+ topspace=1.8cm,
+ backspace=1.5cm,
+ location=singlesided]
+
+%D The macro for typesetting the Slidetitle; this is adapted from a sample
+%D document that Brooks Moses published on the wiki:
+
+\definelayer[slidetitle]
+ [width=\paperwidth,
+ height=\paperheight,
+ y=10mm,
+ x=15mm]
+
+\define[1]\Slidetitle{\page\setlayer[slidetitle]%
+ {\framed[frame=off,width=\textwidth,height=2.5cm,offset=0pt,top=\vss,bottom=\vss]{\switchtobodyfont[\Titlesize]\color[ellipse]{#1}}}}
+
+%D The macro \tex{Maketitle} produces a default title page with the author, the
+%D title of the presentation, and the date. Using it is not mandatory.
+
+\define\Maketitle{%
+\titback
+\null
+\vfill
+\midaligned{\switchtobodyfont[\Titlesize]\color[ellipse]{\getvariable{taspresent}{title}}}
+\blank[2*line]
+\midaligned{\color[ellipse]{\getvariable{taspresent}{author}}}
+\blank[3*line]
+\midaligned{\color[ellipse]{\currentdate}}
+\vfill
+\null}
+
+%D The following parts are optional; if you don't use backgrounds and are
+%D content with CONTEXT's default itemization, you don't have to set these
+%D macros.
+
+%D We let Metapost calculate the background:
+
+\startuseMPgraphic{left}
+StartPage ;
+ fill Page withcolor \MPcolor{outer} ;
+ path p ; pair pa ; pair pb ;
+ p := Page enlarged (-15pt,-15pt) superellipsed .9 ;
+ fill p withcolor \MPcolor{inner} ;
+ pickup pencircle scaled 20pt ;
+ draw p withcolor \MPcolor{ellipse} ;
+ 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{contrast} ;
+ fi ;
+% draw point 1 of p withcolor \MPcolor{contrast} ;
+% draw point 8 of p withcolor blue ;
+% draw point 4 of p withcolor green ;
+% draw point 3 of p withcolor yellow ;
+% draw point 2 of p withcolor cyan ;
+% draw point 7 of p withcolor white ;
+StopPage ;
+\stopuseMPgraphic
+
+%D We define these backgrounds as overlays:
+
+\defineoverlay
+[lecbackground]
+[\useMPgraphic{left}]
+
+%D These are shortcuts to switch backgrounds:
+
+\define\lecback{\setuplayout[header=1.5cm]\setupbackgrounds[page][background={lecbackground,slidetitle}]}
+\define\titback{\setuplayout[header=0cm]\setupbackgrounds[page][background=lecbackground]}
+\define\picback{\setuplayout[header=0cm]\setupbackgrounds[page][background={lecbackground,slidetitle}]}
+\define\noback{\setupbackgrounds[page][background=nobackground]}
+
+%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=0cm]
+
+%D The symbol for the first level of itemizations.
+
+\definesymbol[1][\useMPgraphic{ItSquare}]
+\setupitemize[1][color=ellipse]
+
+\protect
+\stopmodule
+
+\endinput
+
diff --git a/Master/texmf-dist/tex/context/third/taspresent/t-taspresent.tex b/Master/texmf-dist/tex/context/third/taspresent/t-taspresent.tex
new file mode 100644
index 00000000000..1d2f754df62
--- /dev/null
+++ b/Master/texmf-dist/tex/context/third/taspresent/t-taspresent.tex
@@ -0,0 +1,539 @@
+%D \module
+%D [ file=t-taspresent,
+%D version=2007.07.15,
+%D title=\CONTEXT\ Style File,
+%D subtitle=Presentation Module taspresent,
+%D author=Thomas A. Schmitz,
+%D date=\currentdate,
+%D copyright={Thomas A. Schmitz}]
+%C
+%C Copyright 2007 Thomas A. Schmitz.
+%C This file may be distributed under the GNU General Public License v. 2.0.
+
+%D This module is meant to facilitate writing presentations in \CONTEXT. It
+%D provides a consistent interface and macros; there are different styles
+%D which give different output. The module has been written for
+%D projector||based presentations, so elements which are typical for screen
+%D presentations (such as interactive hyperlinks or tables of contents) are not
+%D included. The module is meant for an academic environment, specifically in
+%D the humanities. 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 unserstand 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, and to Mojca
+%D Miklavec, who provided help with Metapost.
+
+\writestatus{loading}{module taspresent}
+
+\startmodule[taspresent]
+
+\unprotect
+
+%D First, we provide default setups for the module. These setups will be used
+%D to choose the different styles; user input will overwrite the defaults. The
+%D different styles are defined in additional modules which will be called in
+%D turn.
+
+\setupmodule[style=doubleframe,font=LatinModernSans,size=17pt,stylecolor=blue,stylebottom=square]
+
+%D We collect author and title of the presentation in variables in the
+%D namespace {\tt taspresent}; they will be used to typeset the title page and
+%D in some headers and footers. The defaults are empty.
+
+\setvariables [taspresent] [ author=]
+\setvariables [taspresent] [ title=]
+
+%D The fontsize is set via the \type{size}||key; it will be used in
+%D numerous setup||commands. We use the \tex{processaction} mechanism to define
+%D our \tex{Normalsize} and \tex{Titlesize}.
+
+
+\processaction[\currentmoduleparameter{size}]
+ [ 16pt=>\def\Normalsize{16pt}\def\Titlesize{25pt},
+ 17pt=>\def\Normalsize{17pt}\def\Titlesize{27pt},
+ 18pt=>\def\Normalsize{18pt}\def\Titlesize{28pt},
+ 19pt=>\def\Normalsize{19pt}\def\Titlesize{30pt},
+ 20pt=>\def\Normalsize{20pt}\def\Titlesize{30pt},
+ 21pt=>\def\Normalsize{21pt}\def\Titlesize{30pt},
+ \v!unknown=>\def\Normalsize{17pt}\def\Titlesize{27pt},
+ \v!default=>\def\Normalsize{17pt}\def\Titlesize{27pt}]
+
+%D Next, we define the different styles. The fallback is a style without
+%D background which is defined in the module itself; it is included as a
+%D \type{mode}. All other styles are defined in external files which are
+%D called in turn.
+
+\setupencoding[default=ec]
+
+\def\DefMode{\enablemode[defaultmode]}
+
+\processaction[\currentmoduleparameter{stylebottom}]
+ [ square=>\def\modbottom{square},
+ stripe=>\def\modbottom{stripe},
+ \v!unknown=>\def\modbottom{square},
+ \v!default=>\def\modbottom{square}]
+
+\processaction[\currentmoduleparameter{stylecolor}]
+ [ red=>\def\modcolor{red},
+ blue=>\def\modcolor{blue},
+ green=>\def\modcolor{green},
+ bluered=>\def\modcolor{bluered},
+ \v!unknown=>\def\modcolor{blue},
+ \v!default=>\def\modcolor{blue}]
+
+\processaction[\currentmoduleparameter{style}]
+ [ blackblue=>{\usemodule[blackblue]},
+ doubleframe=>{\usemodule[doubleframe][bottom=\modbottom]},
+ bluegray=>{\usemodule[bluegray][color=\modcolor]},
+ embossed=>{\usemodule[embossed]},
+ darkshade=>{\usemodule[darkshade][color=\modcolor]},
+ bluestripe=>{\usemodule[bluestripe]},
+ doubleshade=>{\usemodule[doubleshade]},
+ graybeams=>{\usemodule[graybeams]},
+ graysquare=>{\usemodule[graysquare]},
+ greenblue=>{\usemodule[greenblue]},
+ horizontalblue=>{\usemodule[horizontalblue]},
+ lightblue=>{\usemodule[lightblue]},
+ quadblue=>{\usemodule[quadblue]},
+ rainbowstripe=>{\usemodule[rainbowstripe]},
+ superellipse=>{\usemodule[superellipse]},
+ titleframe=>{\usemodule[titleframe]},
+ narrowstripe=>{\usemodule[narrowstripe][color=\modcolor]},
+ redframe=>{\usemodule[redframe]},
+ \v!unknown=>\doiffileelse{\currentmoduleparameter{style}}{\input \currentmoduleparameter{style}}{\DefMode},
+ \v!default=>\DefMode]
+
+%D We set up the bodyfont
+
+\processaction[\currentmoduleparameter{font}]
+ [ LatinModern=>\def\fontmode{latinmodern},
+ LatinModernSans=>\def\fontmode{latinmodernsans},
+ Pagella=>\def\fontmode{pagella},
+ Times=>\def\fontmode{times},
+ MyriadPro=>\def\fontmode{myriadpro},
+ Helvetica=>\def\fontmode{helvetica},
+ User=>\def\fontmode{},
+ \v!unknown=>\def\fontmode{latinmodernsans},
+ \v!default=>\def\fontmode{latinmodernsans}]
+
+\enablemode[\fontmode]
+
+%D We begin by setting up the tolerance. Presentations have relatively dense
+%D lines, we do not care about underfull lines, but allow emergeny stretch.
+
+\setuptolerance[verytolerant,stretch]
+
+\setupbodyfontenvironment[default][em=italic]
+
+%D Next, the page layout. S6 has the ratio of a usual computer screen. We do
+%D not want page numbers, but we sometimes want to use the pagenumbering
+%D mechanism, so we make sure pages are counted, but the numbers are not
+%D displayed. 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.
+
+\setuppapersize[S6][S6]
+
+\setuppagenumbering[location=]
+
+\startmode[defaultmode]
+\setupcolors[state=start]
+\stopmode
+
+\startmode[defaultmode]
+\setuplayout [width=fit,
+ margin=0.6cm,
+ height=fit,
+ header=0.15cm,
+ footer=1.35cm,
+ footerdistance=0.5cm,
+ topspace=0.5cm,
+ backspace=1cm,
+ location=singlesided]
+\stopmode
+
+%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,20pt,25pt,\Normalsize,\Titlesize] [rm] [default]
+\stoptypescript
+
+%D Modes define which font will be used.
+
+\startmode[latinmodern]
+\setupbodyfont[\Normalsize]
+\stopmode
+
+\startmode[latinmodernsans]
+\setupbodyfont[ss,\Normalsize]
+\stopmode
+
+\startmode[helvetica]
+\definetypeface [SlideFace] [rm] [serif] [times] [default]
+\definetypeface [SlideFace] [ss] [sans] [helvetica] [default] [rscale=.9]
+\definetypeface [SlideFace] [tt] [mono] [courier] [default] [rscale=1.1]
+\setupbodyfont[SlideFace,ss,\Normalsize]
+\stopmode
+
+\startmode[times]
+\definetypeface [SlideFace] [rm] [serif] [times] [default]
+\definetypeface [SlideFace] [ss] [sans] [helvetica] [default] [rscale=.9]
+\definetypeface [SlideFace] [tt] [mono] [courier] [default] [rscale=1.1]
+\setupbodyfont[SlideFace,\Normalsize]
+\stopmode
+
+\startmode[pagella]
+\definebodyfontenvironment[\Normalsize]
+\usetypescriptfile[type-gyr]
+\definetypeface [SlideFace] [rm] [serif] [palatino] [default] [encoding=texnansi]
+\definetypeface [SlideFace] [tt] [mono] [modern] [default] [encoding=texnansi]
+\setupbodyfont[SlideFace,\Normalsize]
+\stopmode
+
+\startmode[myriadpro]
+\usetypescriptfile[type-myriadpro]
+\usetypescript[MyriadPro] [texnansi]
+\setupbodyfont[MyMyriadPro,ss,\Normalsize]
+\stopmode
+
+%D This is a definition for Metapost pictures and \tex{sometxt} which I use in
+%D my own presentations.
+
+\def\MyFramedText#1%
+{\framed[offset=.5ex,frame=off,width=0.5cm]{#1}}
+\definetextext[MF]{\MyFramedText}
+
+%D For code snippets, we want colored output.
+
+\definetype[typeTEX][option=color]
+
+%D We define a \quotation{normal} height and width for images.
+
+\startmode[defaultmode]
+\define\NormalHeight{.83\textheight}
+\define\NormalWidth{.476\textwidth}
+\define\PictureFrameHeight{.83\textheight}
+\define\PictureFrameWidth{.476\textwidth}
+\stopmode
+
+%D This is a small square which will be used for \tex{itemize}; it will be
+%D placed in the margin.
+
+\startuniqueMPgraphic{ItTriangle}
+fill (0,0) -- (0,0.4cm) -- (0.6cm,0.2cm) -- cycle withcolor \MPcolor{Item} ;
+\stopuniqueMPgraphic
+
+\startuniqueMPgraphic{ItSquare}
+fill unitsquare xyscaled(0.4cm,0.4cm) withcolor \MPcolor{Item} ;
+\stopuniqueMPgraphic
+
+%D I had thought about this method for including pictures, but in the end
+%D decided against it.
+
+\definefloat[MyMargin]
+ [figure]
+
+\setupfloat[MyMargin]
+ [leftmargindistance=-0.5cm,
+ default={left,none,high}]
+
+\defineparagraphs[ShowPictures][n=2,distance=1cm]
+\setupparagraphs[ShowPictures][1][width=.5\textwidth]
+
+%D The code for red circles and arrows which can be placed on top of a picture.
+%D I use them quite often in my presentations. Again, they are Metapost
+%D graphics which are then used as overlays.
+
+\setupMPvariables[CircleSomething][scale=20,x=3,y=3]
+\startuseMPgraphic{CircleSomething}{scale,x,y}
+picture bboxpicture ;
+draw unitsquare xyscaled (OverlayWidth,OverlayHeight) ;
+bboxpicture := currentpicture ;
+currentpicture := nullpicture ;
+pickup pencircle scaled 5pt ;
+draw fullcircle scaled \MPvar{scale}mm shifted (\MPvar{x}mm,\MPvar{y}mm) withcolor red ;
+setbounds currentpicture to boundingbox bboxpicture;
+\stopuseMPgraphic
+
+%D The next macro allows users a simple interface for placing an image with a
+%D red circle on top. The macro \tex{CircHoriz} takes three arguments: the size
+%D and placement of the red circle, which are given as variables in the form
+%D \type{[scale=,xshift,yshift]}, the name of the picture, and the size for the
+%D picture.
+
+\def\CircHoriz{\dotripleargument\doCircHoriz}
+\def\doCircHoriz[#1][#2][#3]{%
+\defineoverlay[Red_Circle][\useMPgraphic{CircleSomething}{#1}]
+\midaligned{\framed[frame=off,width=\textwidth,height=\PictureFrameHeight,align=middle,top=\vss,bottom=\vss,strut=no,offset=0pt,background={foreground,Red_Circle}]{\externalfigure[#2][#3]}}}
+
+\def\CircVert{\dotripleargument\doCircVert}
+\def\doCircVert[#1][#2][#3]#4{%
+\defineoverlay[Red_Circle][\useMPgraphic{CircleSomething}{#1}]%
+\startcombination%
+\framed[frame=off,height=\textheight,width=\PictureFrameWidth,top=\vss,bottom=\vss,align=middle,strut=no,offset=0pt,background={foreground,Red_Circle}]{\externalfigure[#2][#3]}{}%
+\framed[frame=off,height=\textheight,width=\PictureFrameWidth,top=\vss,bottom=\vss,align=middle,strut=no]{#4}{}%
+\stopcombination%
+}
+
+\setupMPvariables[ArrowSomething][direction=45,x=20,y=20]
+\startuseMPgraphic{ArrowSomething}{direction,x,y}
+picture bboxpicture ;
+draw unitsquare xyscaled (OverlayWidth,OverlayHeight) withcolor blue ;
+z1 = (\MPvar{x}mm,\MPvar{y}mm) ;
+ahlength := 15pt ;
+z2 = z1 + 2.5cm*dir(\MPvar{direction}) ;
+bboxpicture := currentpicture ;
+currentpicture := nullpicture ;
+pickup pencircle scaled 5pt ;
+drawarrow z2--z1 withcolor red;
+setbounds currentpicture to boundingbox bboxpicture;
+\stopuseMPgraphic
+
+%D The code for inclusion of a red arrow is similar: again, it takes three
+%D arguments: the placement and direction of the arrow given in the form
+%D \type{[direction=45,x=20,y=20]}, the name of the picture, and the size of
+%D the picture.
+
+\def\ArrowHoriz{\dotripleargument\doArrowHoriz}
+\def\doArrowHoriz[#1][#2][#3]{%
+\defineoverlay[Red_Arrow][\useMPgraphic{ArrowSomething}{#1}]
+\midaligned{\framed[frame=off,width=\textwidth,height=\PictureFrameHeight,align=middle,top=\vss,bottom=\vss,strut=no,offset=0pt,background={foreground,Red_Arrow}]{\externalfigure[#2][#3]}}}
+
+\def\ArrowVert{\dotripleargument\doArrowVert}
+\def\doArrowVert[#1][#2][#3]#4{%
+\defineoverlay[Red_Arrow][\useMPgraphic{ArrowSomething}{#1}]%
+\startcombination%
+\framed[frame=off,height=\textheight,width=\PictureFrameWidth,top=\vss,bottom=\vss,align=middle,strut=no,offset=0pt,background={foreground,Red_Arrow}]{\externalfigure[#2][#3]}{}%
+\framed[frame=off,height=\textheight,width=\PictureFrameWidth,top=\vss,bottom=\vss,align=middle,strut=no]{#4}{}%
+\stopcombination%
+}
+
+
+\loadmapfile[ts1-lm.map]
+
+\startencoding[comp]
+\definecharacter textmarried 109
+\definecharacter texthanky 126
+\stopencoding
+
+\definefontsynonym[l@tinss][ts1-lmss10][encoding=comp]
+\definefont[tsf@nt][l@tinss sa 1.4]
+
+\def\married{\begingroup\tsf@nt\textmarried\endgroup}
+\def\hanky{\begingroup\tsf@nt\texthanky\endgroup}
+
+%D Now the real user macros. \tex{Slidetitle}: well, the name says it all. Ths
+%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.
+
+\startmode[defaultmode]
+\define[1]\Slidetitle{\page\midaligned{\switchtobodyfont[\Titlesize]#1}\blank[0.75cm]}
+\stopmode
+
+%D The macro \tex{Maketitle} produces a default title page with the author, the
+%D title of the presentation, and the date. Using it is not mandatory.
+
+\startmode[defaultmode]
+\define\Maketitle{%
+\titback
+\null
+\vfill
+\midaligned{\switchtobodyfont[\Titlesize]\getvariable{taspresent}{title}}
+\blank[2*line]
+\midaligned{\getvariable{taspresent}{author}}
+\blank[3*line]
+\midaligned{\currentdate}
+\vfill
+\null}
+\stopmode
+
+%D The macros for placing horizontal and vertical pictures. They take a similar
+%D form to the inclusion of arrows and circles. The macro for horizontal
+%D pictures \tex{PicHoriz} takes two arguments: the name of the picture and its
+%D size in the form \type{height=} or \type{width=}; the macro for vertical
+%D pictures \tex{PicVert} takes three arguments: the name of the picture, its
+%D size, and the text which will be placed opposite the picture.
+
+\def\PicHoriz{\dodoubleargument\doPicHoriz}
+\def\doPicHoriz[#1][#2]{%
+\framed[frame=off,width=\textwidth,height=\PictureFrameHeight,align=middle,top=\vss,bottom=\vss,strut=no,offset=0pt]{\externalfigure[#1][#2]}}
+
+\def\PicVert{\dodoubleargument\doPicVert}
+\def\doPicVert[#1][#2]#3{\startcombination%
+\framed[frame=off,height=\textheight,width=\PictureFrameWidth,top=\vss,bottom=\vss,align=middle,strut=no,offset=0pt]{\externalfigure[#1][#2]}{}%
+\framed[frame=off,height=\textheight,width=\PictureFrameWidth,top=\vss,bottom=\vss,align=middle,strut=no]{#3}{}%
+\stopcombination}
+
+%D finally, a few macros for switching the background.
+
+\startmode[defaultmode]
+\define\lecback{\relax}
+\define\titback{\relax}
+\define\picback{\relax}
+\define\noback{\relax}
+\stopmode
+
+%D The rest is the demo section.
+
+\protect
+\stopmodule
+
+\doifnotmode{demo}{\endinput}
+
+\setvariables [taspresent]
+ [author={Groucho Marx},
+ title={Marriage the Chief Cause of Divorce}]
+
+\starttext
+
+\Maketitle
+
+\Slidetitle{Text}
+
+\lecback
+
+Thus, I came to the conclusion that the designer of a new
+system must not only be the implementer and first
+large||scale user; the designer should also write the first
+user manual.
+
+The separation of any of these four components would have
+hurt \TeX\ significantly. If I had not participated fully in
+all these activities, literally hundreds of improvements
+would never have been made, because I would never have
+thought of them or perceived why they were important.
+
+But a system cannot be successful if it is too strongly
+influenced by a single person. Once the initial design is
+complete and fairly robust, the real test begins as people
+with many different viewpoints undertake their own
+experiments.
+
+\Slidetitle{Itemization}
+
+\startitemize[1]
+\item Thus, I came to the conclusion that the designer of a new
+ system
+\item must not only be the implementer and first
+ large||scale user;
+\item the designer should also write the first
+ user manual.
+\item The separation of any of these four components would have
+ hurt \TeX\ significantly.
+\stopitemize
+
+\Slidetitle{Numbered Itemization}
+
+\startitemize[n]
+\item Thus, I came to the conclusion that the designer of a new
+ system
+\item must not only be the implementer and first
+ large||scale user;
+\item the designer should also write the first
+ user manual.
+\item The separation of any of these four components would have
+ hurt \TeX\ significantly.
+\stopitemize
+
+\Slidetitle{Picture in Horizontal Mode}
+
+\PicHoriz[hor][height=\NormalHeight]
+
+\page
+
+\picback
+
+\PicVert[vert][width=\NormalWidth]{Picture in \\ Vertical Mode}
+
+\page
+
+\CircVert[scale=22,x=23,y=25][vert][width=\NormalWidth]{Circle in \\ Vertical Mode}
+
+\page
+
+\ArrowVert[direction=90,x=7,y=23][vert][width=\NormalWidth]{Arrow in \\ Vertical Mode}
+
+\Slidetitle{Red Circle}
+
+\lecback
+
+\CircHoriz[scale=40,x=120,y=80][hor][height=\NormalHeight]
+
+\Slidetitle{Red Arrow}
+
+\ArrowHoriz[direction=135,x=105,y=15][hor][height=\NormalHeight]
+
+\Slidetitle{A MetaFun graphic}
+
+\placefigure[here]{none}{%
+\startMPcode
+pickup pencircle scaled 4pt ;
+draw unitsquare xyscaled (5cm,5cm) withcolor red ;
+\stopMPcode
+}
+
+\Slidetitle{Some Code Snippets}
+
+To set up a horizontal picture, simply type:
+
+\startTEX
+\PicHoriz[hor][height=\Normalheight]
+\stopTEX
+
+\blank[line]
+
+For vertical pictures:
+
+\startTEX
+\PicVert[vert][width=\NormalWidth]%
+{Text placed \\ opposite picture}
+\stopTEX
+
+\Slidetitle{Math}
+
+Since I know nothing about math, this example is copied from the wiki:
+
+\startformula
+ f(x) = \startmathcases
+ \NC x, \NC if $0 \le x \le \frac12$ \NR
+ \NC 1-x ,\NC if $\frac12 \le x \le 1$ \NR
+\stopmathcases
+\stopformula
+
+\Slidetitle{Your Own Ideas?}
+
+\null
+
+\vfill
+
+\midaligned{\tfd Go \color[red]{here!}}
+
+\vfill
+
+\null
+
+\page
+
+\null
+
+\stoptext
diff --git a/Master/texmf-dist/tex/context/third/taspresent/t-titleframe.tex b/Master/texmf-dist/tex/context/third/taspresent/t-titleframe.tex
new file mode 100644
index 00000000000..b3df934da77
--- /dev/null
+++ b/Master/texmf-dist/tex/context/third/taspresent/t-titleframe.tex
@@ -0,0 +1,158 @@
+%D \module
+%D [ file=t-titleframe,
+%D version=2007.12.20,
+%D title=\CONTEXT\ Style File,
+%D subtitle=Presentation Module blackblue,
+%D author=Thomas A. Schmitz,
+%D date=\currentdate,
+%D copyright={Thomas A. Schmitz}]
+%C
+%C Copyright 2007 Thomas A. Schmitz.
+%C This file may be distributed under the GNU General Public License v. 2.0.
+
+%D This file provides the \quotation{titleframe} 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{loading}{module titleframe}
+
+\startmodule[titleframe]
+
+\unprotect
+
+%D The taspresentation module provides a skeleton into which different styles
+%D can be hooked. It uses a number of variables and macros which have to be set
+%D beforehand. Some parts are optional. We begin with the necessary definitions:
+
+%D We start colors:
+
+\setupcolors[state=start]
+
+%D These macros are used for placing figures/pictures:
+
+\define\NormalHeight{\textheight}
+\define\NormalWidth{.476\textwidth}
+\define\PictureFrameHeight{\textheight}
+\define\PictureFrameWidth{.476\textwidth}
+
+%D The page layout:
+
+\setuplayout [width=fit,
+ margin=0cm,
+ height=fit,
+ header=2.2cm,
+ footer=1cm,
+ topspace=.6cm,
+ backspace=1cm,
+ location=singlesided]
+
+%D The macro for typesetting the Slidetitle; this is adapted from a sample
+%D document that Brooks Moses published on the wiki:
+
+\definelayer[slidetitle]
+ [width=\paperwidth,
+ height=\paperheight,
+ x=10mm,
+ y=2mm]
+
+\define[1]\Slidetitle{\page\setlayer[slidetitle]%
+ {\framed[corner=round,background=color,backgroundcolor=myred,frame=off,width=\textwidth,height=2.1cm,offset=0pt,top=\vss,bottom=\vss]{\switchtobodyfont[\Titlesize]\color[background]{#1}}}}
+
+%D The macro \tex{Maketitle} produces a default title page with the author, the
+%D title of the presentation, and the date. Using it is not mandatory.
+
+\define\Maketitle{%
+\titback
+\null
+\vfill
+\framed[corner=round,background=color,backgroundcolor=myred,frame=off,width=\textwidth,height=.75\textheight,top=\vss,bottom=\vss,align=middle]{\switchtobodyfont[\Titlesize]\color[background]{\getvariable{taspresent}{title}}\switchtobodyfont[\Normalsize]\blank[line]\color[background]{\getvariable{taspresent}{author}\blank[2*line]\currentdate}}
+\vfill
+\null}
+
+%D The following parts are optional; if you don't use backgrounds and are
+%D content with CONTEXT's default itemization, you don't have to set these
+%D macros.
+
+%D We define our colors:
+
+\definecolor [background] [s=.9]
+\definecolor [darkgray] [s=.3]
+\definecolor [lightgray] [s=.7]
+\definecolor [myred] [r=.5]
+\definecolor [Item] [r=.5]
+
+%D We let Metapost calculate the background:
+
+\startuniqueMPgraphic{slide}
+StartPage ;
+fill Page withcolor \MPcolor{background} ;
+StopPage ;
+\stopuniqueMPgraphic
+
+\startuseMPgraphic{counter}
+StartPage ;
+numeric a ;
+numeric b ;
+b = PaperWidth/2 - NOfPages * 2.5pt ;
+a = 7mm ;
+% z1 = (0,0) ;
+% z2 = (x1+2pt,y1+a) ;
+% numeric a; a=.5cm ;
+pickup pencircle scaled 3pt ;
+for i := 1 upto NOfPages:
+ path p ;
+ path q ;
+ p = (0,5mm) -- (1mm,11mm) ;
+ p := p shifted (b,0) ;
+ q = (-8mm,5mm) -- (0,11mm) ;
+ q := q shifted (b,0) ;
+ if (i mod 5<>0):
+ draw p shifted (i*5pt,0pt) withcolor \MPcolor{lightgray} ;
+ if (i <= PageNumber):
+ draw p shifted (i*5pt,0pt) ;
+ fi ;
+ else:
+ draw q shifted (i*5pt,0pt) withcolor \MPcolor{lightgray} ;
+ if (i <= PageNumber):
+ draw q shifted (i*5pt,0pt) ;
+ fi ;
+ fi ;
+endfor ;
+StopPage ;
+\stopuseMPgraphic
+
+%\setupfootertexts[{\framed[frame=on,framecolor=red,height=9mm,width=\textwidth]{\useMPgraphic{counter}}}]
+%\setupfootertexts[some random text]
+
+%D We define these backgrounds as overlays:
+
+\defineoverlay
+[lecbackground]
+[\useMPgraphic{slide}]
+
+\defineoverlay
+[scratchcounter]
+[\useMPgraphic{counter}]
+
+%D These are shortcuts to switch backgrounds:
+
+\define\lecback{\setuplayout[header=2.2cm]\setupbackgrounds[page][background={lecbackground,scratchcounter,slidetitle}]}
+\define\titback{\setuplayout[header=.5cm]\setupbackgrounds[page][background=lecbackground]}
+\define\picback{\setuplayout[header=.5cm]\setupbackgrounds[page][background={lecbackground,scratchcounter}]}
+\define\noback{\setupbackgrounds[page][background=nobackground]}
+
+%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 The symbol for the first level of itemizations.
+
+\definesymbol[1][\useMPgraphic{ItSquare}]
+\setupitemize[1][color=myred]
+
+\protect
+\stopmodule
+
+\endinput
+