ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: juh <juh+ntg-context@mailbox.org>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Repeat backgrounds on slides
Date: Thu, 13 Feb 2020 09:19:10 +0100	[thread overview]
Message-ID: <20200213081910.GA11688@sokrates> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1240 bytes --]

Hi all,

I am a little bit confused as I never had this problem, although I often use
backgrounds and layers.

\definelayer[bg:hs2020-mond]
[x=0, y=0, width=\paperwidth, height=\paperheight]

\setlayer[bg:hs2020-mond]
[x=0mm, y=0mm]
{\externalfigure[background.jpg][height=\paperwidth]}

Ususally I call the background after a head command like \starttitle or when I
create slides like this 

\startslide[title={foobar}]
\setupbackgrounds[page][background=bg:hs2020-mond]
...
\stopslide

The problem is that I cannot call the background on another slide.
It seems as if the layer is gone after the first usage.

So in this example the second bg:hs2020-mond would not print.

\startslide[title={foobar}]
\setupbackgrounds[page][background=bg:hs2020-mond]
...
\stopslide

\startslide[title={foobar}]
\setupbackgrounds[page][background=bg:other]
...
\stopslide

\startslide[title={foobar}]
\setupbackgrounds[page][background=bg:hs2020-mond]
...
\stopslide

TIA
juh

-- 
Autoren-Homepage: ......... http://literatur.hasecke.com
Satiren & Essays: ......... http://www.sudelbuch.de
Privater Blog: ............ http://www.hasecke.eu
Netzliteratur-Projekt: .... http://www.generationenprojekt.de



[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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-13  8:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-13  8:19 juh [this message]
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

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=20200213081910.GA11688@sokrates \
    --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).