ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Renaud AUBIN <aubin@nibua-r.org>
Subject: Re: Fielstack and Layers for Presentation
Date: Sun, 15 Oct 2006 22:14:37 +0200	[thread overview]
Message-ID: <453296AD.4050904@nibua-r.org> (raw)
In-Reply-To: <4530B80F.3050103@gmx.net>


Hi Peter, all,

>What I can think of is to initialize the random seed value of MP (name?)
>with the same value, every time before you fill a new layer. Another way
>would be to add the 'random' parameters to your FrameTitle macro. But I
>don't have much experience with random stuff, so there maybe better ways.
>
>  
>
I use now

\startsetups[buf1]
\startMPinclusions
randomseed:=1;
\stopMPinclusions
  \FrameTitle{Overlay1}
  \StartFrame[width=.75\textwidth]
    This is the first funny frame !
  \StopFrame
\stopsetups

\startsetups[buf2]
\startMPinclusions
randomseed:=2;
\stopMPinclusions
  \FrameTitle{Overlay2}
  \StartFrame[width=.75\textwidth]
    This is the second funny frame !
  \StopFrame
\stopsetups

\startsetups[buf3]
\startMPinclusions
randomseed:=3;
\stopMPinclusions
  \FrameTitle{Overlay3}
  \StartFrame[width=.75\textwidth]
    This is the third funny frame !
  \StopFrame
\stopsetups

and \setups{...}

  reply	other threads:[~2006-10-15 20:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-12 17:58 Renaud AUBIN
2006-10-13 13:38 ` Peter Rolf
2006-10-13 21:54 ` Renaud AUBIN
2006-10-14 10:12   ` Peter Rolf
2006-10-15 20:14     ` Renaud AUBIN [this message]
2006-10-14 17:40   ` Hans Hagen

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=453296AD.4050904@nibua-r.org \
    --to=aubin@nibua-r.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).