\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

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to