15 Feb
2020
15 Feb
'20
2:56 p.m.
\structureuservariable – this is really cool. Thanks a lot Wolfgang. juh Am 14.02.20 um 19:53 schrieb Wolfgang Schuster:
\setupexternalfigures[location=default]
\defineoverlay [SlideBackground] [\doifsomething {\structureuservariable{background}} {\externalfigure[\structureuservariable{background}][factor=max]}]
\setuppapersize[S6] \setupbackgrounds[page][background=SlideBackground]
%\setuppapersize[S6][S6,oversized] %\setupbackgrounds[paper][background=SlideBackground] %\setuplayout[location=middle]
\definehead[Slide][chapter]
\starttext
\startSlide[title=Cow][background=cow] \dorecurse{3}{\dontleavehmode\page} \stopSlide
\startSlide[title=Hacker][background=hacker] \dorecurse{3}{\dontleavehmode\page} \stopSlide
\stoptext