ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mari Voipio <mari.voipio@iki.fi>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Learning layers: setlayer vs. setlayerframed
Date: Wed, 26 Oct 2011 10:42:38 +0300	[thread overview]
Message-ID: <CAGbDsP2fBsDfWs+_McscM1+-wTsaEhFNKxUhR11fr23wxm3yKg@mail.gmail.com> (raw)

Hello!

Based on a discussion with Hans at the ConTeXt meeting I'm starting to
migrate my book covers from CorelDraw to ConTeXt using layers.

After a bit of experimenting I managed to achieve my first layer, but
looking at the examples on the wiki page, I'm wondering: what's the
difference between \setlayer and \setlayerframed.

Is the latter a subset of the first and possibly equal to

\setlayer	[name]	% name of the layer
{\framed[...=...,...=...]{LAYER}}  % the actual contents of the layer

or something else?

And which one should I use, anyway? I need to put a bit of text and a
bit of graphics onto the pages, but nothing complicated, just "boxes".
But as I'm starting from zero, it would be nice to know what's the
smartest way of doing it (on the moment).

I'm running the newest or at least almost newest beta of ConTeXt and
can update if needed.


Thanks,

Mari
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


             reply	other threads:[~2011-10-26  7:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-26  7:42 Mari Voipio [this message]
2011-10-26  7:57 ` Wolfgang Schuster

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=CAGbDsP2fBsDfWs+_McscM1+-wTsaEhFNKxUhR11fr23wxm3yKg@mail.gmail.com \
    --to=mari.voipio@iki.fi \
    --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).