ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Jan U. Hasecke" <juh+ntg-context@mailbox.org>
To: ntg-context@ntg.nl
Subject: Re: Repeat backgrounds on slides
Date: Sat, 15 Feb 2020 14:56:59 +0100	[thread overview]
Message-ID: <03de146a-8727-53fc-b2c1-2c8402930408@mailbox.org> (raw)
In-Reply-To: <20200214195343.d5d3f92421f5a4f01dfa8ba1@gmail.com>

\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	other threads:[~2020-02-15 13:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-13  8:19 juh
2020-02-13 19:39 ` Wolfgang Schuster
2020-02-14  8:10   ` Jan U. Hasecke
2020-02-14 18:53     ` Wolfgang Schuster
2020-02-15 13:56       ` Jan U. Hasecke [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=03de146a-8727-53fc-b2c1-2c8402930408@mailbox.org \
    --to=juh+ntg-context@mailbox.org \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).