ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Cc: "Michel van Ast" <Michel@smartxt.nl>, ntg-context@ntg.nl
Subject: Re: mp on odd and even
Date: Mon, 20 May 2002 09:36:45 +0200	[thread overview]
Message-ID: <5.1.0.14.1.20020520093148.0218bae0@server-1> (raw)
In-Reply-To: <200209192127.11007.angerweit@gmx.net>

At 09:27 PM 9/19/2002 +0200, Henning Hraban Ramm wrote:
>Am Donnerstag, 19. September 2002 10:41 schrieb Michel van Ast:
> > In the lay-out of one of my styles I use a MetaPost-graphic. How can I
> > get this "graphic" placed on odd pages on the right and on even pages on
> > the left? Is it something like:
>
>Use \definelogo, see manual chapter page layout.
>You can define different logos or different placements for right and left
>pages.

It depends on where the decision is made:

(1) when the page ornaments are added: logo space can be used indeed, as 
well as:

\setupbackgrounds[leftpage][...]

and alike

(2) when the decisions are to be made during the running text, there is a 
macro:

   \doifrightpageelse {} {}

but in order to get the right decission, one also need to put a signal with

   \signalrightpage

beware: since the signal introduces a node in the mvl, you need to put it 
there where it cannot hurt the spacing and also make sure that it does not 
get loose from the thing related to your decision; also, there is a one-one 
match of \doif.. and \signal... (so don't let them get out of sync!)

Hans

-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------


      reply	other threads:[~2002-05-20  7:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-19  8:41 Michel van Ast
2002-09-19 19:27 ` Henning Hraban Ramm
2002-05-20  7:36   ` Hans Hagen [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=5.1.0.14.1.20020520093148.0218bae0@server-1 \
    --to=pragma@wxs.nl \
    --cc=Michel@smartxt.nl \
    --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).