summaryrefslogtreecommitdiff
path: root/macros/context/contrib/context-simpleslides/tex/context/third/simpleslides/s-simpleslides-Sunrise.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/context/contrib/context-simpleslides/tex/context/third/simpleslides/s-simpleslides-Sunrise.tex')
-rw-r--r--macros/context/contrib/context-simpleslides/tex/context/third/simpleslides/s-simpleslides-Sunrise.tex44
1 files changed, 24 insertions, 20 deletions
diff --git a/macros/context/contrib/context-simpleslides/tex/context/third/simpleslides/s-simpleslides-Sunrise.tex b/macros/context/contrib/context-simpleslides/tex/context/third/simpleslides/s-simpleslides-Sunrise.tex
index 756b981aec..46798d07f8 100644
--- a/macros/context/contrib/context-simpleslides/tex/context/third/simpleslides/s-simpleslides-Sunrise.tex
+++ b/macros/context/contrib/context-simpleslides/tex/context/third/simpleslides/s-simpleslides-Sunrise.tex
@@ -1,6 +1,6 @@
%D \module
%D [ file=simpleslides-s-Sunrise,
-%D version=2009.03.30
+%D version=2022.07.13,
%D title=\CONTEXT\ Style File,
%D subtitle=Presentation Module Sunrise
%D author=Aditya Mahajan and Thomas A. Schmitz,
@@ -26,10 +26,10 @@
\setuplayout [width=fit,
margin=0cm,
height=fit,
- header=2.75cm,
- footer=1.5cm,
+ header=2.75cm,
+ footer=1.5cm,
footerdistance=0.4cm,
- topspace=0cm,
+ topspace=0cm,
backspace=1cm,
location=singlesided]
@@ -41,6 +41,11 @@
[simpleslides:layer:slidetitle]
[x=10mm]
+%D Some strings are configurable.
+
+\setuplabeltext [\s!en] [of=of]
+\setuplabeltext [\s!de] [of=von]
+
%D These macros are used for placing figures/pictures:
\define\NormalHeight {\textheight}
@@ -57,9 +62,9 @@
%D We let \METAPOST\ calculate the background:
-%D Both horizontal and vertical group share this part of the background.
+%D Both horizontal and vertical group share this part of the background.
-\startuseMPgraphic{simpleslides:MP:common}
+\startuseMPgraphic{simpleslides:MP:common}
save a, b ;
numeric a; a=2.1cm ;
numeric b; b=1.5cm ;
@@ -97,7 +102,7 @@ fill p[2] withcolor \MPcolor{simpleslides:backgroundcolor} ;
fill p[3] withcolor \MPcolor{simpleslides:backgroundcolor} ;
fill p[4] withcolor \MPcolor{simpleslides:backgroundcolor} ;
fill p[5] withcolor \MPcolor{simpleslides:contrastcolor} ;
-\stopuseMPgraphic
+\stopuseMPgraphic
\startuniqueMPgraphic{simpleslides:MP:vertical}
StartPage ;
@@ -130,17 +135,17 @@ StopPage ;
%D We define these backgrounds as overlays:
-\defineoverlay
- [simpleslides:background:title]
- [\useMPgraphic{simpleslides:MP:horizontal}]
+\defineoverlay
+ [simpleslides:background:title]
+ [\useMPgraphic{simpleslides:MP:horizontal}]
-\defineoverlay
- [simpleslides:background:horizontal]
- [\useMPgraphic{simpleslides:MP:horizontal}]
+\defineoverlay
+ [simpleslides:background:horizontal]
+ [\useMPgraphic{simpleslides:MP:horizontal}]
-\defineoverlay
- [simpleslides:background:vertical]
- [\useMPgraphic{simpleslides:MP:vertical}]
+\defineoverlay
+ [simpleslides:background:vertical]
+ [\useMPgraphic{simpleslides:MP:vertical}]
%D We define the footer
@@ -152,7 +157,7 @@ StopPage ;
\c!height=1cm,
\c!width=\textwidth]
{\simpleslidestitleparameter{title}
- \hfill \pagenumber\ of \lastpage}}]
+ \hfill \pagenumber\ \labeltext{of} \lastpage}}]
%D We want the title to placed in a framed box. We redefine all the keys of
%D \type{\setupTitle}, so that the module is easier to maintain.
@@ -174,7 +179,7 @@ StopPage ;
\c!title\c!align=,%\v!middle,
\c!author\c!style=,
\c!author\c!color=,
- \c!author\c!align=,%\v!middle,
+ \c!author\c!align=,%\v!middle,
\c!date\c!style=,
\c!date\c!color=,
\c!date\c!align=,%\v!middle,
@@ -193,7 +198,7 @@ StopPage ;
\c!color={simpleslides:contrastcolor}]
-%D The symbol for the first level of itemizations.
+%D The symbol for the first level of itemizations.
\definesymbol[1][\useMPgraphic{simpleslides:itemize:square}]
@@ -203,4 +208,3 @@ StopPage ;
\stopmodule
\endinput
-